diff options
author | gman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-02 00:44:29 +0000 |
---|---|---|
committer | gman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-02 00:44:29 +0000 |
commit | ddd968b875f51efee01401fd307f4c691dfd6a9a (patch) | |
tree | f9df8a06531e546b717a8fa328597e787198b142 /gpu/command_buffer/common/gles2_cmd_utils.h | |
parent | 516fc39eeea5658b9aeeda0094d5817edd5ec235 (diff) | |
download | chromium_src-ddd968b875f51efee01401fd307f4c691dfd6a9a.zip chromium_src-ddd968b875f51efee01401fd307f4c691dfd6a9a.tar.gz chromium_src-ddd968b875f51efee01401fd307f4c691dfd6a9a.tar.bz2 |
Attempt to submit this CL for the 3rd time. No changes.
http://src.chromium.org/viewvc/chrome?view=rev&revision=40212
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/661309
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40329 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.h | 4 |
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_; }; |