summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/build_gles2_cmd_buffer.py
diff options
context:
space:
mode:
authordyen <dyen@chromium.org>2015-11-20 12:26:27 -0800
committerCommit bot <commit-bot@chromium.org>2015-11-20 20:27:05 +0000
commit7a64fb7587797a8d2d65b3da2e9d1e3b6a5fe9be (patch)
treed2425e17b613239ab10195fa176e4337713b7e08 /gpu/command_buffer/build_gles2_cmd_buffer.py
parent5176a0cd84b342d3d9abcb6ec9060f05a1eaf57c (diff)
downloadchromium_src-7a64fb7587797a8d2d65b3da2e9d1e3b6a5fe9be.zip
chromium_src-7a64fb7587797a8d2d65b3da2e9d1e3b6a5fe9be.tar.gz
chromium_src-7a64fb7587797a8d2d65b3da2e9d1e3b6a5fe9be.tar.bz2
SyncPointManager now handles sync point clients with invalid namespaces.
Because the namespace is passed in from the client, the GPU process must be able to gracefully handle invalid data. In this case it should detect the invalid namespace ID and simply return nullptr for the Sync Point Client. R=piman@chromium.org BUG=514815 Review URL: https://codereview.chromium.org/1453303002 Cr-Commit-Position: refs/heads/master@{#360904}
Diffstat (limited to 'gpu/command_buffer/build_gles2_cmd_buffer.py')
-rwxr-xr-xgpu/command_buffer/build_gles2_cmd_buffer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpu/command_buffer/build_gles2_cmd_buffer.py b/gpu/command_buffer/build_gles2_cmd_buffer.py
index ea859c91..7f13556 100755
--- a/gpu/command_buffer/build_gles2_cmd_buffer.py
+++ b/gpu/command_buffer/build_gles2_cmd_buffer.py
@@ -4141,7 +4141,7 @@ _FUNCTION_INFO = {
'WaitSyncTokenCHROMIUM': {
'type': 'Custom',
'impl_func': False,
- 'cmd_args': 'GLuint namespace_id, '
+ 'cmd_args': 'GLint namespace_id, '
'GLuint64 command_buffer_id, '
'GLuint64 release_count',
'client_test': False,