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 784 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
795 | 795 |
796 #define GR_GL_INVALID_FRAMEBUFFER_OPERATION 0x0506 | 796 #define GR_GL_INVALID_FRAMEBUFFER_OPERATION 0x0506 |
797 | 797 |
798 /* Path Rendering */ | 798 /* Path Rendering */ |
799 // commands | 799 // commands |
800 #define GR_GL_CLOSE_PATH 0x00 | 800 #define GR_GL_CLOSE_PATH 0x00 |
801 #define GR_GL_MOVE_TO 0x02 | 801 #define GR_GL_MOVE_TO 0x02 |
802 #define GR_GL_LINE_TO 0x04 | 802 #define GR_GL_LINE_TO 0x04 |
803 #define GR_GL_QUADRATIC_CURVE_TO 0x0A | 803 #define GR_GL_QUADRATIC_CURVE_TO 0x0A |
804 #define GR_GL_CUBIC_CURVE_TO 0x0C | 804 #define GR_GL_CUBIC_CURVE_TO 0x0C |
| 805 #define GR_GL_CONIC_CURVE_TO 0x1A |
805 | 806 |
806 // path parameters | 807 // path parameters |
807 #define GR_GL_PATH_STROKE_WIDTH 0x9075 | 808 #define GR_GL_PATH_STROKE_WIDTH 0x9075 |
808 #define GR_GL_PATH_END_CAPS 0x9076 | 809 #define GR_GL_PATH_END_CAPS 0x9076 |
809 #define GR_GL_PATH_JOIN_STYLE 0x9079 | 810 #define GR_GL_PATH_JOIN_STYLE 0x9079 |
810 #define GR_GL_PATH_MITER_LIMIT 0x907A | 811 #define GR_GL_PATH_MITER_LIMIT 0x907A |
811 | 812 |
812 // fill modes | 813 // fill modes |
813 #define GR_GL_COUNT_UP 0x9088 | 814 #define GR_GL_COUNT_UP 0x9088 |
814 | 815 |
(...skipping 27 matching lines...) Expand all Loading... |
842 // NV_path_rendering extension to EXT_direct_state_access: | 843 // NV_path_rendering extension to EXT_direct_state_access: |
843 // [the matrix functions] must support the PATH_PROJECTION_NV and | 844 // [the matrix functions] must support the PATH_PROJECTION_NV and |
844 // PATH_MODELVIEW_NV tokens for matrixMode. | 845 // PATH_MODELVIEW_NV tokens for matrixMode. |
845 #define GR_GL_PATH_PROJECTION 0x1701 | 846 #define GR_GL_PATH_PROJECTION 0x1701 |
846 #define GR_GL_PATH_MODELVIEW 0x1700 | 847 #define GR_GL_PATH_MODELVIEW 0x1700 |
847 | 848 |
848 /* ARM specific define for MSAA support on framebuffer fetch */ | 849 /* ARM specific define for MSAA support on framebuffer fetch */ |
849 #define GR_GL_FETCH_PER_SAMPLE_ARM 0x8F65 | 850 #define GR_GL_FETCH_PER_SAMPLE_ARM 0x8F65 |
850 | 851 |
851 #endif | 852 #endif |
OLD | NEW |