comparison 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
comparison
equal deleted inserted replaced
7:c16c0e32dcdf 8:7c033a9ae6f9
909 if (instr > 512) { 909 if (instr > 512) {
910 *caps |= CAPS_PS30; 910 *caps |= CAPS_PS30;
911 } 911 }
912 } 912 }
913 } 913 }
914 if (OGLContext_IsExtensionAvailable(e, "GL_NV_texture_barrier")) {
915 *caps |= CAPS_EXT_TEXBARRIER;
916 }
917
914 // stuff vendor descriptor in the upper bits of the caps 918 // stuff vendor descriptor in the upper bits of the caps
915 if (vendor != NULL) { 919 if (vendor != NULL) {
916 if (strncmp(vendor, "ATI", 3) == 0) { 920 if (strncmp(vendor, "ATI", 3) == 0) {
917 vcap = OGLC_VENDOR_ATI; 921 vcap = OGLC_VENDOR_ATI;
918 } else if (strncmp(vendor, "NVIDIA", 6) == 0) { 922 } else if (strncmp(vendor, "NVIDIA", 6) == 0) {