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

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

Issue 267963004: Remove all the duplicate macros and types in command_buffer/common/types.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: basebranch Created 6 years, 8 months 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/types.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/common/cmd_buffer_common.h
diff --git a/gpu/command_buffer/common/cmd_buffer_common.h b/gpu/command_buffer/common/cmd_buffer_common.h
index ef6b9329ffeaff70abbee9a6d933dcee8d4aa1aa..979d74624d80965fcac0abac7b103ae66e85ac00 100644
--- a/gpu/command_buffer/common/cmd_buffer_common.h
+++ b/gpu/command_buffer/common/cmd_buffer_common.h
@@ -41,8 +41,8 @@ inline size_t RoundSizeToMultipleOfEntries(size_t size_in_bytes) {
// Struct that defines the command header in the command buffer.
struct CommandHeader {
- Uint32 size:21;
- Uint32 command:11;
+ uint32 size:21;
+ uint32 command:11;
GPU_EXPORT static const int32 kMaxSize = (1 << 21) - 1;
@@ -82,8 +82,8 @@ COMPILE_ASSERT(sizeof(CommandHeader) == 4, Sizeof_CommandHeader_is_not_4);
// Union that defines possible command buffer entries.
union CommandBufferEntry {
CommandHeader value_header;
- Uint32 value_uint32;
- Int32 value_int32;
+ uint32 value_uint32;
+ int32 value_int32;
float value_float;
};
« no previous file with comments | « no previous file | gpu/command_buffer/common/types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698