Home
last modified time | relevance | path

Searched refs:GR_GLSL_VER (Results 1 – 8 of 8) sorted by relevance

/external/skia/src/gpu/gl/
DGrGLGLSL.cpp29 ver = std::min(ver, GR_GLSL_VER(glMajor, 10 * glMinor)); in GrGLGetGLSLGeneration()
32 SkASSERT(ver >= GR_GLSL_VER(1,10)); in GrGLGetGLSLGeneration()
33 if (ver >= GR_GLSL_VER(4,20)) { in GrGLGetGLSLGeneration()
35 } else if (ver >= GR_GLSL_VER(4,00)) { in GrGLGetGLSLGeneration()
37 } else if (ver >= GR_GLSL_VER(3,30)) { in GrGLGetGLSLGeneration()
39 } else if (ver >= GR_GLSL_VER(1,50)) { in GrGLGetGLSLGeneration()
41 } else if (ver >= GR_GLSL_VER(1,40)) { in GrGLGetGLSLGeneration()
43 } else if (ver >= GR_GLSL_VER(1,30)) { in GrGLGetGLSLGeneration()
51 if (ver >= GR_GLSL_VER(3,20)) { in GrGLGetGLSLGeneration()
53 } else if (ver >= GR_GLSL_VER(3,10)) { in GrGLGetGLSLGeneration()
[all …]
DGrGLUtil.cpp292 return GR_GLSL_VER(major, minor); in GrGLGetGLSLVersionFromString()
297 return GR_GLSL_VER(major, minor); in GrGLGetGLSLVersionFromString()
304 return GR_GLSL_VER(major, minor); in GrGLGetGLSLVersionFromString()
DGrGLUtil.h27 #define GR_GLSL_VER(major, minor) ((static_cast<uint32_t>(major) << 16) | \ macro
37 #define GR_GLSL_INVALID_VER GR_GLSL_VER(0, 0)
/external/skqp/src/gpu/gl/
DGrGLGLSL.cpp19 SkASSERT(ver >= GR_GLSL_VER(1,10)); in GrGLGetGLSLGeneration()
20 if (ver >= GR_GLSL_VER(4,20)) { in GrGLGetGLSLGeneration()
22 } else if (ver >= GR_GLSL_VER(4,00)) { in GrGLGetGLSLGeneration()
24 } else if (ver >= GR_GLSL_VER(3,30)) { in GrGLGetGLSLGeneration()
26 } else if (ver >= GR_GLSL_VER(1,50)) { in GrGLGetGLSLGeneration()
28 } else if (ver >= GR_GLSL_VER(1,40)) { in GrGLGetGLSLGeneration()
30 } else if (ver >= GR_GLSL_VER(1,30)) { in GrGLGetGLSLGeneration()
38 if (ver >= GR_GLSL_VER(3,20)) { in GrGLGetGLSLGeneration()
40 } else if (ver >= GR_GLSL_VER(3,10)) { in GrGLGetGLSLGeneration()
42 } else if (ver >= GR_GLSL_VER(3,00)) { in GrGLGetGLSLGeneration()
DGrGLUtil.h26 #define GR_GLSL_VER(major, minor) ((static_cast<uint32_t>(major) << 16) | \ macro
33 #define GR_GLSL_INVALID_VER GR_GLSL_VER(0, 0)
DGrGLUtil.cpp261 return GR_GLSL_VER(major, minor); in GrGLGetGLSLVersionFromString()
266 return GR_GLSL_VER(major, minor); in GrGLGetGLSLVersionFromString()
273 return GR_GLSL_VER(major, minor); in GrGLGetGLSLVersionFromString()
/external/skqp/tools/gpu/gl/
DGLTestContext.cpp328 if (GrGLGetGLSLVersion(fGL.get()) < GR_GLSL_VER(1, 40)) { in createTextureRectangle()
/external/skia/tools/gpu/gl/
DGLTestContext.cpp328 if (GrGLGetGLSLVersion(fGL.get()) < GR_GLSL_VER(1, 40)) { in createTextureRectangle()