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

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

Issue 782583003: List sync points to wait on in AsyncFlush message Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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_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 c451b98ba72c667033915459c225764860c5f3c7..1e56e39aa2502f2feb9bb4b5736590f51cb1b3b9 100644
--- a/gpu/command_buffer/common/gles2_cmd_format_autogen.h
+++ b/gpu/command_buffer/common/gles2_cmd_format_autogen.h
@@ -9996,39 +9996,6 @@ COMPILE_ASSERT(offsetof(LoseContextCHROMIUM, current) == 4,
COMPILE_ASSERT(offsetof(LoseContextCHROMIUM, other) == 8,
OffsetOf_LoseContextCHROMIUM_other_not_8);
-struct WaitSyncPointCHROMIUM {
- typedef WaitSyncPointCHROMIUM ValueType;
- static const CommandId kCmdId = kWaitSyncPointCHROMIUM;
- static const cmd::ArgFlags kArgFlags = cmd::kFixed;
- static const uint8 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;
-};
-
-COMPILE_ASSERT(sizeof(WaitSyncPointCHROMIUM) == 8,
- Sizeof_WaitSyncPointCHROMIUM_is_not_8);
-COMPILE_ASSERT(offsetof(WaitSyncPointCHROMIUM, header) == 0,
- OffsetOf_WaitSyncPointCHROMIUM_header_not_0);
-COMPILE_ASSERT(offsetof(WaitSyncPointCHROMIUM, sync_point) == 4,
- OffsetOf_WaitSyncPointCHROMIUM_sync_point_not_4);
-
struct DrawBuffersEXTImmediate {
typedef DrawBuffersEXTImmediate ValueType;
static const CommandId kCmdId = kDrawBuffersEXTImmediate;
« no previous file with comments | « gpu/command_buffer/common/command_buffer_mock.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