diff src/share/native/sun/java2d/opengl/OGLContext.c @ 11015:5b49ef2244cf

8087201: OGL: rendering of lcd text is slow Reviewed-by: serb, prr
author bae
date Thu, 09 Jul 2015 18:28:54 +0300
parents cc67fbf19cfb
children
line wrap: on
line diff
--- a/src/share/native/sun/java2d/opengl/OGLContext.c	Thu Jul 09 14:51:17 2015 +0300
+++ b/src/share/native/sun/java2d/opengl/OGLContext.c	Thu Jul 09 18:28:54 2015 +0300
@@ -911,6 +911,10 @@
             }
         }
     }
+    if (OGLContext_IsExtensionAvailable(e, "GL_NV_texture_barrier")) {
+        *caps |= CAPS_EXT_TEXBARRIER;
+    }
+
     // stuff vendor descriptor in the upper bits of the caps
     if (vendor != NULL) {
         if (strncmp(vendor, "ATI", 3) == 0) {