summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/common/gles2_cmd_utils.h
diff options
context:
space:
mode:
authorgman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-27 06:20:40 +0000
committergman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-27 06:20:40 +0000
commit51330b3a08d845da9815b843e020833e62577828 (patch)
treeabb2d82043ba58e23700b923b0ed44a7df61e84b /gpu/command_buffer/common/gles2_cmd_utils.h
parentc99b9d56b7c89e661df77557da07d86c09f7b369 (diff)
downloadchromium_src-51330b3a08d845da9815b843e020833e62577828.zip
chromium_src-51330b3a08d845da9815b843e020833e62577828.tar.gz
chromium_src-51330b3a08d845da9815b843e020833e62577828.tar.bz2
Resumitting reverted CL
TEST=none BUG=none Review URL: http://codereview.chromium.org/660238 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40212 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/command_buffer/common/gles2_cmd_utils.h')
-rw-r--r--gpu/command_buffer/common/gles2_cmd_utils.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gpu/command_buffer/common/gles2_cmd_utils.h b/gpu/command_buffer/common/gles2_cmd_utils.h
index b2da669..99b17e5 100644
--- a/gpu/command_buffer/common/gles2_cmd_utils.h
+++ b/gpu/command_buffer/common/gles2_cmd_utils.h
@@ -34,6 +34,10 @@ class GLES2Util {
static size_t GetGLTypeSizeForTexturesAndBuffers(uint32 type);
+ static uint32 GLErrorToErrorBit(uint32 gl_error);
+
+ static uint32 GLErrorBitToGLError(uint32 error_bit);
+
private:
int num_compressed_texture_formats_;
};