diff options
author | gman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-13 22:06:46 +0000 |
---|---|---|
committer | gman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-13 22:06:46 +0000 |
commit | 1d32bc88813cca868952dcb927c541f27331b4b3 (patch) | |
tree | 387acc0eca1c6aaa6e8e38c8775636afc4edc8d2 /gpu/command_buffer/service/gles2_cmd_validation_autogen.h | |
parent | 138ac9c942f20d2d3e5b48abc52be524d9559b11 (diff) | |
download | chromium_src-1d32bc88813cca868952dcb927c541f27331b4b3.zip chromium_src-1d32bc88813cca868952dcb927c541f27331b4b3.tar.gz chromium_src-1d32bc88813cca868952dcb927c541f27331b4b3.tar.bz2 |
Adds unit tests for glDrawArrays and glDrawBuffers
in the GLES2Decoder class of command buffers.
Also fixes a few bugs related to validating buffer
access and reporting GL errors
I also separated out the id mapping, buffer tracking
and program tracking into separate classes as
different decoders will need to share instances of
those classes once we allow sharing of resources.
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/546026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36178 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/command_buffer/service/gles2_cmd_validation_autogen.h')
-rw-r--r-- | gpu/command_buffer/service/gles2_cmd_validation_autogen.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gpu/command_buffer/service/gles2_cmd_validation_autogen.h b/gpu/command_buffer/service/gles2_cmd_validation_autogen.h index fe1ca29..7520b58 100644 --- a/gpu/command_buffer/service/gles2_cmd_validation_autogen.h +++ b/gpu/command_buffer/service/gles2_cmd_validation_autogen.h @@ -30,6 +30,7 @@ bool ValidateGLenumHintTarget(GLenum value); bool ValidateGLenumHintMode(GLenum value); bool ValidateGLenumTextureFormat(GLenum value); bool ValidateGLenumStringType(GLenum value); +bool ValidateGLintTextureBorder(GLenum value); bool ValidateGLenumFrameBufferTarget(GLenum value); bool ValidateGLbooleanFalse(GLenum value); bool ValidateGLintPixelStoreAlignment(GLenum value); |