• Home
  • Raw
  • Download

Lines Matching refs:GR_GL_VER

95         if (version >= GR_GL_VER(3, 2)) {  in init()
111 fUnpackRowLengthSupport = version >= GR_GL_VER(3,0) || in init()
113 fPackRowLengthSupport = version >= GR_GL_VER(3,0) || in init()
132 fTextureBarrierSupport = version >= GR_GL_VER(4,5) || in init()
140 fSampleLocationsSupport = version >= GR_GL_VER(3,2) || in init()
143 fSampleLocationsSupport = version >= GR_GL_VER(3,1); in init()
149 if (((kGL_GrGLStandard == standard && version >= GR_GL_VER(4,3)) || in init()
150 (kGLES_GrGLStandard == standard && version >= GR_GL_VER(3,0)) || in init()
165 fUsePrimitiveRestart = version >= GR_GL_VER(3,0); in init()
176 fVertexArrayObjectSupport = version >= GR_GL_VER(3, 0) || in init()
180 fVertexArrayObjectSupport = version >= GR_GL_VER(3, 0) || in init()
184 if (kGL_GrGLStandard == standard && version >= GR_GL_VER(4,3)) { in init()
207 version >= GR_GL_VER(3, 2) || in init()
212 version >= GR_GL_VER(3, 0) || in init()
218 if (version >= GR_GL_VER(3, 0)) { in init()
222 if (version >= GR_GL_VER(3, 0) && ctxInfo.hasExtension("GL_EXT_blend_func_extended")) { in init()
230 if (version >= GR_GL_VER(3, 1) || ctxInfo.hasExtension("GL_ARB_texture_rectangle") || in init()
243 if (version < GR_GL_VER(1, 3) && !ctxInfo.hasExtension("GL_ARB_texture_border_clamp")) { in init()
248 if (version < GR_GL_VER(3, 2) && !ctxInfo.hasExtension("GL_EXT_texture_border_clamp") && in init()
256 if (version >= GR_GL_VER(3,3) || ctxInfo.hasExtension("GL_ARB_texture_swizzle")) { in init()
260 if (version >= GR_GL_VER(3,0)) { in init()
268 if (version >= GR_GL_VER(3,0)) { in init()
299 if (version >= GR_GL_VER(4,4) || ctxInfo.hasExtension("GL_ARB_clear_texture")) { in init()
327 shaderCaps->fDualSourceBlendingSupport = (ctxInfo.version() >= GR_GL_VER(3, 3) || in init()
334 shaderCaps->fGeometryShaderSupport = ctxInfo.version() >= GR_GL_VER(3, 2) && in init()
345 shaderCaps->fIntegerSupport = ctxInfo.version() >= GR_GL_VER(3, 0) && in init()
350 shaderCaps->fShaderDerivativeSupport = ctxInfo.version() >= GR_GL_VER(3, 0) || in init()
360 if (ctxInfo.version() >= GR_GL_VER(3,2)) { in init()
369 shaderCaps->fIntegerSupport = ctxInfo.version() >= GR_GL_VER(3, 0) && in init()
399 if (ctxInfo.version() >= GR_GL_VER(3, 0)) { in init()
415 ctxInfo.version() >= GR_GL_VER(3,0) || in init()
427 if (version >= GR_GL_VER(3, 0) || ctxInfo.hasExtension("GL_ARB_map_buffer_range")) { in init()
439 } else if (version >= GR_GL_VER(3, 0) || ctxInfo.hasExtension("GL_EXT_map_buffer_range")) { in init()
449 if (version >= GR_GL_VER(3, 0) || ctxInfo.hasExtension("GL_ARB_pixel_buffer_object")) { in init()
453 if (version >= GR_GL_VER(3, 0) || in init()
483 fNPOTTextureTileSupport = ctxInfo.version() >= GR_GL_VER(3,0) || in init()
534 if (ctxInfo.version() >= GR_GL_VER(3, 0) || in init()
542 fOversizedStencilSupport = ctxInfo.version() >= GR_GL_VER(3, 0); in init()
546 fDrawIndirectSupport = version >= GR_GL_VER(4,0) || in init()
548 fBaseInstanceSupport = version >= GR_GL_VER(4,2); in init()
549 fMultiDrawIndirectSupport = version >= GR_GL_VER(4,3) || in init()
553 fDrawRangeElementsSupport = version >= GR_GL_VER(2,0); in init()
555 fDrawIndirectSupport = version >= GR_GL_VER(3,1); in init()
560 fDrawRangeElementsSupport = version >= GR_GL_VER(3,0); in init()
565 if (version >= GR_GL_VER(3, 2) || ctxInfo.hasExtension("GL_ARB_sync")) { in init()
568 } else if (version >= GR_GL_VER(3, 0) || ctxInfo.hasExtension("GL_APPLE_sync")) { in init()
578 if (version >= GR_GL_VER(3, 0)) { in init()
581 } else if (version >= GR_GL_VER(3, 0)) { in init()
588 if (version >= GR_GL_VER(4, 1)) { in init()
591 } else if (version >= GR_GL_VER(3, 0)) { in init()
601 version >= GR_GL_VER(3,3) || ctxInfo.hasExtension("GL_ARB_sampler_objects"); in init()
603 fSamplerObjectSupport = version >= GR_GL_VER(3,0); in init()
683 ctxInfo.version() < GR_GL_VER(4,1) && in is_float_fp32()
715 shaderCaps->fFBFetchNeedsCustomOutput = (version >= GR_GL_VER(3, 0)); in initGLSL()
826 if (ctxInfo.version() < GR_GL_VER(4, 3) && in hasPathRenderingSupport()
832 ctxInfo.version() < GR_GL_VER(3, 1)) { in hasPathRenderingSupport()
941 if (ctxInfo.version() >= GR_GL_VER(3,0) && in initFSAASupport()
956 } else if (ctxInfo.version() >= GR_GL_VER(3,0)) { in initFSAASupport()
968 } else if (ctxInfo.version() >= GR_GL_VER(3,0) || in initFSAASupport()
1046 ctxInfo.version() >= GR_GL_VER(3,0) || in initStencilSupport()
1069 if (ctxInfo.version() >= GR_GL_VER(3,0) || in initStencilSupport()
1397 texStorageSupported = version >= GR_GL_VER(4,2) || in initConfigTable()
1401 texStorageSupported = version >= GR_GL_VER(3,0) || in initConfigTable()
1413 version >= GR_GL_VER(3, 0) || ctxInfo.hasExtension("GL_ARB_texture_rg"); in initConfigTable()
1416 version >= GR_GL_VER(3, 0) || ctxInfo.hasExtension("GL_EXT_texture_rg"); in initConfigTable()
1439 if (kIsWebGL || version >= GR_GL_VER(3,0) || ctxInfo.hasExtension("GL_OES_rgb8_rgba8") || in initConfigTable()
1471 if (version >= GR_GL_VER(3, 0) || ctxInfo.hasExtension("GL_OES_rgb8_rgba8")) { in initConfigTable()
1485 bool isCommandBufferES2 = kChromium_GrGLDriver == ctxInfo.driver() && version < GR_GL_VER(3, 0); in initConfigTable()
1517 if (version >= GR_GL_VER(1, 2) || ctxInfo.hasExtension("GL_EXT_bgra")) { in initConfigTable()
1547 if (version >= GR_GL_VER(3,0)) { in initConfigTable()
1562 if (ctxInfo.version() >= GR_GL_VER(3,0)) { in initConfigTable()
1575 fSRGBSupport = ctxInfo.version() >= GR_GL_VER(3,0) || ctxInfo.hasExtension("GL_EXT_sRGB"); in initConfigTable()
1652 if (version >= GR_GL_VER(4, 2) || ctxInfo.hasExtension("GL_ARB_ES2_compatibility")) { in initConfigTable()
1678 if (version >= GR_GL_VER(4, 2)) { in initConfigTable()
1696 if (kGL_GrGLStandard == standard || version >= GR_GL_VER(3, 0)) { in initConfigTable()
1706 (!fIsCoreProfile || version <= GR_GL_VER(3, 0)); in initConfigTable()
1711 if (alpha8IsValidForGL || (kGL_GrGLStandard != standard && version < GR_GL_VER(3, 0))) { in initConfigTable()
1754 if ((standard == kGL_GrGLStandard && version <= GR_GL_VER(3, 0)) || in initConfigTable()
1755 (standard == kGLES_GrGLStandard && version < GR_GL_VER(3, 0))) { in initConfigTable()
1806 if (version >= GR_GL_VER(3, 0)) { in initConfigTable()
1814 if (version >= GR_GL_VER(3, 0)) { in initConfigTable()
1827 if (version >= GR_GL_VER(3, 2)) { in initConfigTable()
1864 if (kGL_GrGLStandard == ctxInfo.standard() || ctxInfo.version() >= GR_GL_VER(3, 0)) { in initConfigTable()
1893 if (kGL_GrGLStandard == ctxInfo.standard() || ctxInfo.version() >= GR_GL_VER(3, 0)) { in initConfigTable()
1929 if (version >= GR_GL_VER(4, 3) || ctxInfo.hasExtension("GL_ARB_ES3_compatibility")) { in initConfigTable()
1933 if (version >= GR_GL_VER(3, 0) || in initConfigTable()
1950 ctxInfo.version() >= GR_GL_VER(3,0)); in initConfigTable()
1985 if (ctxInfo.standard() == kGLES_GrGLStandard && ctxInfo.version() == GR_GL_VER(2,0)) { in initConfigTable()
2041 (ctxInfo.version() >= GR_GL_VER(4,2) || in initConfigTable()
2043 (kGLES_GrGLStandard == ctxInfo.standard() && ctxInfo.version() >= GR_GL_VER(3,0))) { in initConfigTable()