Hi,
On Jun 8, 2006, at 5:58 PM, [EMAIL PROTECTED] wrote:
Hi,
I read the article "Java2D/JOGL Interoperability" by Chris
Campbell at
http://weblogs.java.net/blog/campbell/archive/2005/09/
java2djogl_inte_1.html
I use Mustang b86 on Windows XP. Because Mustang uses DirectX for
hardware acceleration on Windows, if use JOGL's GLJPanel on
Windows, will the DirectX pipeline conflict with the OpenGL
pipeline? Does the efficiency of the OpenGL pipeline become slower?
Good questions. There are a couple distinct answers here...
When the OGL-based Java2D pipeline is enabled via -
Dsun.java2d.opengl=true, we will implicitly disable any use of
DirectX by Java2D, so there's nothing to worry about in this scenario.
When using JOGL, you should always at least use -
Dsun.java2d.noddraw=true on Windows to disable the use of DirectX,
since OpenGL and DirectDraw/Direct3D do not play well together.
Alternatively, in Mustang and beyond you can use -
Dsun.java2d.opengl=true to enable the Java2D/JOGL interoperability
layer, which will give you all the performance benefits that I
discussed in that blog entry.
Does this make sense?
Thanks,
Chris
[Message sent by forum member 'ylzhao' (ylzhao)]
http://forums.java.net/jive/thread.jspa?messageID=121213
======================================================================
=====
To unsubscribe, send email to [EMAIL PROTECTED] and include in
the body
of the message "signoff JAVA2D-INTEREST". For general help, send
email to
[EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".