Hi Keith,

Is this not the same issue as we discussed on the javagaming.org
forum recently?
http://www.javagaming.org/forums/index.php?
topic=14092.msg113696#msg113696

The sun.java2d.opengl system property wasn't in the "secure" list for
JRE 5, but was added to the list for JRE 6.  Try again with the
latest JRE 6 and see if it works there.

Also, I don't think you want this in your JNLP file:
  java-vm-args="-sun.java2d.opengl=true"

First, it's missing the "-D", and second, the "property" tag is the
appropriate place for passing system properties:
http://download.java.net/jdk6/docs/technotes/guides/javaws/
developersguide/syntax.html#resources

Thanks,
Chris



On Aug 14, 2006, at 1:35 AM, [EMAIL PROTECTED] wrote:
Hi,

I'm programming a Java2D game that I want to deploy on Windows XP
computers that unfortunately have directdraw disabled.  I still
need/want hardware acceleration through OpenGL.

[b]Problem:[/b] The Java2D OGL pipeline isn't working, its
reverting to software mode.  This happens even though I can run
JOGL apps with high performance.  Why won't the Java2D OGL pipeline
work even though JOGL apps work fine?  These computers use JVM 1.5
update 6.

This is the game I'm working on - http://www.freewebs.com/
commanderkeith/STGOpenGL.jnlp

PS: I'm pretty sure my jnlp file turns on J2D's OGL pipeline, but
maybe I've done it wrong.  This is how I've enabled OGL in the jnlp
above:

<resources>
    <j2se href="http://java.sun.com/products/autodl/j2se";
version="1.5+" java-vm-args="-sun.java2d.opengl=true"/>
    <property name="sun.java2d.opengl" value="true"/>
    <property name="sun.java2d.noddraw" value="true"/>
    <jar href="STG.jar"/>
    <jar href="substance.jar"/>
</resources>

Many thanks,
Keith
[Message sent by forum member 'commanderkeith' (commanderkeith)]

http://forums.java.net/jive/thread.jspa?messageID=142543

======================================================================
=====
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".

Reply via email to