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 355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
366 #define GR_GL_NORMALIZE 0x0BA1 | 366 #define GR_GL_NORMALIZE 0x0BA1 |
367 | 367 |
368 /* Matrix Mode */ | 368 /* Matrix Mode */ |
369 #define GR_GL_MATRIX_MODE 0x0BA0 | 369 #define GR_GL_MATRIX_MODE 0x0BA0 |
370 #define GR_GL_MODELVIEW 0x1700 | 370 #define GR_GL_MODELVIEW 0x1700 |
371 #define GR_GL_PROJECTION 0x1701 | 371 #define GR_GL_PROJECTION 0x1701 |
372 #define GR_GL_TEXTURE 0x1702 | 372 #define GR_GL_TEXTURE 0x1702 |
373 | 373 |
374 /* multisample */ | 374 /* multisample */ |
375 #define GR_GL_MULTISAMPLE 0x809D | 375 #define GR_GL_MULTISAMPLE 0x809D |
376 #define GR_GL_SAMPLE_LOCATION_NV 0x8E50 | |
Chris Dalton
2015/09/22 08:35:24
Here we can use the more standard GL_SAMPLE_POSITI
| |
376 | 377 |
377 /* Points */ | 378 /* Points */ |
378 #define GR_GL_POINT_SMOOTH 0x0B10 | 379 #define GR_GL_POINT_SMOOTH 0x0B10 |
379 #define GR_GL_POINT_SIZE 0x0B11 | 380 #define GR_GL_POINT_SIZE 0x0B11 |
380 #define GR_GL_POINT_SIZE_GRANULARITY 0x0B13 | 381 #define GR_GL_POINT_SIZE_GRANULARITY 0x0B13 |
381 #define GR_GL_POINT_SIZE_RANGE 0x0B12 | 382 #define GR_GL_POINT_SIZE_RANGE 0x0B12 |
382 | 383 |
383 /* Lines */ | 384 /* Lines */ |
384 #define GR_GL_LINE_SMOOTH 0x0B20 | 385 #define GR_GL_LINE_SMOOTH 0x0B20 |
385 #define GR_GL_LINE_STIPPLE 0x0B24 | 386 #define GR_GL_LINE_STIPPLE 0x0B24 |
(...skipping 496 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
882 #define GR_GL_FETCH_PER_SAMPLE_ARM 0x8F65 | 883 #define GR_GL_FETCH_PER_SAMPLE_ARM 0x8F65 |
883 | 884 |
884 /* GL_EXT_raster_multisample */ | 885 /* GL_EXT_raster_multisample */ |
885 #define GR_GL_RASTER_MULTISAMPLE 0x9327 | 886 #define GR_GL_RASTER_MULTISAMPLE 0x9327 |
886 #define GR_GL_RASTER_SAMPLES 0x9328 | 887 #define GR_GL_RASTER_SAMPLES 0x9328 |
887 #define GR_GL_MAX_RASTER_SAMPLES 0x9329 | 888 #define GR_GL_MAX_RASTER_SAMPLES 0x9329 |
888 #define GR_GL_RASTER_FIXED_SAMPLE_LOCATIONS 0x932A | 889 #define GR_GL_RASTER_FIXED_SAMPLE_LOCATIONS 0x932A |
889 #define GR_GL_MULTISAMPLE_RASTERIZATION_ALLOWED 0x932B | 890 #define GR_GL_MULTISAMPLE_RASTERIZATION_ALLOWED 0x932B |
890 #define GR_GL_EFFECTIVE_RASTER_SAMPLES 0x932C | 891 #define GR_GL_EFFECTIVE_RASTER_SAMPLES 0x932C |
891 | 892 |
893 /* GL_NV_sample_locations */ | |
894 #define GR_GL_FRAMEBUFFER_PROGRAMMABLE_SAMPLE_LOCATIONS 0x9342 | |
895 | |
892 /* GL_KHR_debug */ | 896 /* GL_KHR_debug */ |
893 #define GR_GL_DEBUG_OUTPUT 0x92E0 | 897 #define GR_GL_DEBUG_OUTPUT 0x92E0 |
894 #define GR_GL_DEBUG_OUTPUT_SYNCHRONOUS 0x8242 | 898 #define GR_GL_DEBUG_OUTPUT_SYNCHRONOUS 0x8242 |
895 #define GR_GL_CONTEXT_FLAG_DEBUG_BIT 0x00000002 | 899 #define GR_GL_CONTEXT_FLAG_DEBUG_BIT 0x00000002 |
896 #define GR_GL_MAX_DEBUG_MESSAGE_LENGTH 0x9143 | 900 #define GR_GL_MAX_DEBUG_MESSAGE_LENGTH 0x9143 |
897 #define GR_GL_MAX_DEBUG_LOGGED_MESSAGES 0x9144 | 901 #define GR_GL_MAX_DEBUG_LOGGED_MESSAGES 0x9144 |
898 #define GR_GL_DEBUG_LOGGED_MESSAGES 0x9145 | 902 #define GR_GL_DEBUG_LOGGED_MESSAGES 0x9145 |
899 #define GR_GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH 0x8243 | 903 #define GR_GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH 0x8243 |
900 #define GR_GL_MAX_DEBUG_GROUP_STACK_DEPTH 0x826C | 904 #define GR_GL_MAX_DEBUG_GROUP_STACK_DEPTH 0x826C |
901 #define GR_GL_DEBUG_GROUP_STACK_DEPTH 0x826D | 905 #define GR_GL_DEBUG_GROUP_STACK_DEPTH 0x826D |
(...skipping 20 matching lines...) Expand all Loading... | |
922 #define GR_GL_STACK_UNDERFLOW 0x0504 | 926 #define GR_GL_STACK_UNDERFLOW 0x0504 |
923 #define GR_GL_STACK_OVERFLOW 0x0503 | 927 #define GR_GL_STACK_OVERFLOW 0x0503 |
924 #define GR_GL_BUFFER 0x82E0 | 928 #define GR_GL_BUFFER 0x82E0 |
925 #define GR_GL_SHADER 0x82E1 | 929 #define GR_GL_SHADER 0x82E1 |
926 #define GR_GL_PROGRAM 0x82E2 | 930 #define GR_GL_PROGRAM 0x82E2 |
927 #define GR_GL_QUERY 0x82E3 | 931 #define GR_GL_QUERY 0x82E3 |
928 #define GR_GL_PROGRAM_PIPELINE 0x82E4 | 932 #define GR_GL_PROGRAM_PIPELINE 0x82E4 |
929 #define GR_GL_SAMPLER 0x82E6 | 933 #define GR_GL_SAMPLER 0x82E6 |
930 | 934 |
931 #endif | 935 #endif |
OLD | NEW |