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 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 #define GR_GL_POLYGON_OFFSET_FILL 0x8037 | 158 #define GR_GL_POLYGON_OFFSET_FILL 0x8037 |
159 #define GR_GL_POLYGON_SMOOTH 0x0B41 | 159 #define GR_GL_POLYGON_SMOOTH 0x0B41 |
160 #define GR_GL_POLYGON_STIPPLE 0x0B42 | 160 #define GR_GL_POLYGON_STIPPLE 0x0B42 |
161 #define GR_GL_COLOR_LOGIC_OP 0x0BF2 | 161 #define GR_GL_COLOR_LOGIC_OP 0x0BF2 |
162 #define GR_GL_COLOR_TABLE 0x80D0 | 162 #define GR_GL_COLOR_TABLE 0x80D0 |
163 #define GR_GL_INDEX_LOGIC_OP 0x0BF1 | 163 #define GR_GL_INDEX_LOGIC_OP 0x0BF1 |
164 #define GR_GL_VERTEX_PROGRAM_POINT_SIZE 0x8642 | 164 #define GR_GL_VERTEX_PROGRAM_POINT_SIZE 0x8642 |
165 #define GR_GL_LINE_STIPPLE 0x0B24 | 165 #define GR_GL_LINE_STIPPLE 0x0B24 |
166 #define GR_GL_FRAMEBUFFER_SRGB 0x8DB9 | 166 #define GR_GL_FRAMEBUFFER_SRGB 0x8DB9 |
167 #define GR_GL_SHADER_PIXEL_LOCAL_STORAGE 0x8F64 | 167 #define GR_GL_SHADER_PIXEL_LOCAL_STORAGE 0x8F64 |
168 | 168 #define GR_GL_SAMPLE_SHADING 0x8C36 |
| 169 |
169 /* ErrorCode */ | 170 /* ErrorCode */ |
170 #define GR_GL_NO_ERROR 0 | 171 #define GR_GL_NO_ERROR 0 |
171 #define GR_GL_INVALID_ENUM 0x0500 | 172 #define GR_GL_INVALID_ENUM 0x0500 |
172 #define GR_GL_INVALID_VALUE 0x0501 | 173 #define GR_GL_INVALID_VALUE 0x0501 |
173 #define GR_GL_INVALID_OPERATION 0x0502 | 174 #define GR_GL_INVALID_OPERATION 0x0502 |
174 #define GR_GL_OUT_OF_MEMORY 0x0505 | 175 #define GR_GL_OUT_OF_MEMORY 0x0505 |
175 #define GR_GL_CONTEXT_LOST 0x300E // TODO(gman): What value? | 176 #define GR_GL_CONTEXT_LOST 0x300E // TODO(gman): What value? |
176 | 177 |
177 /* FrontFaceDirection */ | 178 /* FrontFaceDirection */ |
178 #define GR_GL_CW 0x0900 | 179 #define GR_GL_CW 0x0900 |
(...skipping 785 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
964 #define GR_EGL_EXTENSIONS 0x3055 | 965 #define GR_EGL_EXTENSIONS 0x3055 |
965 #define GR_EGL_GL_TEXTURE_2D 0x30B1 | 966 #define GR_EGL_GL_TEXTURE_2D 0x30B1 |
966 #define GR_EGL_GL_TEXTURE_LEVEL 0x30BC | 967 #define GR_EGL_GL_TEXTURE_LEVEL 0x30BC |
967 #define GR_EGL_IMAGE_PRESERVED 0x30D2 | 968 #define GR_EGL_IMAGE_PRESERVED 0x30D2 |
968 #define GR_EGL_FALSE 0x0 | 969 #define GR_EGL_FALSE 0x0 |
969 #define GR_EGL_TRUE 0x1 | 970 #define GR_EGL_TRUE 0x1 |
970 #define GR_EGL_NONE 0x3038 | 971 #define GR_EGL_NONE 0x3038 |
971 #define GR_EGL_NO_IMAGE ((GrEGLImage)0) | 972 #define GR_EGL_NO_IMAGE ((GrEGLImage)0) |
972 | 973 |
973 #endif | 974 #endif |
OLD | NEW |