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

Side by Side Diff: gpu/command_buffer/common/gles2_cmd_format.h

Issue 12581004: Move InsertSyncPoint to GLES2Interface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 7 years, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file defines the GLES2 command buffer commands. 5 // This file defines the GLES2 command buffer commands.
6 6
7 #ifndef GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_FORMAT_H_ 7 #ifndef GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_FORMAT_H_
8 #define GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_FORMAT_H_ 8 #define GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_FORMAT_H_
9 9
10 10
(...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after
533 OffsetOf_GetUniformLocationBucket_header_not_0); 533 OffsetOf_GetUniformLocationBucket_header_not_0);
534 COMPILE_ASSERT(offsetof(GetUniformLocationBucket, program) == 4, 534 COMPILE_ASSERT(offsetof(GetUniformLocationBucket, program) == 4,
535 OffsetOf_GetUniformLocationBucket_program_not_4); 535 OffsetOf_GetUniformLocationBucket_program_not_4);
536 COMPILE_ASSERT(offsetof(GetUniformLocationBucket, name_bucket_id) == 8, 536 COMPILE_ASSERT(offsetof(GetUniformLocationBucket, name_bucket_id) == 8,
537 OffsetOf_GetUniformLocationBucket_name_bucket_id_not_8); 537 OffsetOf_GetUniformLocationBucket_name_bucket_id_not_8);
538 COMPILE_ASSERT(offsetof(GetUniformLocationBucket, location_shm_id) == 12, 538 COMPILE_ASSERT(offsetof(GetUniformLocationBucket, location_shm_id) == 12,
539 OffsetOf_GetUniformLocationBucket_location_shm_id_not_12); 539 OffsetOf_GetUniformLocationBucket_location_shm_id_not_12);
540 COMPILE_ASSERT(offsetof(GetUniformLocationBucket, location_shm_offset) == 16, 540 COMPILE_ASSERT(offsetof(GetUniformLocationBucket, location_shm_offset) == 16,
541 OffsetOf_GetUniformLocationBucket_location_shm_offset_not_16); 541 OffsetOf_GetUniformLocationBucket_location_shm_offset_not_16);
542 542
543 struct InsertSyncPointCHROMIUM {
544 typedef InsertSyncPointCHROMIUM ValueType;
545 static const CommandId kCmdId = kInsertSyncPointCHROMIUM;
546 static const cmd::ArgFlags kArgFlags = cmd::kFixed;
547 CommandHeader header;
548 };
549
543 #pragma pack(pop) 550 #pragma pack(pop)
544 551
545 } // namespace cmd 552 } // namespace cmd
546 } // namespace gles2 553 } // namespace gles2
547 } // namespace gpu 554 } // namespace gpu
548 555
549 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_FORMAT_H_ 556 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_FORMAT_H_
OLDNEW
« 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