Home
last modified time | relevance | path

Searched refs:GR_GL_VER (Results 1 – 9 of 9) sorted by relevance

/external/skia/src/gpu/gl/
DGrGLCaps.cpp82 if (version >= GR_GL_VER(3, 2)) { in init()
97 fUnpackRowLengthSupport = version >= GR_GL_VER(3,0) || in init()
100 fPackRowLengthSupport = version >= GR_GL_VER(3,0) || in init()
111 fTexStorageSupport = version >= GR_GL_VER(4,2) || in init()
116 fTexStorageSupport = (version >= GR_GL_VER(3,0) && in init()
122 fTextureBarrierSupport = version >= GR_GL_VER(4,5) || in init()
133 fTextureRedSupport = version >= GR_GL_VER(3,0) || in init()
136 fTextureRedSupport = version >= GR_GL_VER(3,0) || in init()
157 ((kGL_GrGLStandard == standard && version >= GR_GL_VER(4,3)) || in init()
158 (kGLES_GrGLStandard == standard && version >= GR_GL_VER(3,0)) || in init()
[all …]
DGrGLInterface.cpp221 if (kGLES_GrGLStandard == fStandard && glVer >= GR_GL_VER(3,0)) { in validate()
244 if (glVer >= GR_GL_VER(2,0)) { in validate()
251 if (glVer >= GR_GL_VER(3,0) && nullptr == fFunctions.fBindFragDataLocation) { in validate()
254 if (glVer >= GR_GL_VER(2,0) || fExtensions.has("GL_ARB_draw_buffers")) { in validate()
260 if (glVer >= GR_GL_VER(1,5) || fExtensions.has("GL_ARB_occlusion_query")) { in validate()
271 if (glVer >= GR_GL_VER(3,3) || in validate()
279 if (glVer >= GR_GL_VER(3,3) || fExtensions.has("GL_ARB_timer_query")) { in validate()
288 (glVer >= GR_GL_VER(1,3)) || in validate()
310 if (glVer >= GR_GL_VER(4,2) || in validate()
317 } else if (glVer >= GR_GL_VER(3,0) || fExtensions.has("GL_EXT_texture_storage")) { in validate()
[all …]
DGrGLAssembleInterface.cpp68 if (glVer < GR_GL_VER(1,5) || GR_GL_INVALID_VER == glVer) { in GrGLAssembleGLInterface()
89 if (glVer >= GR_GL_VER(3,0)) { in GrGLAssembleGLInterface()
101 if (glVer >= GR_GL_VER(1,4) || in GrGLAssembleGLInterface()
108 if (glVer >= GR_GL_VER(1,4) || in GrGLAssembleGLInterface()
142 if (glVer >= GR_GL_VER(3,1) || extensions.has("GL_ARB_draw_instanced") || in GrGLAssembleGLInterface()
148 if (glVer >= GR_GL_VER(4,0)) { in GrGLAssembleGLInterface()
167 if (glVer >= GR_GL_VER(3,3) || extensions.has("GL_ARB_timer_query")) { in GrGLAssembleGLInterface()
208 if (glVer >= GR_GL_VER(4,2) || extensions.has("GL_ARB_texture_storage")) { in GrGLAssembleGLInterface()
214 if (glVer >= GR_GL_VER(4,5) || extensions.has("GL_ARB_texture_barrier")) { in GrGLAssembleGLInterface()
245 if (glVer >= GR_GL_VER(3,2) || extensions.has("GL_ARB_instanced_arrays")) { in GrGLAssembleGLInterface()
[all …]
DGrGLUtil.cpp179 return GR_GL_VER(major, minor); in GrGLGetVersionFromString()
184 return GR_GL_VER(major, minor); in GrGLGetVersionFromString()
191 return GR_GL_VER(major, minor); in GrGLGetVersionFromString()
196 return GR_GL_VER(major, minor); in GrGLGetVersionFromString()
DGrGLUtil.h23 #define GR_GL_VER(major, minor) ((static_cast<int>(major) << 16) | \ macro
30 #define GR_GL_INVALID_VER GR_GL_VER(0, 0)
DSkGLContext.cpp118 if (version < GR_GL_VER(3,2) && !ctx->gl()->hasExtension("GL_ARB_sync")) { in CreateIfSupported()
163 if (!(kGL_GrGLStandard == fGL->fStandard && GrGLGetVersion(fGL) >= GR_GL_VER(3, 1)) && in createTextureRectangle()
DGrGLGLSL.cpp37 SkASSERT(ver >= GR_GL_VER(1,00)); in GrGLGetGLSLGeneration()
DGrGLExtensions.cpp84 bool indexed = version >= GR_GL_VER(3, 0); in init()
/external/skia/gm/
Drectangletexture.cpp70 if (!(kGL_GrGLStandard == glCtx->standard() && glCtx->version() >= GR_GL_VER(3, 1)) && in createRectangleTextureImg()