(Answer) (Category) FAQ-O-Matic : (Category) Macintosh OS X :
Apple's JDK has hwaccel support.
Paul Furbacher [TeamB] writes:

I thought that the following explanation offered by an Apple Java engineer, Gerard Ziemski, might be of general interest to this newsgroup. The indented text is a full quote of his message to the Java-Dev list.

        Date: Tue, 26 Feb 2002 15:30:30 -0800
        Subject: hwaccel notes
hi guys, Here are few notes I wrote in response to your questions about hwaccel. Q: What does com.apple.hwaccel do? A: You can use it to turn hwaccel off for all machines, by setting it to false. If the option is set to true, which is the default, you still have to explicitly define which configurations you want to support, see com.apple.hwaccellist. Note: there is currently no mechanism that would let you turn hwaccel on for all configurations. Q: Why did we decide to use com.apple.hwaccellist? A: The hwaccel mechanism is implemented on top of OpenGL. There are OpenGL bugs that are specific to only certain configurations. We needed a mechanism that would let us control, on per video graphics card, whether to turn hwaccel on or off. If you look in ~JavaVM.framework/Versions/1.3.1/Home/lib you will notice a glconfigurationlist.properties file. In there, we list all the configurations for which we think hwaccel can be turned on. Right now the list doesn't contain any active configurations, the file actually has some of them listed, but they all are commented out. However, in the future, when we decide to turn hwaccel on by default, this will be the list containing the "blessed" configurations. You, as the developer, will be responsible for deciding if you want to support more configuration than listed by us in that file. The final list of supported configuations is the union of those listed in glconfigurationlist.properties file and those listed by you using the com.apple.hwaccellist property. Note: there is currently no mechanism that would let you turn hwaccel off for any of those configurations that are listed in glconfigurationlist.properties. Q: What is hwaccel_info_tool? A: hwaccel_info_tool is a small command line tool that you can use to find out the name of your configuration for the purposes of adding it to the hwaccellist. Q: Which Macs support hwaccel? A: The very first requirement is that the OpenGL must be supported. Second, at this point of time it is safe to say that all the macs with at least 16Meg of vram are supported. The macs with only 8Meg of vram, will work fine in thousands of colors mode. If you turn on millions of colors, you will quickly run out of vram and depending on the size of a window, we will have to turn it off if the size becomes too big. You should be free to experiment with hwaccel and any new video graphics cards. In our code we have extensive error checking mechanism, which employed with some heuristic in our code, determines when we can use hwaccel. If for some reason we determine that we can't use hwaccel, we will just turn it off on the fly. Q: How do I tell whether hwaccel is on or off? A: The easiest way to tell whether hwaccel is on or off is by noticing if the grow box of the window is drawn or not. If the hwaccel is off the grwbox will be visible. If the hwaccel is on the growbox will not be visible. A good example of when bugs become a feature ;-) Someone suggested that we come up with a Java section in "System Preferences" for controlling Java apps that would include such things as hwaccel, swing options, hotspot memory heap size etc. I personally think this is a terrific idea, which, in fact we thought of doing some time ago. Please remember that you can file bugs if you want to see new features or some aspects of our implementation mechanism changed. Please play around with hwaccel and file any bugs you will run into. cheers

2002-May-27 7:59am gyles19@visi.com
[Append to This Answer]
2002-May-27 7:59am
Previous: (Category) Installation
This document is: http://www.visi.com/~gyles19/cgi-bin/fom.cgi?file=359
[Search] [Appearance]
This is a Faq-O-Matic 2.709.
This FAQ administered by gyles19@visi.com.

Other JBuilder Links

Java Community
Java Tools
Code Central
JB OpenTools
Community
Recent
Threads
Borland Chat
Chat FAQ
Feature Matrices
3.0 |  3.5 |  4.0
5.0 |  6.0 |  7.0
Shop for
JBuilder
JBuilder
Downloads
and reg keys
Report Piracy
Online Manuals
4.0 |  5.0 |  6.0
7.0
Borland
DevSupport's
Bug/RFE Form

Quality Central Client
JB Patches &
Updates
JBuilder FAQs TIs
JBuilder
Newsgroups
Tamaracka's
News Archive
Mr. Haki's
JBuilder Machine
JGuru's
JBuilder FAQ
Sun's Bug
Parade
Netring Home - About - Privacy
The
JBuilder Netring Logo
The Borland JBuilder Netring by JBuilder FAQ-O-Matic
[ Join Now | List Sites | Random | << Prev | Next >> ]
[ Previous 5 Sites | Skip Previous | Skip Next | Next 5 Sites ]