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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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_DRAW_INDIRECT_BUFFER 0x8F3F | 111 #define GR_GL_DRAW_INDIRECT_BUFFER 0x8F3F |
112 #define GR_GL_TEXTURE_BUFFER 0x8C2A | 112 #define GR_GL_TEXTURE_BUFFER 0x8C2A |
113 #define GR_GL_ARRAY_BUFFER_BINDING 0x8894 | 113 #define GR_GL_ARRAY_BUFFER_BINDING 0x8894 |
114 #define GR_GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895 | 114 #define GR_GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895 |
115 #define GR_GL_DRAW_INDIRECT_BUFFER_BINDING 0x8F43 | 115 #define GR_GL_DRAW_INDIRECT_BUFFER_BINDING 0x8F43 |
116 #define GR_GL_PIXEL_PACK_BUFFER 0x88EB | 116 #define GR_GL_PIXEL_PACK_BUFFER 0x88EB |
117 #define GR_GL_PIXEL_UNPACK_BUFFER 0x88EC | 117 #define GR_GL_PIXEL_UNPACK_BUFFER 0x88EC |
118 | 118 |
119 #define GR_GL_PIXEL_UNPACK_TRANSFER_BUFFER_CHROMIUM 0x78EC | 119 #define GR_GL_PIXEL_UNPACK_TRANSFER_BUFFER_CHROMIUM 0x78EC |
120 #define GR_GL_PIXEL_PACK_TRANSFER_BUFFER_CHROMIUM 0x78ED | 120 #define GR_GL_PIXEL_PACK_TRANSFER_BUFFER_CHROMIUM 0x78ED |
121 | 121 |
122 #define GR_GL_STREAM_DRAW 0x88E0 | 122 #define GR_GL_STREAM_DRAW 0x88E0 |
123 #define GR_GL_STREAM_READ 0x88E1 | 123 #define GR_GL_STREAM_READ 0x88E1 |
124 #define GR_GL_STATIC_DRAW 0x88E4 | 124 #define GR_GL_STATIC_DRAW 0x88E4 |
125 #define GR_GL_STATIC_READ 0x88E5 | 125 #define GR_GL_STATIC_READ 0x88E5 |
126 #define GR_GL_DYNAMIC_DRAW 0x88E8 | 126 #define GR_GL_DYNAMIC_DRAW 0x88E8 |
127 #define GR_GL_DYNAMIC_READ 0x88E9 | 127 #define GR_GL_DYNAMIC_READ 0x88E9 |
128 | 128 |
129 #define GR_GL_BUFFER_SIZE 0x8764 | 129 #define GR_GL_BUFFER_SIZE 0x8764 |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 #define GR_GL_POLYGON_SMOOTH 0x0B41 | 161 #define GR_GL_POLYGON_SMOOTH 0x0B41 |
162 #define GR_GL_POLYGON_STIPPLE 0x0B42 | 162 #define GR_GL_POLYGON_STIPPLE 0x0B42 |
163 #define GR_GL_COLOR_LOGIC_OP 0x0BF2 | 163 #define GR_GL_COLOR_LOGIC_OP 0x0BF2 |
164 #define GR_GL_COLOR_TABLE 0x80D0 | 164 #define GR_GL_COLOR_TABLE 0x80D0 |
165 #define GR_GL_INDEX_LOGIC_OP 0x0BF1 | 165 #define GR_GL_INDEX_LOGIC_OP 0x0BF1 |
166 #define GR_GL_VERTEX_PROGRAM_POINT_SIZE 0x8642 | 166 #define GR_GL_VERTEX_PROGRAM_POINT_SIZE 0x8642 |
167 #define GR_GL_LINE_STIPPLE 0x0B24 | 167 #define GR_GL_LINE_STIPPLE 0x0B24 |
168 #define GR_GL_FRAMEBUFFER_SRGB 0x8DB9 | 168 #define GR_GL_FRAMEBUFFER_SRGB 0x8DB9 |
169 #define GR_GL_SHADER_PIXEL_LOCAL_STORAGE 0x8F64 | 169 #define GR_GL_SHADER_PIXEL_LOCAL_STORAGE 0x8F64 |
170 #define GR_GL_SAMPLE_SHADING 0x8C36 | 170 #define GR_GL_SAMPLE_SHADING 0x8C36 |
171 | 171 |
172 /* ErrorCode */ | 172 /* ErrorCode */ |
173 #define GR_GL_NO_ERROR 0 | 173 #define GR_GL_NO_ERROR 0 |
174 #define GR_GL_INVALID_ENUM 0x0500 | 174 #define GR_GL_INVALID_ENUM 0x0500 |
175 #define GR_GL_INVALID_VALUE 0x0501 | 175 #define GR_GL_INVALID_VALUE 0x0501 |
176 #define GR_GL_INVALID_OPERATION 0x0502 | 176 #define GR_GL_INVALID_OPERATION 0x0502 |
177 #define GR_GL_OUT_OF_MEMORY 0x0505 | 177 #define GR_GL_OUT_OF_MEMORY 0x0505 |
178 #define GR_GL_CONTEXT_LOST 0x300E // TODO(gman): What value? | 178 #define GR_GL_CONTEXT_LOST 0x300E // TODO(gman): What value? |
179 | 179 |
180 /* FrontFaceDirection */ | 180 /* FrontFaceDirection */ |
181 #define GR_GL_CW 0x0900 | 181 #define GR_GL_CW 0x0900 |
(...skipping 785 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
967 #define GR_EGL_EXTENSIONS 0x3055 | 967 #define GR_EGL_EXTENSIONS 0x3055 |
968 #define GR_EGL_GL_TEXTURE_2D 0x30B1 | 968 #define GR_EGL_GL_TEXTURE_2D 0x30B1 |
969 #define GR_EGL_GL_TEXTURE_LEVEL 0x30BC | 969 #define GR_EGL_GL_TEXTURE_LEVEL 0x30BC |
970 #define GR_EGL_IMAGE_PRESERVED 0x30D2 | 970 #define GR_EGL_IMAGE_PRESERVED 0x30D2 |
971 #define GR_EGL_FALSE 0x0 | 971 #define GR_EGL_FALSE 0x0 |
972 #define GR_EGL_TRUE 0x1 | 972 #define GR_EGL_TRUE 0x1 |
973 #define GR_EGL_NONE 0x3038 | 973 #define GR_EGL_NONE 0x3038 |
974 #define GR_EGL_NO_IMAGE ((GrEGLImage)0) | 974 #define GR_EGL_NO_IMAGE ((GrEGLImage)0) |
975 | 975 |
976 #endif | 976 #endif |
OLD | NEW |