On Nov 30, 2008, at 2:42 PM, [EMAIL PROTECTED] wrote:
There is no pixel-to-pixel correspondence when Qt
OpenGL pipeline is enabled (I have taken two
screenshots, there is only a subtle difference). With
good enough drivers (like NVidia on Windows for
example) usage of hardware acceleration improves
performance about 4.4 time for my configuration
(7600GS AGP is rather old). So having the option for
usage of OpenGL driver's capabilities is a very good
thing. And why there is no such option for Java2D?
Hmm, I am not from Sun so I don't know why Java2D doesn't offer such
a quick&dirty mode.
It would probably quite useful for games - however games often use
pre-rendered images anyway.
However to be honest I was quite disappointed about the quality QT
+OpenGL shows on your screenshot.
It was my belief that modern hardware (like your GF7) in combination
with latest drivers would behave much better from what I have seen
from 5-year ago hardware, but still quality isn't reliable.
Its ok for games, but would you really build a user-interface on top
of that, where you have a lot of tiny lines and small primitives?
Yeah, we've experimented with native multisampling (in the OGL-based
Java 2D pipeline, mainly) periodically over the past 5 or 6 years. In
the earlier days, both performance and quality of hardware
multisampling were very poor and as such it wasn't worth considering.
Since then, performance has improved quite a bit, but as Clemens said,
quality is still quite poor by our standards, even with e.g. 8x
multisampling. The quality of hardware multisampling has generally
been too poor to consider exposing even a "quick-and-dirty" mode,
although that would make an interesting OpenJDK research project if
anyone's up for the challenge.
In our hardware accelerated pipelines, our first priority was to
provide antialiased rendering quality in line with what our existing
software renders produce. Since then, we've started to use pixel
shaders to provide our own high-quality antialiased fast paths for
certain primitives, such as lines and rectangles, and that's just the
beginning. For example, see:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6690659
Thanks,
Chris
===========================================================================
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".