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

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

Issue 1602313002: Removed client side support for old sync points. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed DrawingBufferTest reference Created 4 years, 11 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
Index: gpu/command_buffer/common/gles2_cmd_format_autogen.h
diff --git a/gpu/command_buffer/common/gles2_cmd_format_autogen.h b/gpu/command_buffer/common/gles2_cmd_format_autogen.h
index 3619471f2c96453492074970cee56d6e54f6dae0..b5b8562c1066cbf4329681c5226f1adf83391fa8 100644
--- a/gpu/command_buffer/common/gles2_cmd_format_autogen.h
+++ b/gpu/command_buffer/common/gles2_cmd_format_autogen.h
@@ -13367,39 +13367,6 @@ static_assert(offsetof(LoseContextCHROMIUM, current) == 4,
static_assert(offsetof(LoseContextCHROMIUM, other) == 8,
"offset of LoseContextCHROMIUM other should be 8");
-struct WaitSyncPointCHROMIUM {
- typedef WaitSyncPointCHROMIUM ValueType;
- static const CommandId kCmdId = kWaitSyncPointCHROMIUM;
- static const cmd::ArgFlags kArgFlags = cmd::kFixed;
- static const uint8_t cmd_flags = CMD_FLAG_SET_TRACE_LEVEL(1);
-
- static uint32_t ComputeSize() {
- return static_cast<uint32_t>(sizeof(ValueType)); // NOLINT
- }
-
- void SetHeader() { header.SetCmd<ValueType>(); }
-
- void Init(GLuint _sync_point) {
- SetHeader();
- sync_point = _sync_point;
- }
-
- void* Set(void* cmd, GLuint _sync_point) {
- static_cast<ValueType*>(cmd)->Init(_sync_point);
- return NextCmdAddress<ValueType>(cmd);
- }
-
- gpu::CommandHeader header;
- uint32_t sync_point;
-};
-
-static_assert(sizeof(WaitSyncPointCHROMIUM) == 8,
- "size of WaitSyncPointCHROMIUM should be 8");
-static_assert(offsetof(WaitSyncPointCHROMIUM, header) == 0,
- "offset of WaitSyncPointCHROMIUM header should be 0");
-static_assert(offsetof(WaitSyncPointCHROMIUM, sync_point) == 4,
- "offset of WaitSyncPointCHROMIUM sync_point should be 4");
-
struct InsertFenceSyncCHROMIUM {
typedef InsertFenceSyncCHROMIUM ValueType;
static const CommandId kCmdId = kInsertFenceSyncCHROMIUM;
« no previous file with comments | « gpu/command_buffer/common/gles2_cmd_format.h ('k') | gpu/command_buffer/common/gles2_cmd_format_test_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698