summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/service/gles2_cmd_validation.cc
diff options
context:
space:
mode:
authorgman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-17 14:47:16 +0000
committergman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-17 14:47:16 +0000
commitb6140d086d71667131111b1c85090e7023311942 (patch)
tree16a2889f424d11ef6f15cdb4eded7cad5923761b /gpu/command_buffer/service/gles2_cmd_validation.cc
parent1e0887fb4c08fbfb9421aede24a627e7bb903276 (diff)
downloadchromium_src-b6140d086d71667131111b1c85090e7023311942.zip
chromium_src-b6140d086d71667131111b1c85090e7023311942.tar.gz
chromium_src-b6140d086d71667131111b1c85090e7023311942.tar.bz2
Adds support for compressed textures. DXT1 only.
This is a temporary implementation. The real implementation will require *) glGetString to return "GL_EXT_texture_compression_dxt1" *) CommandBufferEnable("GL_EXT_texture_compression_dxt1") to dynamically modify the validation after it has made sure the "GL_EXT_texture_compression_dxt1" is returned from the system level GL TEST=none BUG=none Review URL: http://codereview.chromium.org/2136003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47417 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/command_buffer/service/gles2_cmd_validation.cc')
-rw-r--r--gpu/command_buffer/service/gles2_cmd_validation.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/gpu/command_buffer/service/gles2_cmd_validation.cc b/gpu/command_buffer/service/gles2_cmd_validation.cc
index 19af905..84e8a4b 100644
--- a/gpu/command_buffer/service/gles2_cmd_validation.cc
+++ b/gpu/command_buffer/service/gles2_cmd_validation.cc
@@ -9,6 +9,7 @@
// some of the GLenum definitions exist only in GLES2 and not in Desktop
// GL.
#include <GLES2/gl2types.h>
+#include <GLES2/gl2ext.h>
#include <GLES2/gles2_command_buffer.h>
namespace gpu {