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 718 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
729 #define GR_GL_READ_FRAMEBUFFER 0x8CA8 | 729 #define GR_GL_READ_FRAMEBUFFER 0x8CA8 |
730 #define GR_GL_DRAW_FRAMEBUFFER 0x8CA9 | 730 #define GR_GL_DRAW_FRAMEBUFFER 0x8CA9 |
731 | 731 |
732 #define GR_GL_RENDERBUFFER 0x8D41 | 732 #define GR_GL_RENDERBUFFER 0x8D41 |
733 | 733 |
734 #define GR_GL_RGBA4 0x8056 | 734 #define GR_GL_RGBA4 0x8056 |
735 #define GR_GL_RGB5_A1 0x8057 | 735 #define GR_GL_RGB5_A1 0x8057 |
736 #define GR_GL_RGB565 0x8D62 | 736 #define GR_GL_RGB565 0x8D62 |
737 #define GR_GL_RGBA8 0x8058 | 737 #define GR_GL_RGBA8 0x8058 |
738 #define GR_GL_RGBA32F 0x8814 | 738 #define GR_GL_RGBA32F 0x8814 |
| 739 #define GR_GL_RGB5 0x8050 |
739 #define GR_GL_RGB8 0x8051 | 740 #define GR_GL_RGB8 0x8051 |
740 #define GR_GL_BGRA8 0x93A1 | 741 #define GR_GL_BGRA8 0x93A1 |
741 #define GR_GL_SRGB 0x8C40 | 742 #define GR_GL_SRGB 0x8C40 |
742 #define GR_GL_SRGB8 0x8C41 | 743 #define GR_GL_SRGB8 0x8C41 |
743 #define GR_GL_SRGB_ALPHA 0x8C42 | 744 #define GR_GL_SRGB_ALPHA 0x8C42 |
744 #define GR_GL_SRGB8_ALPHA8 0x8C43 | 745 #define GR_GL_SRGB8_ALPHA8 0x8C43 |
745 #define GR_GL_DEPTH_COMPONENT16 0x81A5 | 746 #define GR_GL_DEPTH_COMPONENT16 0x81A5 |
746 #define GR_GL_STENCIL_INDEX 0x1901 | 747 #define GR_GL_STENCIL_INDEX 0x1901 |
747 #define GR_GL_STENCIL_INDEX4 0x8D47 | 748 #define GR_GL_STENCIL_INDEX4 0x8D47 |
748 #define GR_GL_STENCIL_INDEX8 0x8D48 | 749 #define GR_GL_STENCIL_INDEX8 0x8D48 |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
847 // NV_path_rendering extension to EXT_direct_state_access: | 848 // NV_path_rendering extension to EXT_direct_state_access: |
848 // [the matrix functions] must support the PATH_PROJECTION_NV and | 849 // [the matrix functions] must support the PATH_PROJECTION_NV and |
849 // PATH_MODELVIEW_NV tokens for matrixMode. | 850 // PATH_MODELVIEW_NV tokens for matrixMode. |
850 #define GR_GL_PATH_PROJECTION 0x1701 | 851 #define GR_GL_PATH_PROJECTION 0x1701 |
851 #define GR_GL_PATH_MODELVIEW 0x1700 | 852 #define GR_GL_PATH_MODELVIEW 0x1700 |
852 | 853 |
853 /* ARM specific define for MSAA support on framebuffer fetch */ | 854 /* ARM specific define for MSAA support on framebuffer fetch */ |
854 #define GR_GL_FETCH_PER_SAMPLE_ARM 0x8F65 | 855 #define GR_GL_FETCH_PER_SAMPLE_ARM 0x8F65 |
855 | 856 |
856 #endif | 857 #endif |
OLD | NEW |