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

Unified Diff: gpu/command_buffer/build_gles2_cmd_buffer.py

Issue 465013: TBR=apatrick@chromium.org... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years 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 | « no previous file | gpu/command_buffer/common/cmd_buffer_common.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
===================================================================
--- gpu/command_buffer/build_gles2_cmd_buffer.py (revision 33603)
+++ gpu/command_buffer/build_gles2_cmd_buffer.py (working copy)
@@ -14,7 +14,7 @@
_SIZE_OF_UINT32 = 4
_SIZE_OF_COMMAND_HEADER = 4
-_FIRST_SPECIFIC_COMMAND_ID = 1024
+_FIRST_SPECIFIC_COMMAND_ID = 256
_LICENSE = """
// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
@@ -2553,7 +2553,7 @@
file.Write("// *** These IDs MUST NOT CHANGE!!! ***\n")
file.Write("// Changing them will break all client programs.\n")
file.Write("TEST(GLES2CommandIdTest, CommandIdsMatch) {\n")
- command_id = 1024
+ command_id = _FIRST_SPECIFIC_COMMAND_ID
for func in self.functions:
file.Write(" COMPILE_ASSERT(%s::kCmdId == %d,\n" %
(func.name, command_id))
« no previous file with comments | « no previous file | gpu/command_buffer/common/cmd_buffer_common.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698