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

Unified Diff: gpu/command_buffer/build_gles2_cmd_buffer.py

Issue 621673002: command_buffer: Remove unused shared id code (GenSharedIdsCHROMIUM, ...) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 24ffa2678cd7fd71f85974332acd1e81e094b737..796e081a509a145df34c7dbe2080017281947197 100755
--- a/gpu/command_buffer/build_gles2_cmd_buffer.py
+++ b/gpu/command_buffer/build_gles2_cmd_buffer.py
@@ -1589,15 +1589,6 @@ _FUNCTION_INFO = {
'resource_types': 'Renderbuffers',
},
'DeleteShader': {'type': 'Delete', 'decoder_func': 'DoDeleteShader'},
- 'DeleteSharedIdsCHROMIUM': {
- 'type': 'Custom',
- 'decoder_func': 'DoDeleteSharedIdsCHROMIUM',
- 'impl_func': False,
- 'expectation': False,
- 'data_transfer_methods': ['shm'],
- 'extension': True,
- 'chromium': True,
- },
'DeleteTextures': {
'type': 'DELn',
'resource_type': 'Texture',
@@ -1706,15 +1697,6 @@ _FUNCTION_INFO = {
'resource_type': 'Texture',
'resource_types': 'Textures',
},
- 'GenSharedIdsCHROMIUM': {
- 'type': 'Custom',
- 'decoder_func': 'DoGenSharedIdsCHROMIUM',
- 'impl_func': False,
- 'expectation': False,
- 'data_transfer_methods': ['shm'],
- 'extension': True,
- 'chromium': True,
- },
'GetActiveAttrib': {
'type': 'Custom',
'data_transfer_methods': ['shm'],
@@ -2072,15 +2054,6 @@ _FUNCTION_INFO = {
'result': ['uint32_t'],
'defer_reads': True,
},
- 'RegisterSharedIdsCHROMIUM': {
- 'type': 'Custom',
- 'decoder_func': 'DoRegisterSharedIdsCHROMIUM',
- 'impl_func': False,
- 'expectation': False,
- 'data_transfer_methods': ['shm'],
- 'extension': True,
- 'chromium': True,
- },
'ReleaseShaderCompiler': {
'decoder_func': 'DoReleaseShaderCompiler',
'unit_test': False,
@@ -4170,7 +4143,8 @@ class GENnHandler(TypeHandler):
not_shared = func.GetInfo('not_shared')
if not_shared:
alloc_code = (
-""" IdAllocatorInterface* id_allocator = GetIdAllocator(id_namespaces::k%s);
+
+""" IdAllocator* id_allocator = GetIdAllocator(id_namespaces::k%s);
for (GLsizei ii = 0; ii < n; ++ii)
%s[ii] = id_allocator->AllocateID();""" %
(func.GetInfo('resource_types'), func.GetOriginalArgs()[1].name))
« 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