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 640 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
651 #define GR_GL_SRGB8_ALPHA8 0x8C43 | 651 #define GR_GL_SRGB8_ALPHA8 0x8C43 |
652 #define GR_GL_DEPTH_COMPONENT16 0x81A5 | 652 #define GR_GL_DEPTH_COMPONENT16 0x81A5 |
653 #define GR_GL_STENCIL_INDEX 0x1901 | 653 #define GR_GL_STENCIL_INDEX 0x1901 |
654 #define GR_GL_STENCIL_INDEX4 0x8D47 | 654 #define GR_GL_STENCIL_INDEX4 0x8D47 |
655 #define GR_GL_STENCIL_INDEX8 0x8D48 | 655 #define GR_GL_STENCIL_INDEX8 0x8D48 |
656 #define GR_GL_STENCIL_INDEX16 0x8D49 | 656 #define GR_GL_STENCIL_INDEX16 0x8D49 |
657 #define GR_GL_DEPTH_STENCIL 0x84F9 | 657 #define GR_GL_DEPTH_STENCIL 0x84F9 |
658 #define GR_GL_DEPTH24_STENCIL8 0x88F0 | 658 #define GR_GL_DEPTH24_STENCIL8 0x88F0 |
659 | 659 |
660 #define GR_GL_MAX_SAMPLES 0x8D57 | 660 #define GR_GL_MAX_SAMPLES 0x8D57 |
| 661 // GL_IMG_multisampled_render_to_texture uses a different value for GL_MAX_SAMPL
ES |
| 662 #define GR_GL_MAX_SAMPLES_IMG 0x9135 |
661 | 663 |
662 #define GR_GL_RENDERBUFFER_WIDTH 0x8D42 | 664 #define GR_GL_RENDERBUFFER_WIDTH 0x8D42 |
663 #define GR_GL_RENDERBUFFER_HEIGHT 0x8D43 | 665 #define GR_GL_RENDERBUFFER_HEIGHT 0x8D43 |
664 #define GR_GL_RENDERBUFFER_INTERNAL_FORMAT 0x8D44 | 666 #define GR_GL_RENDERBUFFER_INTERNAL_FORMAT 0x8D44 |
665 #define GR_GL_RENDERBUFFER_RED_SIZE 0x8D50 | 667 #define GR_GL_RENDERBUFFER_RED_SIZE 0x8D50 |
666 #define GR_GL_RENDERBUFFER_GREEN_SIZE 0x8D51 | 668 #define GR_GL_RENDERBUFFER_GREEN_SIZE 0x8D51 |
667 #define GR_GL_RENDERBUFFER_BLUE_SIZE 0x8D52 | 669 #define GR_GL_RENDERBUFFER_BLUE_SIZE 0x8D52 |
668 #define GR_GL_RENDERBUFFER_ALPHA_SIZE 0x8D53 | 670 #define GR_GL_RENDERBUFFER_ALPHA_SIZE 0x8D53 |
669 #define GR_GL_RENDERBUFFER_DEPTH_SIZE 0x8D54 | 671 #define GR_GL_RENDERBUFFER_DEPTH_SIZE 0x8D54 |
670 #define GR_GL_RENDERBUFFER_STENCIL_SIZE 0x8D55 | 672 #define GR_GL_RENDERBUFFER_STENCIL_SIZE 0x8D55 |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
871 #define GR_GL_ADJACENT_PAIRS 0x90AE | 873 #define GR_GL_ADJACENT_PAIRS 0x90AE |
872 #define GR_GL_FIRST_TO_REST 0x90AF | 874 #define GR_GL_FIRST_TO_REST 0x90AF |
873 | 875 |
874 //path gen modes | 876 //path gen modes |
875 #define GR_GL_PATH_GEN_MODE 0x90B0 | 877 #define GR_GL_PATH_GEN_MODE 0x90B0 |
876 #define GR_GL_PATH_GEN_COEFF 0x90B1 | 878 #define GR_GL_PATH_GEN_COEFF 0x90B1 |
877 #define GR_GL_PATH_GEN_COLOR_FORMAT 0x90B2 | 879 #define GR_GL_PATH_GEN_COLOR_FORMAT 0x90B2 |
878 #define GR_GL_PATH_GEN_COMPONENTS 0x90B3 | 880 #define GR_GL_PATH_GEN_COMPONENTS 0x90B3 |
879 | 881 |
880 #endif | 882 #endif |
OLD | NEW |