Searched refs:GR_GLSL_VER (Results 1 – 7 of 7) sorted by relevance
/external/skia/src/gpu/gl/ |
D | GrGLGLSL.cpp | 23 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 …]
|
D | GrGLUtil.cpp | 118 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()
|
D | GrGLUtil.h | 28 #define GR_GLSL_VER(major, minor) ((static_cast<uint32_t>(major) << 16) | \ macro 38 #define GR_GLSL_INVALID_VER GR_GLSL_VER(0, 0)
|
/external/skqp/src/gpu/gl/ |
D | GrGLGLSL.cpp | 19 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()
|
D | GrGLUtil.h | 26 #define GR_GLSL_VER(major, minor) ((static_cast<uint32_t>(major) << 16) | \ macro 33 #define GR_GLSL_INVALID_VER GR_GLSL_VER(0, 0)
|
D | GrGLUtil.cpp | 261 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/ |
D | GLTestContext.cpp | 328 if (GrGLGetGLSLVersion(fGL.get()) < GR_GLSL_VER(1, 40)) { in createTextureRectangle()
|