Index: src/gpu/gl/GrGLDefines.h |
diff --git a/src/gpu/gl/GrGLDefines.h b/src/gpu/gl/GrGLDefines.h |
index 11dc60167ebab4922d026a807b260997367e8c9d..d569acdf6470579d4d2f31c2d7e7d950b023da0d 100644 |
--- a/src/gpu/gl/GrGLDefines.h |
+++ b/src/gpu/gl/GrGLDefines.h |
@@ -115,6 +115,7 @@ |
/* EnableCap */ |
#define GR_GL_TEXTURE_2D 0x0DE1 |
+#define GR_GL_TEXTURE_3D 0x806F |
#define GR_GL_CULL_FACE 0x0B44 |
#define GR_GL_BLEND 0x0BE2 |
#define GR_GL_DITHER 0x0BD0 |
@@ -192,6 +193,7 @@ |
/* GL_POLYGON_OFFSET_FILL */ |
#define GR_GL_POLYGON_OFFSET_FACTOR 0x8038 |
#define GR_GL_TEXTURE_BINDING_2D 0x8069 |
+#define GR_GL_TEXTURE_BINDING_3D 0x8C1D |
#define GR_GL_SAMPLE_BUFFERS 0x80A8 |
#define GR_GL_SAMPLES 0x80A9 |
#define GR_GL_SAMPLE_COVERAGE_VALUE 0x80AA |
@@ -465,6 +467,7 @@ |
#define GR_GL_TEXTURE_MIN_FILTER 0x2801 |
#define GR_GL_TEXTURE_WRAP_S 0x2802 |
#define GR_GL_TEXTURE_WRAP_T 0x2803 |
+#define GR_GL_TEXTURE_WRAP_R 0x8072 |
#define GR_GL_TEXTURE_USAGE 0x93A2 |
/* TextureTarget */ |
@@ -622,6 +625,7 @@ |
#define GR_GL_FLOAT_MAT3 0x8B5B |
#define GR_GL_FLOAT_MAT4 0x8B5C |
#define GR_GL_SAMPLER_2D 0x8B5E |
+#define GR_GL_SAMPLER_3D 0x8B5F |
#define GR_GL_SAMPLER_CUBE 0x8B60 |
/* Vertex Arrays */ |