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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 #define GR_GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E | 147 #define GR_GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E |
148 #define GR_GL_SAMPLE_COVERAGE 0x80A0 | 148 #define GR_GL_SAMPLE_COVERAGE 0x80A0 |
149 #define GR_GL_POLYGON_OFFSET_FILL 0x8037 | 149 #define GR_GL_POLYGON_OFFSET_FILL 0x8037 |
150 #define GR_GL_POLYGON_SMOOTH 0x0B41 | 150 #define GR_GL_POLYGON_SMOOTH 0x0B41 |
151 #define GR_GL_POLYGON_STIPPLE 0x0B42 | 151 #define GR_GL_POLYGON_STIPPLE 0x0B42 |
152 #define GR_GL_COLOR_LOGIC_OP 0x0BF2 | 152 #define GR_GL_COLOR_LOGIC_OP 0x0BF2 |
153 #define GR_GL_COLOR_TABLE 0x80D0 | 153 #define GR_GL_COLOR_TABLE 0x80D0 |
154 #define GR_GL_INDEX_LOGIC_OP 0x0BF1 | 154 #define GR_GL_INDEX_LOGIC_OP 0x0BF1 |
155 #define GR_GL_VERTEX_PROGRAM_POINT_SIZE 0x8642 | 155 #define GR_GL_VERTEX_PROGRAM_POINT_SIZE 0x8642 |
156 #define GR_GL_LINE_STIPPLE 0x0B24 | 156 #define GR_GL_LINE_STIPPLE 0x0B24 |
| 157 #define GR_GL_FRAMEBUFFER_SRGB 0x8DB9 |
157 | 158 |
158 /* ErrorCode */ | 159 /* ErrorCode */ |
159 #define GR_GL_NO_ERROR 0 | 160 #define GR_GL_NO_ERROR 0 |
160 #define GR_GL_INVALID_ENUM 0x0500 | 161 #define GR_GL_INVALID_ENUM 0x0500 |
161 #define GR_GL_INVALID_VALUE 0x0501 | 162 #define GR_GL_INVALID_VALUE 0x0501 |
162 #define GR_GL_INVALID_OPERATION 0x0502 | 163 #define GR_GL_INVALID_OPERATION 0x0502 |
163 #define GR_GL_OUT_OF_MEMORY 0x0505 | 164 #define GR_GL_OUT_OF_MEMORY 0x0505 |
164 #define GR_GL_CONTEXT_LOST 0x300E // TODO(gman): What value? | 165 #define GR_GL_CONTEXT_LOST 0x300E // TODO(gman): What value? |
165 | 166 |
166 /* FrontFaceDirection */ | 167 /* FrontFaceDirection */ |
(...skipping 707 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
874 // NV_path_rendering extension to EXT_direct_state_access: | 875 // NV_path_rendering extension to EXT_direct_state_access: |
875 // [the matrix functions] must support the PATH_PROJECTION_NV and | 876 // [the matrix functions] must support the PATH_PROJECTION_NV and |
876 // PATH_MODELVIEW_NV tokens for matrixMode. | 877 // PATH_MODELVIEW_NV tokens for matrixMode. |
877 #define GR_GL_PATH_PROJECTION 0x1701 | 878 #define GR_GL_PATH_PROJECTION 0x1701 |
878 #define GR_GL_PATH_MODELVIEW 0x1700 | 879 #define GR_GL_PATH_MODELVIEW 0x1700 |
879 | 880 |
880 /* ARM specific define for MSAA support on framebuffer fetch */ | 881 /* ARM specific define for MSAA support on framebuffer fetch */ |
881 #define GR_GL_FETCH_PER_SAMPLE_ARM 0x8F65 | 882 #define GR_GL_FETCH_PER_SAMPLE_ARM 0x8F65 |
882 | 883 |
883 #endif | 884 #endif |
OLD | NEW |