Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(270)

Unified Diff: gpu/command_buffer/build_gles2_cmd_buffer.py

Issue 1136713003: Add ES3 commands GetVertexAttribI{u}iv to GPU command buffer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: gpu/command_buffer/build_gles2_cmd_buffer.py
diff --git a/gpu/command_buffer/build_gles2_cmd_buffer.py b/gpu/command_buffer/build_gles2_cmd_buffer.py
index 3f17ae69b15bc30bd2164364bf57241dd5327112..35ce83bc1d9908dd253e99ea4a1f9718ecc196cf 100755
--- a/gpu/command_buffer/build_gles2_cmd_buffer.py
+++ b/gpu/command_buffer/build_gles2_cmd_buffer.py
@@ -1275,6 +1275,10 @@ _NAMED_TYPE_INFO = {
'GL_VERTEX_ATTRIB_ARRAY_TYPE',
'GL_CURRENT_VERTEX_ATTRIB',
],
+ 'valid_es3': [
+ 'GL_VERTEX_ATTRIB_ARRAY_INTEGER',
+ 'GL_VERTEX_ATTRIB_ARRAY_DIVISOR',
+ ],
},
'VertexPointer': {
'type': 'GLenum',
@@ -2746,6 +2750,24 @@ _FUNCTION_INFO = {
'expectation': False,
'client_test': False,
},
+ 'GetVertexAttribIiv': {
+ 'type': 'GETn',
+ 'result': ['SizedResult<GLint>'],
+ 'impl_decl': False,
+ 'decoder_func': 'DoGetVertexAttribIiv',
+ 'expectation': False,
+ 'client_test': False,
+ 'unsafe': True,
+ },
+ 'GetVertexAttribIuiv': {
+ 'type': 'GETn',
+ 'result': ['SizedResult<GLuint>'],
+ 'impl_decl': False,
+ 'decoder_func': 'DoGetVertexAttribIuiv',
+ 'expectation': False,
+ 'client_test': False,
+ 'unsafe': True,
+ },
'GetVertexAttribPointerv': {
'type': 'Custom',
'data_transfer_methods': ['shm'],

Powered by Google App Engine
This is Rietveld 408576698