| 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 | 61 |
| 62 // These are used when contexts share resources. | 62 // These are used when contexts share resources. |
| 63 enum IdNamespaces { | 63 enum IdNamespaces { |
| 64 kBuffers, | 64 kBuffers, |
| 65 kFramebuffers, | 65 kFramebuffers, |
| 66 kProgramsAndShaders, | 66 kProgramsAndShaders, |
| 67 kRenderbuffers, | 67 kRenderbuffers, |
| 68 kTextures, | 68 kTextures, |
| 69 kQueries, | 69 kQueries, |
| 70 kVertexArrays, | 70 kVertexArrays, |
| 71 kValuebuffers, | |
| 72 kSamplers, | 71 kSamplers, |
| 73 kTransformFeedbacks, | 72 kTransformFeedbacks, |
| 74 kSyncs, | 73 kSyncs, |
| 75 kNumIdNamespaces | 74 kNumIdNamespaces |
| 76 }; | 75 }; |
| 77 | 76 |
| 78 enum RangeIdNamespaces { kPaths, kNumRangeIdNamespaces }; | 77 enum RangeIdNamespaces { kPaths, kNumRangeIdNamespaces }; |
| 79 | 78 |
| 80 // These numbers must not change | 79 // These numbers must not change |
| 81 static_assert(kBuffers == 0, "kBuffers should equal 0"); | 80 static_assert(kBuffers == 0, "kBuffers should equal 0"); |
| (...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 375 "offset of CreateAndConsumeTextureCHROMIUMImmediate.client_id should be 8"); | 374 "offset of CreateAndConsumeTextureCHROMIUMImmediate.client_id should be 8"); |
| 376 | 375 |
| 377 | 376 |
| 378 #pragma pack(pop) | 377 #pragma pack(pop) |
| 379 | 378 |
| 380 } // namespace cmd | 379 } // namespace cmd |
| 381 } // namespace gles2 | 380 } // namespace gles2 |
| 382 } // namespace gpu | 381 } // namespace gpu |
| 383 | 382 |
| 384 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_FORMAT_H_ | 383 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_FORMAT_H_ |
| OLD | NEW |