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

Unified Diff: ui/gl/generate_bindings.py

Issue 786123002: Update from https://crrev.com/307330 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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 | « third_party/protobuf/OWNERS ('k') | ui/gl/gl_bindings.h » ('j') | 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 6fff4cb2791c9346a800b24f80b1e22caa724ec7..14e3052a361690df76f6343a9bee5ba4108492bf 100755
--- a/ui/gl/generate_bindings.py
+++ b/ui/gl/generate_bindings.py
@@ -326,12 +326,8 @@ GL_FUNCTIONS = [
'names': ['glDisableVertexAttribArray'],
'arguments': 'GLuint index', },
{ 'return_type': 'void',
- 'known_as': 'glDiscardFramebufferEXT',
- 'versions': [{ 'name': 'glInvalidateFramebuffer',
- 'gl_versions': ['es3'],
- 'extensions': [] },
- { 'name': 'glDiscardFramebufferEXT',
- 'gl_versions': ['es1', 'es2'] }],
+ 'versions': [{ 'name': 'glDiscardFramebufferEXT',
+ 'extensions': ['GL_EXT_discard_framebuffer'] }],
'arguments': 'GLenum target, GLsizei numAttachments, '
'const GLenum* attachments' },
{ 'return_type': 'void',
@@ -698,6 +694,11 @@ GL_FUNCTIONS = [
'names': ['glInsertEventMarkerEXT'],
'arguments': 'GLsizei length, const char* marker', },
{ 'return_type': 'void',
+ 'versions': [{ 'name': 'glInvalidateFramebuffer',
+ 'gl_versions': ['gl4', 'es3'] }], # GL 4.3 or higher.
+ 'arguments': 'GLenum target, GLsizei numAttachments, '
+ 'const GLenum* attachments' },
+{ 'return_type': 'void',
'versions': [{ 'name': 'glInvalidateSubFramebuffer',
'gl_versions': ['gl4', 'es3'] }], # GL 4.3 or higher.
'arguments':
« no previous file with comments | « third_party/protobuf/OWNERS ('k') | ui/gl/gl_bindings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698