diff options
author | gman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-19 15:21:51 +0000 |
---|---|---|
committer | gman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-19 15:21:51 +0000 |
commit | bf83584effe27d702e9ec5c82389b356ca87340d (patch) | |
tree | c75d6714ee479bbec6224d63db83a61e3bf9f9e4 /gpu/command_buffer/build_gles2_cmd_buffer.py | |
parent | 7b9f060ac59198fd6d2c242e3db3bf95c1d90db5 (diff) | |
download | chromium_src-bf83584effe27d702e9ec5c82389b356ca87340d.zip chromium_src-bf83584effe27d702e9ec5c82389b356ca87340d.tar.gz chromium_src-bf83584effe27d702e9ec5c82389b356ca87340d.tar.bz2 |
Needed to allow querying the current VAO binding
Note: This isn't enough to make them actually work
correctly with client side arrays. That still needs
some way to know what the currently bound
element array buffer is
BUG=160482
Review URL: https://chromiumcodereview.appspot.com/11416032
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168529 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/command_buffer/build_gles2_cmd_buffer.py')
-rwxr-xr-x | gpu/command_buffer/build_gles2_cmd_buffer.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gpu/command_buffer/build_gles2_cmd_buffer.py b/gpu/command_buffer/build_gles2_cmd_buffer.py index 927764b..4ad9dbd 100755 --- a/gpu/command_buffer/build_gles2_cmd_buffer.py +++ b/gpu/command_buffer/build_gles2_cmd_buffer.py @@ -537,6 +537,8 @@ _ENUM_LISTS = { 'GL_UNPACK_FLIP_Y_CHROMIUM', 'GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM', 'GL_UNPACK_UNPREMULTIPLY_ALPHA_CHROMIUM', + # we can add this because we emulate it if the driver does not support it. + 'GL_VERTEX_ARRAY_BINDING_OES', 'GL_VIEWPORT', ], 'invalid': [ |