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

Unified Diff: ui/gl/generate_bindings.py

Issue 706173005: Enable asynchronous glReadPixels on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed DCHECK in set_chunk_size_multiple. Created 6 years, 1 month 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
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/generate_bindings.py
diff --git a/ui/gl/generate_bindings.py b/ui/gl/generate_bindings.py
index 01568065c9dab0dfbd6aed52d49ed974b6bb1fc1..da668ec9cebd0f76352746a2aa486b0efaf39ffd 100755
--- a/ui/gl/generate_bindings.py
+++ b/ui/gl/generate_bindings.py
@@ -595,9 +595,15 @@ GL_FUNCTIONS = [
'names': ['glMapBufferOES', 'glMapBuffer'],
'arguments': 'GLenum target, GLenum access', },
{ 'return_type': 'void*',
- 'names': ['glMapBufferRange'],
+ 'known_as': 'glMapBufferRange',
+ 'versions': [{ 'name': 'glMapBufferRange',
+ 'gl_versions': ['gl3', 'gl4', 'es3'] },
+ { 'name': 'glMapBufferRange',
+ 'extensions': ['GL_ARB_map_buffer_range'] },
+ { 'name': 'glMapBufferRangeEXT',
+ 'extensions': ['GL_EXT_map_buffer_range'] }],
'arguments':
- 'GLenum target, GLintptr offset, GLsizeiptr length, GLenum access', },
+ 'GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access', },
{ 'return_type': 'void',
'known_as': 'glMatrixLoadfEXT',
'versions': [{ 'name': 'glMatrixLoadfEXT',
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698