Lines Matching refs:GR_GL_VER
105 if (version >= GR_GL_VER(3, 2)) { in init()
126 version >= GR_GL_VER(3, 0) || ctxInfo.hasExtension("GL_EXT_unpack_subimage"); in init()
128 version >= GR_GL_VER(3, 0) || ctxInfo.hasExtension("GL_NV_pack_subimage"); in init()
133 fWritePixelsRowBytesSupport = version >= GR_GL_VER(2, 0); in init()
134 fReadPixelsRowBytesSupport = version >= GR_GL_VER(2, 0); in init()
151 fTextureBarrierSupport = version >= GR_GL_VER(4,5) || in init()
161 fSampleLocationsSupport = version >= GR_GL_VER(3,2) || in init()
164 fSampleLocationsSupport = version >= GR_GL_VER(3,1); in init()
172 if (((GR_IS_GR_GL(standard) && version >= GR_GL_VER(4,3)) || in init()
173 (GR_IS_GR_GL_ES(standard) && version >= GR_GL_VER(3,0)) || in init()
186 fUsePrimitiveRestart = version >= GR_GL_VER(3,0); in init()
197 fVertexArrayObjectSupport = version >= GR_GL_VER(3, 0) || in init()
201 fVertexArrayObjectSupport = version >= GR_GL_VER(3, 0) || in init()
204 fVertexArrayObjectSupport = version >= GR_GL_VER(2, 0) || in init()
209 if (GR_IS_GR_GL(standard) && version >= GR_GL_VER(4,3)) { in init()
238 version >= GR_GL_VER(3, 2) || in init()
243 version >= GR_GL_VER(3, 0) || in init()
249 fDrawInstancedSupport = version >= GR_GL_VER(2, 0); in init()
253 if (GR_IS_GR_GL_ES(standard) && version < GR_GL_VER(3, 0)) { in init()
259 if (GR_IS_GR_GL_ES(standard) && ctxInfo.isOverCommandBuffer() && version < GR_GL_VER(3, 0)) { in init()
267 if (version >= GR_GL_VER(3, 0)) { in init()
271 if (version >= GR_GL_VER(3, 0) && ctxInfo.hasExtension("GL_EXT_blend_func_extended")) { in init()
281 if (version >= GR_GL_VER(3, 1) || ctxInfo.hasExtension("GL_ARB_texture_rectangle") || in init()
295 if (version < GR_GL_VER(1, 3) && !ctxInfo.hasExtension("GL_ARB_texture_border_clamp")) { in init()
300 if (version < GR_GL_VER(3, 2) && !ctxInfo.hasExtension("GL_EXT_texture_border_clamp") && in init()
311 if (version >= GR_GL_VER(3,3) || ctxInfo.hasExtension("GL_ARB_texture_swizzle")) { in init()
315 if (version >= GR_GL_VER(3,0)) { in init()
326 if (version >= GR_GL_VER(3,0)) { in init()
340 fClearTextureSupport = (version >= GR_GL_VER(4,4) || in init()
353 fSRGBWriteControl = version >= GR_GL_VER(3, 0) || in init()
382 (version >= GR_GL_VER(3, 3) || in init()
388 shaderCaps->fIntegerSupport = version >= GR_GL_VER(3, 0) && in init()
396 shaderCaps->fShaderDerivativeSupport = version >= GR_GL_VER(3, 0) || in init()
399 shaderCaps->fIntegerSupport = version >= GR_GL_VER(3, 0) && in init()
404 shaderCaps->fShaderDerivativeSupport = version >= GR_GL_VER(2, 0) || in init()
407 shaderCaps->fIntegerSupport = (version >= GR_GL_VER(2, 0)); in init()
427 shaderCaps->fRewriteSwitchStatements = version < GR_GL_VER(2, 0); // introduced in WebGL 2 in init()
459 if (version >= GR_GL_VER(3,0) || in init()
465 if (version >= GR_GL_VER(3, 0) || in init()
487 if (version >= GR_GL_VER(3, 0) || ctxInfo.hasExtension("GL_ARB_map_buffer_range")) { in init()
499 } else if (version >= GR_GL_VER(3, 0) || ctxInfo.hasExtension("GL_EXT_map_buffer_range")) { in init()
512 if (version >= GR_GL_VER(2, 1) || ctxInfo.hasExtension("GL_ARB_pixel_buffer_object") || in init()
519 if (version >= GR_GL_VER(3, 0) || in init()
525 if (version < GR_GL_VER(3, 0)) { in init()
560 fNPOTTextureTileSupport = version >= GR_GL_VER(3,0) || in init()
569 fNPOTTextureTileSupport = version >= GR_GL_VER(2,0); in init()
627 if (version >= GR_GL_VER(3, 0) || in init()
635 fOversizedStencilSupport = version >= GR_GL_VER(3, 0); in init()
640 fOversizedStencilSupport = version >= GR_GL_VER(2, 0); in init()
644 fBaseVertexBaseInstanceSupport = version >= GR_GL_VER(4,2) || in init()
647 fNativeDrawIndirectSupport = version >= GR_GL_VER(4,0) || in init()
649 if (version >= GR_GL_VER(4,3) || ctxInfo.hasExtension("GL_ARB_multi_draw_indirect")) { in init()
653 fDrawRangeElementsSupport = version >= GR_GL_VER(2,0); in init()
664 fNativeDrawIndirectSupport = (version >= GR_GL_VER(3,1)); in init()
669 fDrawRangeElementsSupport = version >= GR_GL_VER(3,0); in init()
680 fDrawRangeElementsSupport = version >= GR_GL_VER(2,0); in init()
695 fSemaphoreSupport = fFenceSyncSupport = version >= GR_GL_VER(2, 0); in init()
698 (version >= GR_GL_VER(3, 2) || ctxInfo.hasExtension("GL_ARB_sync"))) { in init()
702 (version >= GR_GL_VER(3, 0) || ctxInfo.hasExtension("GL_APPLE_sync"))) { in init()
718 fHalfFloatVertexAttributeSupport = (version >= GR_GL_VER(3, 0)); in init()
720 fHalfFloatVertexAttributeSupport = (version >= GR_GL_VER(3, 0)); in init()
723 fHalfFloatVertexAttributeSupport = (version >= GR_GL_VER(2, 0)); in init()
729 fProgramBinarySupport = (version >= GR_GL_VER(4, 1)); in init()
730 fProgramParameterSupport = (version >= GR_GL_VER(4, 1)); in init()
733 (version >= GR_GL_VER(3, 0)) || ctxInfo.hasExtension("GL_OES_get_program_binary"); in init()
734 fProgramParameterSupport = (version >= GR_GL_VER(3, 0)); in init()
744 version >= GR_GL_VER(3,3) || ctxInfo.hasExtension("GL_ARB_sampler_objects"); in init()
746 fSamplerObjectSupport = version >= GR_GL_VER(3,0); in init()
748 fSamplerObjectSupport = version >= GR_GL_VER(2,0); in init()
844 ctxInfo.version() < GR_GL_VER(4,1) && in is_float_fp32()
876 shaderCaps->fFBFetchNeedsCustomOutput = (version >= GR_GL_VER(3, 0)); in initGLSL()
899 shaderCaps->fFBFetchNeedsCustomOutput = (version >= GR_GL_VER(3, 0)); in initGLSL()
947 hasTessellationSupport = version >= GR_GL_VER(4,0) || in initGLSL()
949 } else if (version >= GR_GL_VER(3,2)) { in initGLSL()
1023 shaderCaps->fCanUseDoLoops = version >= GR_GL_VER(2, 0); in initGLSL()
1030 if (ctxInfo.version() >= GR_GL_VER(3,0) || in initFSAASupport()
1046 } else if (ctxInfo.version() >= GR_GL_VER(3,0)) { in initFSAASupport()
1057 if (ctxInfo.version() >= GR_GL_VER(2,0)) { in initFSAASupport()
1103 ctxInfo.version() >= GR_GL_VER(3,0) || in initStencilSupport()
1120 if (ctxInfo.version() >= GR_GL_VER(3,0) || in initStencilSupport()
1126 if (ctxInfo.version() >= GR_GL_VER(2,0)) { in initStencilSupport()
1349 texStorageSupported = version >= GR_GL_VER(4,2) || in initFormatTable()
1353 texStorageSupported = version >= GR_GL_VER(3,0) || in initFormatTable()
1356 texStorageSupported = version >= GR_GL_VER(2,0); in initFormatTable()
1372 (GR_IS_GR_GL(standard) || (GR_IS_GR_GL_ES(standard) && version >= GR_GL_VER(3,0))); in initFormatTable()
1384 if ((GR_IS_GR_GL_ES(standard) && version < GR_GL_VER(3, 0)) || in initFormatTable()
1385 (GR_IS_GR_WEBGL(standard) && version < GR_GL_VER(2, 0))) { in initFormatTable()
1401 if (version >= GR_GL_VER(3,0) || ctxInfo.hasExtension("GL_OES_rgb8_rgba8") || in initFormatTable()
1418 (version >= GR_GL_VER(1, 2) || ctxInfo.hasExtension("GL_EXT_bgra")); in initFormatTable()
1522 r8Support = version >= GR_GL_VER(3, 0) || ctxInfo.hasExtension("GL_ARB_texture_rg"); in initFormatTable()
1524 r8Support = version >= GR_GL_VER(3, 0) || ctxInfo.hasExtension("GL_EXT_texture_rg"); in initFormatTable()
1526 r8Support = ctxInfo.version() >= GR_GL_VER(2, 0); in initFormatTable()
1624 (!fIsCoreProfile || version <= GR_GL_VER(3, 0)); in initFormatTable()
1642 alpha8IsRenderable = ctxInfo.version() >= GR_GL_VER(3, 0) || in initFormatTable()
1940 if (version >= GR_GL_VER(3,0)) { in initFormatTable()
2007 if (version >= GR_GL_VER(4, 2) || ctxInfo.hasExtension("GL_ARB_ES2_compatibility")) { in initFormatTable()
2087 if (version >= GR_GL_VER(3, 0)) { in initFormatTable()
2094 if (version >= GR_GL_VER(3, 0)) { in initFormatTable()
2097 version >= GR_GL_VER(3, 2) || in initFormatTable()
2106 if (version >= GR_GL_VER(2, 0)) { in initFormatTable()
2225 if (version >= GR_GL_VER(3, 0) || ctxInfo.hasExtension("GL_ARB_texture_rg")) { in initFormatTable()
2235 if (version >= GR_GL_VER(3, 0)) { in initFormatTable()
2237 r16FRenderTargetSupport = version >= GR_GL_VER(3, 2) || in initFormatTable()
2242 if (version >= GR_GL_VER(2, 0)) { in initFormatTable()
2407 if (version >= GR_GL_VER(3, 0) || ctxInfo.hasExtension("GL_OES_rgb8_rgba8")) { in initFormatTable()
2467 rg8Support = version >= GR_GL_VER(3, 0) || ctxInfo.hasExtension("GL_ARB_texture_rg"); in initFormatTable()
2469 rg8Support = version >= GR_GL_VER(3, 0) || ctxInfo.hasExtension("GL_EXT_texture_rg"); in initFormatTable()
2471 rg8Support = version >= GR_GL_VER(2, 0); in initFormatTable()
2535 (GR_IS_GR_GL_ES(standard) && version >= GR_GL_VER(3, 0))) { in initFormatTable()
2554 (version >= GR_GL_VER(1, 2) || ctxInfo.hasExtension("GL_EXT_bgra")); in initFormatTable()
2638 if (version >= GR_GL_VER(4, 2)) { in initFormatTable()
2705 if (version >= GR_GL_VER(3, 0)) { in initFormatTable()
2716 if (version >= GR_GL_VER(3, 0) || ctxInfo.hasExtension("GL_EXT_sRGB")) { in initFormatTable()
2720 if (version < GR_GL_VER(3, 0)) { in initFormatTable()
2729 if (version >= GR_GL_VER(2, 0) || ctxInfo.hasExtension("GL_EXT_sRGB") || in initFormatTable()
2734 if (version < GR_GL_VER(2, 0)) { in initFormatTable()
2787 if (GR_IS_GR_GL_ES(standard) && version == GR_GL_VER(2,0)) { in initFormatTable()
2835 if (version >= GR_GL_VER(4, 3) || in initFormatTable()
2840 if (version >= GR_GL_VER(3, 0) || in initFormatTable()
2875 r16Supported = version >= GR_GL_VER(3, 0) || in initFormatTable()
2951 rg16Supported = version >= GR_GL_VER(3, 0) || in initFormatTable()
3017 rgba16Support = version >= GR_GL_VER(3, 0); in initFormatTable()
3089 if (version >= GR_GL_VER(3, 0) || ctxInfo.hasExtension("GL_ARB_texture_float")) { in initFormatTable()
3099 if (version >= GR_GL_VER(3, 0)) { in initFormatTable()
3101 rg16FRenderTargetSupport = version >= GR_GL_VER(3, 2) || in initFormatTable()
3106 if (version >= GR_GL_VER(2, 0)) { in initFormatTable()
3217 (version >= GR_GL_VER(4,2) || in setupSampleCounts()
3219 (GR_IS_GR_GL_ES(standard) && version >= GR_GL_VER(3,0))) { in setupSampleCounts()
3621 if (ctxInfo.isOverCommandBuffer() && ctxInfo.version() >= GR_GL_VER(3,0)) { in applyDriverCorrectnessWorkarounds()
4072 if (ctxInfo.version() >= GR_GL_VER(4,2)) { in applyDriverCorrectnessWorkarounds()
4079 if (ctxInfo.version() >= GR_GL_VER(3,1)) { in applyDriverCorrectnessWorkarounds()
4134 ctxInfo.isOverCommandBuffer() && ctxInfo.version() < GR_GL_VER(3, 0); in applyDriverCorrectnessWorkarounds()