Home
last modified time | relevance | path

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

/external/skia/src/gpu/gl/
DGrGLInterfaceAutogen.cpp143 (glVer >= GR_GL_VER(3,0)))) || in validate()
145 (glVer >= GR_GL_VER(3,0)))) || in validate()
147 (glVer >= GR_GL_VER(2,0))))) { in validate()
154 (glVer >= GR_GL_VER(4,2)))) || in validate()
156 (glVer >= GR_GL_VER(3,1))))) { in validate()
162 (glVer >= GR_GL_VER(3,0)) || in validate()
165 (glVer >= GR_GL_VER(2,0)) || in validate()
176 (glVer >= GR_GL_VER(4,0)) || in validate()
179 (glVer >= GR_GL_VER(3,2)) || in validate()
185 (glVer >= GR_GL_VER(3,0)))) || in validate()
[all …]
DGrGLAssembleGLInterfaceAutogen.cpp40 if (glVer < GR_GL_VER(2,0) || GR_GL_INVALID_VER == glVer) { in GrGLMakeAssembledGLInterface()
153 if (glVer >= GR_GL_VER(3,0)) { in GrGLMakeAssembledGLInterface()
157 if (glVer >= GR_GL_VER(4,2)) { in GrGLMakeAssembledGLInterface()
165 if (glVer >= GR_GL_VER(4,0)) { in GrGLMakeAssembledGLInterface()
171 if (glVer >= GR_GL_VER(3,0)) { in GrGLMakeAssembledGLInterface()
175 if (glVer >= GR_GL_VER(3,3)) { in GrGLMakeAssembledGLInterface()
187 if (glVer >= GR_GL_VER(4,4)) { in GrGLMakeAssembledGLInterface()
195 if (glVer >= GR_GL_VER(3,1)) { in GrGLMakeAssembledGLInterface()
209 if (glVer >= GR_GL_VER(4,0)) { in GrGLMakeAssembledGLInterface()
219 if (glVer >= GR_GL_VER(3,2)) { in GrGLMakeAssembledGLInterface()
[all …]
DGrGLAssembleGLESInterfaceAutogen.cpp36 if (glVer < GR_GL_VER(2,0)) { in GrGLMakeAssembledGLESInterface()
147 if (glVer >= GR_GL_VER(3,0)) { in GrGLMakeAssembledGLESInterface()
151 if (glVer >= GR_GL_VER(3,1)) { in GrGLMakeAssembledGLESInterface()
155 if (glVer >= GR_GL_VER(3,0)) { in GrGLMakeAssembledGLESInterface()
165 if (glVer >= GR_GL_VER(3,2)) { in GrGLMakeAssembledGLESInterface()
171 if (glVer >= GR_GL_VER(3,0) && extensions.has("GL_EXT_blend_func_extended")) { in GrGLMakeAssembledGLESInterface()
175 if (glVer >= GR_GL_VER(3,0) && extensions.has("GL_EXT_blend_func_extended")) { in GrGLMakeAssembledGLESInterface()
190 if (glVer >= GR_GL_VER(3,0)) { in GrGLMakeAssembledGLESInterface()
198 if (glVer >= GR_GL_VER(3,0)) { in GrGLMakeAssembledGLESInterface()
203 if (glVer >= GR_GL_VER(3,1)) { in GrGLMakeAssembledGLESInterface()
[all …]
DGrGLAssembleWebGLInterfaceAutogen.cpp36 if (glVer < GR_GL_VER(1,0)) { in GrGLMakeAssembledWebGLInterface()
147 if (glVer >= GR_GL_VER(2,0)) { in GrGLMakeAssembledWebGLInterface()
151 if (glVer >= GR_GL_VER(2,0)) { in GrGLMakeAssembledWebGLInterface()
165 if (glVer >= GR_GL_VER(2,0)) { in GrGLMakeAssembledWebGLInterface()
170 if (glVer >= GR_GL_VER(2,0)) { in GrGLMakeAssembledWebGLInterface()
175 if (glVer >= GR_GL_VER(2,0)) { in GrGLMakeAssembledWebGLInterface()
179 if (glVer >= GR_GL_VER(2,0)) { in GrGLMakeAssembledWebGLInterface()
183 if (glVer >= GR_GL_VER(2,0)) { in GrGLMakeAssembledWebGLInterface()
187 if (glVer >= GR_GL_VER(2,0)) { in GrGLMakeAssembledWebGLInterface()
205 if (glVer >= GR_GL_VER(2,0)) { in GrGLMakeAssembledWebGLInterface()
[all …]
DGrGLCaps.cpp85 if (version >= GR_GL_VER(3, 2)) { in init()
106 version >= GR_GL_VER(3, 0) || ctxInfo.hasExtension("GL_EXT_unpack_subimage"); in init()
108 version >= GR_GL_VER(3, 0) || ctxInfo.hasExtension("GL_NV_pack_subimage"); in init()
113 fWritePixelsRowBytesSupport = version >= GR_GL_VER(2, 0); in init()
114 fReadPixelsRowBytesSupport = version >= GR_GL_VER(2, 0); in init()
129 fTextureBarrierSupport = version >= GR_GL_VER(4,5) || in init()
137 fSampleLocationsSupport = version >= GR_GL_VER(3,2) || in init()
140 fSampleLocationsSupport = version >= GR_GL_VER(3,1); in init()
146 if (((GR_IS_GR_GL(standard) && version >= GR_GL_VER(4,3)) || in init()
147 (GR_IS_GR_GL_ES(standard) && version >= GR_GL_VER(3,0)) || in init()
[all …]
DGrGLGLSL.cpp50 SkASSERT(ver >= GR_GL_VER(1,00)); in GrGLGetGLSLGeneration()
62 SkASSERT(ver >= GR_GL_VER(1,0)); in GrGLGetGLSLGeneration()
DGrGLUtil.cpp252 return GR_GL_VER(major, minor); in GrGLGetVersionFromString()
257 return GR_GL_VER(major, minor); in GrGLGetVersionFromString()
264 return GR_GL_VER(major, minor); in GrGLGetVersionFromString()
271 return GR_GL_VER(major, minor); in GrGLGetVersionFromString()
276 return GR_GL_VER(major, minor); in GrGLGetVersionFromString()
DGrGLExtensions.cpp89 indexed = version >= GR_GL_VER(3, 0); in init()
93 indexed = version >= GR_GL_VER(2, 0); in init()
DGrGLUtil.h25 #define GR_GL_VER(major, minor) ((static_cast<uint32_t>(major) << 16) | \ macro
36 #define GR_GL_INVALID_VER GR_GL_VER(0, 0)
/external/skqp/src/gpu/gl/
DGrGLInterface.cpp160 if (glVer >= GR_GL_VER(3,0) && !fFunctions.fBindFragDataLocation) { in validate()
164 if (glVer >= GR_GL_VER(3,3) || in validate()
172 if (glVer >= GR_GL_VER(3,3) || fExtensions.has("GL_ARB_timer_query")) { in validate()
187 if (kGL_GrGLStandard == fStandard || glVer >= GR_GL_VER(3,0)) { in validate()
193 if (kGL_GrGLStandard == fStandard || glVer >= GR_GL_VER(3,0)) { in validate()
200 if (kGL_GrGLStandard == fStandard || glVer >= GR_GL_VER(3,1)) { in validate()
209 if (glVer >= GR_GL_VER(4,2) || in validate()
216 } else if (glVer >= GR_GL_VER(3,0) || fExtensions.has("GL_EXT_texture_storage")) { in validate()
224 if (glVer >= GR_GL_VER(4,5) || in validate()
251 if (kGL_GrGLStandard == fStandard || glVer >= GR_GL_VER(3,0) || in validate()
[all …]
DGrGLAssembleInterface.cpp67 if (glVer < GR_GL_VER(2,0) || GR_GL_INVALID_VER == glVer) { in GrGLMakeAssembledGLInterface()
88 if (glVer >= GR_GL_VER(3,0)) { in GrGLMakeAssembledGLInterface()
108 if (glVer >= GR_GL_VER(4,4) || extensions.has("GL_ARB_clear_texture")) { in GrGLMakeAssembledGLInterface()
133 if (glVer >= GR_GL_VER(3,1) || extensions.has("GL_ARB_draw_instanced") || in GrGLMakeAssembledGLInterface()
139 if (glVer >= GR_GL_VER(4,0) || extensions.has("GL_ARB_draw_indirect")) { in GrGLMakeAssembledGLInterface()
154 if (glVer >= GR_GL_VER(3,2) || extensions.has("GL_ARB_texture_multisample")) { in GrGLMakeAssembledGLInterface()
159 if (glVer >= GR_GL_VER(3,3) || extensions.has("GL_ARB_timer_query")) { in GrGLMakeAssembledGLInterface()
184 if (glVer >= GR_GL_VER(4,3) || extensions.has("GL_ARB_multi_draw_indirect")) { in GrGLMakeAssembledGLInterface()
204 if (glVer >= GR_GL_VER(3,1)) { in GrGLMakeAssembledGLInterface()
207 if (glVer >= GR_GL_VER(4,3)) { in GrGLMakeAssembledGLInterface()
[all …]
DGrGLCaps.cpp95 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()
[all …]
DGrGLUtil.cpp228 return GR_GL_VER(major, minor); in GrGLGetVersionFromString()
233 return GR_GL_VER(major, minor); in GrGLGetVersionFromString()
240 return GR_GL_VER(major, minor); in GrGLGetVersionFromString()
245 return GR_GL_VER(major, minor); in GrGLGetVersionFromString()
DGrGLUtil.h24 #define GR_GL_VER(major, minor) ((static_cast<uint32_t>(major) << 16) | \ macro
32 #define GR_GL_INVALID_VER GR_GL_VER(0, 0)
DGrGLGLSL.cpp37 SkASSERT(ver >= GR_GL_VER(1,00)); in GrGLGetGLSLGeneration()
DGrGLExtensions.cpp88 bool indexed = version >= GR_GL_VER(3, 0); in init()
/external/skia/tools/gpu/gl/interface/
Dtemplates.go42 if (glVer < GR_GL_VER(2,0)) {
123 if (glVer < GR_GL_VER(2,0) || GR_GL_INVALID_VER == glVer) {
186 if (glVer < GR_GL_VER(1,0)) {
/external/skqp/tools/gpu/gl/
DGLTestContext.cpp79 if (GrGLGetVersion(ctx->gl()) < GR_GL_VER(3,2) && !ctx->gl()->hasExtension("GL_ARB_sync")) { in MakeIfSupported()
88 } else if (GrGLGetVersion(ctx->gl()) >= GR_GL_VER(3, 0)) { in MakeIfSupported()
192 (GrGLGetVersion(gl) > GR_GL_VER(3,3) || gl->fExtensions.has("GL_ARB_timer_query"))) { in MakeIfSupported()
322 (GrGLGetVersion(fGL.get()) < GR_GL_VER(3, 1) && in createTextureRectangle()
/external/skia/tools/gpu/gl/
DGLTestContext.cpp79 if (GrGLGetVersion(ctx->gl()) < GR_GL_VER(3,2) && !ctx->gl()->hasExtension("GL_ARB_sync")) { in MakeIfSupported()
88 } else if (GrGLGetVersion(ctx->gl()) >= GR_GL_VER(3, 0)) { in MakeIfSupported()
192 (GrGLGetVersion(gl) > GR_GL_VER(3,3) || gl->fExtensions.has("GL_ARB_timer_query"))) { in MakeIfSupported()
322 (GrGLGetVersion(fGL.get()) < GR_GL_VER(3, 1) && in createTextureRectangle()
/external/skia/tools/gpu/gl/egl/
DCreatePlatformGLTestContext_egl.cpp251 if (GrGLGetVersion(glInt) >= GR_GL_VER(3,2) || glInt->hasExtension("GL_ARB_sync")) { in setupFenceSync()
256 GrGLGetVersion(glInt) >= GR_GL_VER(3, 0)) { in setupFenceSync()
/external/skqp/tools/gpu/atlastext/
DGLTestAtlasTextRenderer.cpp88 if (version < GR_GL_VER(3, 0)) { in GLTestAtlasTextRenderer()
93 if (version < GR_GL_VER(4, 3)) { in GLTestAtlasTextRenderer()
/external/skia/tools/gpu/atlastext/
DGLTestAtlasTextRenderer.cpp89 if (version < GR_GL_VER(3, 0)) { in GLTestAtlasTextRenderer()
94 if (version < GR_GL_VER(4, 3)) { in GLTestAtlasTextRenderer()
/external/skqp/gm/
Drectangletexture.cpp72 if (!(kGL_GrGLStandard == glCtx->standard() && glCtx->version() >= GR_GL_VER(3, 1)) && in createRectangleTextureImg()