summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/service/gl_utils.h
diff options
context:
space:
mode:
authorgman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-08 00:04:00 +0000
committergman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-08 00:04:00 +0000
commit81375743a18758e2d3e1401086c41fc6102d7404 (patch)
tree8934b84e05e419c1857139a547507c5704808c46 /gpu/command_buffer/service/gl_utils.h
parentc1b2efa44d46f948b3820f02e169bd95db094625 (diff)
downloadchromium_src-81375743a18758e2d3e1401086c41fc6102d7404.zip
chromium_src-81375743a18758e2d3e1401086c41fc6102d7404.tar.gz
chromium_src-81375743a18758e2d3e1401086c41fc6102d7404.tar.bz2
Plum through ANGLE_depth_texture
TEST=unit tests BUG=none Review URL: https://chromiumcodereview.appspot.com/10441087 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141117 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/command_buffer/service/gl_utils.h')
-rw-r--r--gpu/command_buffer/service/gl_utils.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/gpu/command_buffer/service/gl_utils.h b/gpu/command_buffer/service/gl_utils.h
index 3f95b1c..f8f52ee 100644
--- a/gpu/command_buffer/service/gl_utils.h
+++ b/gpu/command_buffer/service/gl_utils.h
@@ -86,7 +86,16 @@
#define GL_COMMANDS_ISSUED_CHROMIUM 0x84F2
// GL_OES_texure_3D
-#define GL_SAMPLER_3D_OES 0x8B5F
+#define GL_SAMPLER_3D_OES 0x8B5F
+
+// GL_OES_depth24
+#define GL_DEPTH_COMPONENT24_OES 0x81A6
+
+// GL_OES_depth32
+#define GL_DEPTH_COMPONENT32_OES 0x81A7
+
+// GL_OES_packed_depth_stencil
+#define GL_DEPTH24_STENCIL8_OES 0x88F0
#define GL_GLEXT_PROTOTYPES 1