< prev index next >

src/java.desktop/share/native/common/java2d/opengl/OGLContext.c

Print this page

        

@@ -911,10 +911,14 @@
             if (instr > 512) {
                 *caps |= CAPS_PS30;
             }
         }
     }
+    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) {
             vcap = OGLC_VENDOR_ATI;
         } else if (strncmp(vendor, "NVIDIA", 6) == 0) {
< prev index next >