summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/build_gles2_cmd_buffer.py
diff options
context:
space:
mode:
authorpiman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-14 14:12:02 +0000
committerpiman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-14 14:12:02 +0000
commite3da72334bfdb422a1874684b197578f10781c81 (patch)
treecad000792b04ea6282784f81178161e19454d4ba /gpu/command_buffer/build_gles2_cmd_buffer.py
parent81135079d3aa77fbf58a0a0dcbd660af20fbf6ff (diff)
downloadchromium_src-e3da72334bfdb422a1874684b197578f10781c81.zip
chromium_src-e3da72334bfdb422a1874684b197578f10781c81.tar.gz
chromium_src-e3da72334bfdb422a1874684b197578f10781c81.tar.bz2
Fix (or tag) uses of explicit '64' instead of GL_MAILBOX_SIZE_CHROMIUM
That way we can easily change the size later. Security says 64 may be overkill. BUG=None Review URL: https://codereview.chromium.org/138763009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251306 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/command_buffer/build_gles2_cmd_buffer.py')
-rwxr-xr-xgpu/command_buffer/build_gles2_cmd_buffer.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gpu/command_buffer/build_gles2_cmd_buffer.py b/gpu/command_buffer/build_gles2_cmd_buffer.py
index 4eb9c47..23dacf1 100755
--- a/gpu/command_buffer/build_gles2_cmd_buffer.py
+++ b/gpu/command_buffer/build_gles2_cmd_buffer.py
@@ -1327,7 +1327,7 @@ _FUNCTION_INFO = {
'decoder_func': 'DoConsumeTextureCHROMIUM',
'type': 'PUT',
'data_type': 'GLbyte',
- 'count': 64,
+ 'count': 64, # GL_MAILBOX_SIZE_CHROMIUM
'unit_test': False,
'extension': True,
'chromium': True,
@@ -1910,7 +1910,7 @@ _FUNCTION_INFO = {
'decoder_func': 'DoProduceTextureCHROMIUM',
'type': 'PUT',
'data_type': 'GLbyte',
- 'count': 64,
+ 'count': 64, # GL_MAILBOX_SIZE_CHROMIUM
'unit_test': False,
'extension': True,
'chromium': True,