OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |