Howto enable shader-subpixel-aa when using the OpenGL pipeline?

Hi there,

In mustang-b77 a very interesting new feature (well at least a complex one) was introduced: subpixel-aa glyphs rendered by pixel-shaders :slight_smile:
However the implementation is disabled by default and the rfe-report just mentions that it can be enabled using a system-property.
Does anybody know how this property is called?

Thank you in advance, lg Clemens

Sorry, I forgot to update the bug report with the name of the system property. It is:
-Dsun.java2d.opengl.lcdshader=true

For reference, the bug report includes more details on this enhancement:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6274813

It is currently disabled by default because of a couple driver bugs (artifacts on ATI, poor performance on Nvidia). Both of those driver bugs have been fixed but not in public releases. Once they’re available and publicly available we will likely turn this feature on by default (when the OGL pipeline is enabled).

We’ve been experimenting with the use of fragment shaders elsewhere in the OGL pipeline. I’ve got ConvolveOp and RescaleOp working, but not sure when I’ll have the chance to get these changes integrated. (I’ve got a vacation approaching followed by JavaOne…)

Chris