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

Unified Diff: gpu/command_buffer/build_gles2_cmd_buffer.py

Issue 2818993002: GL Implementation for GPU Discardable
Patch Set: rebase Created 3 years, 8 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/GLES2/gl2chromium_autogen.h ('k') | gpu/command_buffer/client/gles2_c_lib_autogen.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 479b2d6be187cde9f2c8555557e3138153ef5373..7addc3147fc5cceef4579e1a623369c5efc86979 100755
--- a/gpu/command_buffer/build_gles2_cmd_buffer.py
+++ b/gpu/command_buffer/build_gles2_cmd_buffer.py
@@ -4552,6 +4552,25 @@ _FUNCTION_INFO = {
'decoder_func': 'DoSetEnableDCLayersCHROMIUM',
'extension': 'CHROMIUM_dc_layers',
},
+ 'InitializeDiscardableTextureCHROMIUM': {
+ 'type': 'Custom',
+ 'cmd_args': 'GLuint texture_id, uint32_t shm_id, '
+ 'uint32_t shm_offset',
+ 'impl_func': False,
+ 'client_test': False,
+ 'extension': True,
+ },
+ 'UnlockDiscardableTextureCHROMIUM': {
+ 'type': 'Custom',
+ 'cmd_args': 'GLuint texture_id',
+ 'impl_func': False,
+ 'client_test': False,
+ 'extension': True,
+ },
+ 'LockDiscardableTextureCHROMIUM': {
+ 'type': 'NoCommand',
+ 'extension': True,
+ },
}
« no previous file with comments | « gpu/GLES2/gl2chromium_autogen.h ('k') | gpu/command_buffer/client/gles2_c_lib_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698