Index: src/gpu/gl/GrGLUtil.h |
diff --git a/src/gpu/gl/GrGLUtil.h b/src/gpu/gl/GrGLUtil.h |
index bc6fdf1757540407d09f45b95a7c394eb8239279..570694af3183f5d49e3ccc5507249b54daaeee52 100644 |
--- a/src/gpu/gl/GrGLUtil.h |
+++ b/src/gpu/gl/GrGLUtil.h |
@@ -71,12 +71,21 @@ enum GrGLRenderer { |
*(p) = GR_GL_INIT_ZERO; \ |
GR_GL_CALL(gl, GetRenderbufferParameteriv(t, pname, p)); \ |
} while (0) |
+ |
#define GR_GL_GetTexLevelParameteriv(gl, t, l, pname, p) \ |
do { \ |
*(p) = GR_GL_INIT_ZERO; \ |
GR_GL_CALL(gl, GetTexLevelParameteriv(t, l, pname, p)); \ |
} while (0) |
+#define GR_GL_GetShaderPrecisionFormat(gl, st, pt, range, precision) \ |
+ do { \ |
+ (range)[0] = GR_GL_INIT_ZERO; \ |
+ (range)[1] = GR_GL_INIT_ZERO; \ |
+ (*precision) = GR_GL_INIT_ZERO; \ |
+ GR_GL_CALL(gl, GetShaderPrecisionFormat(st, pt, range, precision)); \ |
+ } while (0) |
+ |
//////////////////////////////////////////////////////////////////////////////// |
/** |