summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/build_gles2_cmd_buffer.py
diff options
context:
space:
mode:
authoravi <avi@chromium.org>2015-12-25 19:29:57 -0800
committerCommit bot <commit-bot@chromium.org>2015-12-26 03:30:51 +0000
commit09487931ca01d32ab254555b29c51d648f45be3c (patch)
treeacb762ba7153dcf58f2546dbf8f4fde9b61177df /gpu/command_buffer/build_gles2_cmd_buffer.py
parent204e0c93c1e9899b49d7a07b8204edc95479fdff (diff)
downloadchromium_src-09487931ca01d32ab254555b29c51d648f45be3c.zip
chromium_src-09487931ca01d32ab254555b29c51d648f45be3c.tar.gz
chromium_src-09487931ca01d32ab254555b29c51d648f45be3c.tar.bz2
Rebuild gles2 stuff.
BUG=138542 TBR=piman@chromium.org Review URL: https://codereview.chromium.org/1542423002 Cr-Commit-Position: refs/heads/master@{#366888}
Diffstat (limited to 'gpu/command_buffer/build_gles2_cmd_buffer.py')
-rwxr-xr-xgpu/command_buffer/build_gles2_cmd_buffer.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/gpu/command_buffer/build_gles2_cmd_buffer.py b/gpu/command_buffer/build_gles2_cmd_buffer.py
index 313c037..104de37 100755
--- a/gpu/command_buffer/build_gles2_cmd_buffer.py
+++ b/gpu/command_buffer/build_gles2_cmd_buffer.py
@@ -7807,7 +7807,7 @@ class PUTSTRHandler(ArrayArgTypeHandler):
"""Overrriden from TypeHandler."""
code = """
TEST_F(GLES2ImplementationTest, %(name)s) {
- const uint32 kBucketId = GLES2Implementation::kResultBucketId;
+ const uint32_t kBucketId = GLES2Implementation::kResultBucketId;
const char* kString1 = "happy";
const char* kString2 = "ending";
const size_t kString1Size = ::strlen(kString1) + 1;
@@ -7878,7 +7878,7 @@ TEST_F(GLES2ImplementationTest, %(name)s) {
return
code = """
TEST_F(GLES2ImplementationTest, %(name)sWithLength) {
- const uint32 kBucketId = GLES2Implementation::kResultBucketId;
+ const uint32_t kBucketId = GLES2Implementation::kResultBucketId;
const char* kString = "foobar******";
const size_t kStringSize = 6; // We only need "foobar".
const size_t kHeaderSize = sizeof(GLint) * 2;
@@ -7958,7 +7958,7 @@ TEST_F(GLES2ImplementationTest, %(name)sWithLength) {
test = """
TEST_P(%(test_name)s, %(name)sValidArgs) {
EXPECT_CALL(*gl_, %(gl_func_name)s(%(gl_args)s));
- const uint32 kBucketId = 123;
+ const uint32_t kBucketId = 123;
const char kSource0[] = "hello";
const char* kSource[] = { kSource0 };
const char kValidStrEnd = 0;
@@ -7982,7 +7982,7 @@ TEST_P(%(test_name)s, %(name)sValidArgs) {
test = """
TEST_P(%(test_name)s, %(name)sInvalidArgs) {
- const uint32 kBucketId = 123;
+ const uint32_t kBucketId = 123;
const char kSource0[] = "hello";
const char* kSource[] = { kSource0 };
const char kValidStrEnd = 0;
@@ -8005,7 +8005,7 @@ TEST_P(%(test_name)s, %(name)sInvalidArgs) {
test = """
TEST_P(%(test_name)s, %(name)sInvalidHeader) {
- const uint32 kBucketId = 123;
+ const uint32_t kBucketId = 123;
const char kSource0[] = "hello";
const char* kSource[] = { kSource0 };
const char kValidStrEnd = 0;
@@ -8031,7 +8031,7 @@ TEST_P(%(test_name)s, %(name)sInvalidHeader) {
test = """
TEST_P(%(test_name)s, %(name)sInvalidStringEnding) {
- const uint32 kBucketId = 123;
+ const uint32_t kBucketId = 123;
const char kSource0[] = "hello";
const char* kSource[] = { kSource0 };
const char kInvalidStrEnd = '*';
@@ -9344,7 +9344,7 @@ class ResourceIdZeroArgument(Argument):
class Int64Argument(Argument):
- """Represents a GLuint64 argument which splits up into 2 uint32 items."""
+ """Represents a GLuint64 argument which splits up into 2 uint32_t items."""
def __init__(self, name, type):
Argument.__init__(self, name, type)
@@ -9723,7 +9723,7 @@ class Function(object):
else:
cmd_flags = 0
- f.write(" static const uint8 cmd_flags = %s;\n" % cmd_flags)
+ f.write(" static const uint8_t cmd_flags = %s;\n" % cmd_flags)
def WriteCmdArgFlag(self, f):