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

Unified Diff: gpu/command_buffer/common/gles2_cmd_format.h

Issue 1542513002: Switch to standard integer types in gpu/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 5 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
Index: gpu/command_buffer/common/gles2_cmd_format.h
diff --git a/gpu/command_buffer/common/gles2_cmd_format.h b/gpu/command_buffer/common/gles2_cmd_format.h
index dd42a95cd5e56006567b1dd41f382a76ef89fb18..8b12baf440acca21748baef4c3036141fd672a90 100644
--- a/gpu/command_buffer/common/gles2_cmd_format.h
+++ b/gpu/command_buffer/common/gles2_cmd_format.h
@@ -10,6 +10,7 @@
#include <KHR/khrplatform.h>
+#include <stddef.h>
#include <stdint.h>
#include <string.h>
@@ -317,7 +318,7 @@ struct GenMailboxCHROMIUM {
typedef GenMailboxCHROMIUM ValueType;
static const CommandId kCmdId = kGenMailboxCHROMIUM;
static const cmd::ArgFlags kArgFlags = cmd::kFixed;
- static const uint8 cmd_flags = CMD_FLAG_SET_TRACE_LEVEL(3);
+ static const uint8_t cmd_flags = CMD_FLAG_SET_TRACE_LEVEL(3);
CommandHeader header;
};
@@ -325,7 +326,7 @@ struct InsertSyncPointCHROMIUM {
typedef InsertSyncPointCHROMIUM ValueType;
static const CommandId kCmdId = kInsertSyncPointCHROMIUM;
static const cmd::ArgFlags kArgFlags = cmd::kFixed;
- static const uint8 cmd_flags = CMD_FLAG_SET_TRACE_LEVEL(3);
+ static const uint8_t cmd_flags = CMD_FLAG_SET_TRACE_LEVEL(3);
CommandHeader header;
};
@@ -333,7 +334,7 @@ struct CreateAndConsumeTextureCHROMIUMImmediate {
typedef CreateAndConsumeTextureCHROMIUMImmediate ValueType;
static const CommandId kCmdId = kCreateAndConsumeTextureCHROMIUMImmediate;
static const cmd::ArgFlags kArgFlags = cmd::kAtLeastN;
- static const uint8 cmd_flags = CMD_FLAG_SET_TRACE_LEVEL(1);
+ static const uint8_t cmd_flags = CMD_FLAG_SET_TRACE_LEVEL(1);
static uint32_t ComputeDataSize() {
return static_cast<uint32_t>(sizeof(GLbyte) * 64); // NOLINT
« no previous file with comments | « gpu/command_buffer/common/command_buffer_shared_test.cc ('k') | gpu/command_buffer/common/gles2_cmd_format.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698