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

Unified Diff: ui/gl/generate_bindings.py

Issue 10797055: gpu in-memory program cache implementation with a memory limit + lru eviction. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: nit fixes Created 8 years, 5 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
« no previous file with comments | « gpu/gpu_common.gypi ('k') | ui/gl/gl_interface.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 5e7eccdb2c25c4ad34dbfa8617ca147f4297d4f0..11ccff2e32306ae3f004b6bcf1e9c70b7905269d 100755
--- a/ui/gl/generate_bindings.py
+++ b/ui/gl/generate_bindings.py
@@ -296,6 +296,12 @@ GL_FUNCTIONS = [
'names': ['glGetIntegerv'],
'arguments': 'GLenum pname, GLint* params', },
{ 'return_type': 'void',
+ 'names': ['glGetProgramBinary', 'glGetProgramBinaryOES'],
+ 'arguments': 'GLuint program, GLsizei bufSize, GLsizei* length, '
+ 'GLenum* binaryFormat, GLvoid* binary',
+ 'other_extensions': ['ARB_get_program_binary',
+ 'OES_get_program_binary'] },
+{ 'return_type': 'void',
'names': ['glGetProgramiv'],
'arguments': 'GLuint program, GLenum pname, GLint* params', },
{ 'return_type': 'void',
@@ -424,6 +430,16 @@ GL_FUNCTIONS = [
'names': ['glPolygonOffset'],
'arguments': 'GLfloat factor, GLfloat units', },
{ 'return_type': 'void',
+ 'names': ['glProgramBinary', 'glProgramBinaryOES'],
+ 'arguments': 'GLuint program, GLenum binaryFormat, '
+ 'const GLvoid* binary, GLsizei length',
+ 'other_extensions': ['ARB_get_program_binary',
+ 'OES_get_program_binary'] },
+{ 'return_type': 'void',
+ 'names': ['glProgramParameteri'],
+ 'arguments': 'GLuint program, GLenum pname, GLint value',
+ 'other_extensions': ['ARB_get_program_binary'] },
+{ 'return_type': 'void',
'names': ['glQueryCounter'],
'arguments': 'GLuint id, GLenum target', },
{ 'return_type': 'void',
« no previous file with comments | « gpu/gpu_common.gypi ('k') | ui/gl/gl_interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698