OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2011 Google Inc. | 2 * Copyright 2011 Google Inc. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
6 */ | 6 */ |
7 | 7 |
8 | 8 |
9 | 9 |
10 #ifndef GrGLDefines_DEFINED | 10 #ifndef GrGLDefines_DEFINED |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 #define GR_GL_ONE_MINUS_CONSTANT_COLOR 0x8002 | 103 #define GR_GL_ONE_MINUS_CONSTANT_COLOR 0x8002 |
104 #define GR_GL_CONSTANT_ALPHA 0x8003 | 104 #define GR_GL_CONSTANT_ALPHA 0x8003 |
105 #define GR_GL_ONE_MINUS_CONSTANT_ALPHA 0x8004 | 105 #define GR_GL_ONE_MINUS_CONSTANT_ALPHA 0x8004 |
106 #define GR_GL_BLEND_COLOR 0x8005 | 106 #define GR_GL_BLEND_COLOR 0x8005 |
107 | 107 |
108 /* Buffer Objects */ | 108 /* Buffer Objects */ |
109 #define GR_GL_ARRAY_BUFFER 0x8892 | 109 #define GR_GL_ARRAY_BUFFER 0x8892 |
110 #define GR_GL_ELEMENT_ARRAY_BUFFER 0x8893 | 110 #define GR_GL_ELEMENT_ARRAY_BUFFER 0x8893 |
111 #define GR_GL_ARRAY_BUFFER_BINDING 0x8894 | 111 #define GR_GL_ARRAY_BUFFER_BINDING 0x8894 |
112 #define GR_GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895 | 112 #define GR_GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895 |
| 113 #define GR_GL_PIXEL_PACK_BUFFER 0x88EB |
| 114 #define GR_GL_PIXEL_UNPACK_BUFFER 0x88EC |
113 | 115 |
114 #define GR_GL_STREAM_DRAW 0x88E0 | 116 #define GR_GL_STREAM_DRAW 0x88E0 |
| 117 #define GR_GL_STREAM_READ 0x88E1 |
115 #define GR_GL_STATIC_DRAW 0x88E4 | 118 #define GR_GL_STATIC_DRAW 0x88E4 |
116 #define GR_GL_DYNAMIC_DRAW 0x88E8 | 119 #define GR_GL_DYNAMIC_DRAW 0x88E8 |
117 | 120 |
118 #define GR_GL_BUFFER_SIZE 0x8764 | 121 #define GR_GL_BUFFER_SIZE 0x8764 |
119 #define GR_GL_BUFFER_USAGE 0x8765 | 122 #define GR_GL_BUFFER_USAGE 0x8765 |
120 | 123 |
121 #define GR_GL_CURRENT_VERTEX_ATTRIB 0x8626 | 124 #define GR_GL_CURRENT_VERTEX_ATTRIB 0x8626 |
122 | 125 |
123 /* CullFaceMode */ | 126 /* CullFaceMode */ |
124 #define GR_GL_FRONT 0x0404 | 127 #define GR_GL_FRONT 0x0404 |
(...skipping 811 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
936 #define GR_EGL_EXTENSIONS 0x3055 | 939 #define GR_EGL_EXTENSIONS 0x3055 |
937 #define GR_EGL_GL_TEXTURE_2D 0x30B1 | 940 #define GR_EGL_GL_TEXTURE_2D 0x30B1 |
938 #define GR_EGL_GL_TEXTURE_LEVEL 0x30BC | 941 #define GR_EGL_GL_TEXTURE_LEVEL 0x30BC |
939 #define GR_EGL_IMAGE_PRESERVED 0x30D2 | 942 #define GR_EGL_IMAGE_PRESERVED 0x30D2 |
940 #define GR_EGL_FALSE 0x0 | 943 #define GR_EGL_FALSE 0x0 |
941 #define GR_EGL_TRUE 0x1 | 944 #define GR_EGL_TRUE 0x1 |
942 #define GR_EGL_NONE 0x3038 | 945 #define GR_EGL_NONE 0x3038 |
943 #define GR_EGL_NO_IMAGE ((GrEGLImage)0) | 946 #define GR_EGL_NO_IMAGE ((GrEGLImage)0) |
944 | 947 |
945 #endif | 948 #endif |
OLD | NEW |