Home
last modified time | relevance | path

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

/third_party/skia/src/gpu/gl/
DGrGLGLSL.cpp23 GrGLSLVersion ver = std::min(info.fGLSLVersion, GR_GLSL_VER(glMajor, 10 * glMinor)); in GrGLGetGLSLGeneration()
29 SkASSERT(ver >= GR_GLSL_VER(1,10)); in GrGLGetGLSLGeneration()
30 if (ver >= GR_GLSL_VER(4,20)) { in GrGLGetGLSLGeneration()
32 } else if (ver >= GR_GLSL_VER(4,00)) { in GrGLGetGLSLGeneration()
34 } else if (ver >= GR_GLSL_VER(3,30)) { in GrGLGetGLSLGeneration()
36 } else if (ver >= GR_GLSL_VER(1,50)) { in GrGLGetGLSLGeneration()
38 } else if (ver >= GR_GLSL_VER(1,40)) { in GrGLGetGLSLGeneration()
40 } else if (ver >= GR_GLSL_VER(1,30)) { in GrGLGetGLSLGeneration()
48 if (ver >= GR_GLSL_VER(3,20)) { in GrGLGetGLSLGeneration()
50 } else if (ver >= GR_GLSL_VER(3,10)) { in GrGLGetGLSLGeneration()
[all …]
DGrGLUtil.cpp118 return GR_GLSL_VER(major, minor); in get_glsl_version()
123 return GR_GLSL_VER(major, minor); in get_glsl_version()
130 return GR_GLSL_VER(major, minor); in get_glsl_version()
DGrGLUtil.h28 #define GR_GLSL_VER(major, minor) ((static_cast<uint32_t>(major) << 16) | \ macro
38 #define GR_GLSL_INVALID_VER GR_GLSL_VER(0, 0)
/third_party/flutter/skia/src/gpu/gl/
DGrGLGLSL.cpp18 SkASSERT(ver >= GR_GLSL_VER(1,10)); in GrGLGetGLSLGeneration()
19 if (ver >= GR_GLSL_VER(4,20)) { in GrGLGetGLSLGeneration()
21 } else if (ver >= GR_GLSL_VER(4,00)) { in GrGLGetGLSLGeneration()
23 } else if (ver >= GR_GLSL_VER(3,30)) { in GrGLGetGLSLGeneration()
25 } else if (ver >= GR_GLSL_VER(1,50)) { in GrGLGetGLSLGeneration()
27 } else if (ver >= GR_GLSL_VER(1,40)) { in GrGLGetGLSLGeneration()
29 } else if (ver >= GR_GLSL_VER(1,30)) { in GrGLGetGLSLGeneration()
37 if (ver >= GR_GLSL_VER(3,20)) { in GrGLGetGLSLGeneration()
39 } else if (ver >= GR_GLSL_VER(3,10)) { in GrGLGetGLSLGeneration()
41 } else if (ver >= GR_GLSL_VER(3,00)) { in GrGLGetGLSLGeneration()
DGrGLUtil.h27 #define GR_GLSL_VER(major, minor) ((static_cast<uint32_t>(major) << 16) | \ macro
34 #define GR_GLSL_INVALID_VER GR_GLSL_VER(0, 0)
DGrGLUtil.cpp279 return GR_GLSL_VER(major, minor); in GrGLGetGLSLVersionFromString()
284 return GR_GLSL_VER(major, minor); in GrGLGetGLSLVersionFromString()
291 return GR_GLSL_VER(major, minor); in GrGLGetGLSLVersionFromString()
/third_party/flutter/skia/tools/gpu/gl/
DGLTestContext.cpp328 if (GrGLGetGLSLVersion(fGL.get()) < GR_GLSL_VER(1, 40)) { in createTextureRectangle()