[OpenJDK 2D-Dev] OpenGL Pipeline

neugens.limasoftware@gmail.com neugens.limasoftware at gmail.com
Tue Jun 7 10:30:56 UTC 2011


I don't get any output on jdk 6 (fedora 15 default one) for some reason.

About the ogl pipeline, when I implemented one (gles - albeit more basic than what sun has of course) for aicas I was stuck on a fundamental problem: frequent updates to the drawing surface are killing performance more than caching the rendering ops and drawing the "frame" from scratch.

In my opinion is a fundamental design problem, and it's true that some drivers address this better than others when some specific extension is available, but in general all consumer hw is reliably sucking at this :)

Mario
-- 
Sent from HTC Desire...

pgp key: http://subkeys.pgp.net/ PGP Key ID: 80F240CF
Fingerprint: BA39 9666 94EC 8B73 27FA  FC7C 4086 63E3 80F2 40CF

http://www.icedrobot.org

Proud GNU Classpath developer: http://www.classpath.org/
Read About us at: http://planet.classpath.org
OpenJDK: http://openjdk.java.net/projects/caciocavallo/

Please, support open standards:
http://endsoftpatents.org/


----- Reply message -----
Da: "Clemens Eisserer" <linuxhippy at gmail.com>
Data: mar, giu 7, 2011 11:55
Oggetto: [OpenJDK 2D-Dev] OpenGL Pipeline
A: "2d-dev" <2d-dev at openjdk.java.net>

Forgot to mention, the version included in openjdk6 is really old - I
recommend JDK7.

- Clemens

2011/6/7 Clemens Eisserer <linuxhippy at gmail.com>:
> Hi Mario,
>
> Unfourtunatly the OpenGL pipeline suffers a lot from broken drivers.
> Drivers seem to be optimized a lot for the "game"-case, where a frame
> is repainted over and over again.
>
> I remember I read somewhere in nvidia's release-notes that some bugs
> related to the opengl backend have been fixed in a recent nvidia
> driver version,
> maybe a driver update helps?
>
>
>> Enabling it with -Dsun.java2d.xrender=True doesn't produce any output,
>> although things appear to be faster (it may be a psychological thing
>> though, didn't do any benchmark :)
>
> When True is written with a capital 'T', you should get something
> like: "XRender pipeline enabled"
>
> lg
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/2d-dev/attachments/20110607/bc34df50/attachment.html>


More information about the 2d-dev mailing list