| 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 25 matching lines...) Expand all Loading... |
| 36 typedef unsigned short GLushort; | 36 typedef unsigned short GLushort; |
| 37 typedef unsigned long GLulong; | 37 typedef unsigned long GLulong; |
| 38 typedef float GLfloat; | 38 typedef float GLfloat; |
| 39 typedef float GLclampf; | 39 typedef float GLclampf; |
| 40 typedef double GLdouble; | 40 typedef double GLdouble; |
| 41 typedef double GLclampd; | 41 typedef double GLclampd; |
| 42 typedef void GLvoid; | 42 typedef void GLvoid; |
| 43 typedef khronos_intptr_t GLintptr; | 43 typedef khronos_intptr_t GLintptr; |
| 44 typedef khronos_ssize_t GLsizeiptr; | 44 typedef khronos_ssize_t GLsizeiptr; |
| 45 typedef struct __GLsync *GLsync; | 45 typedef struct __GLsync *GLsync; |
| 46 typedef int64_t GLint64; |
| 46 typedef uint64_t GLuint64; | 47 typedef uint64_t GLuint64; |
| 47 | 48 |
| 48 namespace gpu { | 49 namespace gpu { |
| 49 namespace gles2 { | 50 namespace gles2 { |
| 50 | 51 |
| 51 // Command buffer is GPU_COMMAND_BUFFER_ENTRY_ALIGNMENT byte aligned. | 52 // Command buffer is GPU_COMMAND_BUFFER_ENTRY_ALIGNMENT byte aligned. |
| 52 #pragma pack(push, GPU_COMMAND_BUFFER_ENTRY_ALIGNMENT) | 53 #pragma pack(push, GPU_COMMAND_BUFFER_ENTRY_ALIGNMENT) |
| 53 | 54 |
| 54 namespace id_namespaces { | 55 namespace id_namespaces { |
| 55 | 56 |
| (...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 356 "offset of CreateAndConsumeTextureCHROMIUMImmediate.client_id should be 8"); | 357 "offset of CreateAndConsumeTextureCHROMIUMImmediate.client_id should be 8"); |
| 357 | 358 |
| 358 | 359 |
| 359 #pragma pack(pop) | 360 #pragma pack(pop) |
| 360 | 361 |
| 361 } // namespace cmd | 362 } // namespace cmd |
| 362 } // namespace gles2 | 363 } // namespace gles2 |
| 363 } // namespace gpu | 364 } // namespace gpu |
| 364 | 365 |
| 365 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_FORMAT_H_ | 366 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_FORMAT_H_ |
| OLD | NEW |