JDK-6521434 : OGL: enable sun.java2d.opengl.lcdshader by default
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 6
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2007-02-05
  • Updated: 2017-05-16
  • Resolved: 2011-05-17
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6 JDK 7 Other
6u4Fixed 7 b10Fixed OpenJDK6Resolved
Related Reports
Relates :  
In 6274813, we introduced OpenGL acceleration of LCD-optimized text.  At the time
there were some driver bugs that prevented us from enabling this support by default,
so we provided a system property (sun.java2d.opengl.lcdshader, disabled by default)
that allowed users to manually enable this feature.  Since that time, the related
driver bugs have been fixed, and performance keeps getting better with newer
generations of graphics hardware.  Therefore, we propose to enable this flag by
default when the OGL pipeline is also enabled.

EVALUATION Make -Dsun.java2d.opengl.lcdshader=true the default (when -Dsun.java2d.opengl=[T,t]rue has also been specified). Developers can manually override this behavior by specifying -Dsun.java2d.opengl.lcdshader=false on the command line, in case of future driver issues (not likely).