Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(55)

Side by Side Diff: src/gpu/gl/GrGLDefines.h

Issue 1124423007: Improve NVPR stroke accuracy to fix thick strokes (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/gpu/gl/GrGLPath.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 820 matching lines...) Expand 10 before | Expand all | Expand 10 after
831 #define GR_GL_LINE_TO 0x04 831 #define GR_GL_LINE_TO 0x04
832 #define GR_GL_QUADRATIC_CURVE_TO 0x0A 832 #define GR_GL_QUADRATIC_CURVE_TO 0x0A
833 #define GR_GL_CUBIC_CURVE_TO 0x0C 833 #define GR_GL_CUBIC_CURVE_TO 0x0C
834 #define GR_GL_CONIC_CURVE_TO 0x1A 834 #define GR_GL_CONIC_CURVE_TO 0x1A
835 835
836 // path parameters 836 // path parameters
837 #define GR_GL_PATH_STROKE_WIDTH 0x9075 837 #define GR_GL_PATH_STROKE_WIDTH 0x9075
838 #define GR_GL_PATH_END_CAPS 0x9076 838 #define GR_GL_PATH_END_CAPS 0x9076
839 #define GR_GL_PATH_JOIN_STYLE 0x9079 839 #define GR_GL_PATH_JOIN_STYLE 0x9079
840 #define GR_GL_PATH_MITER_LIMIT 0x907A 840 #define GR_GL_PATH_MITER_LIMIT 0x907A
841 #define GR_GL_PATH_STROKE_BOUND 0x9086
841 842
842 // fill modes 843 // fill modes
843 #define GR_GL_COUNT_UP 0x9088 844 #define GR_GL_COUNT_UP 0x9088
844 845
845 // cover mode 846 // cover mode
846 #define GR_GL_BOUNDING_BOX 0x908D 847 #define GR_GL_BOUNDING_BOX 0x908D
847 #define GR_GL_BOUNDING_BOX_OF_BOUNDING_BOXES 0x909C 848 #define GR_GL_BOUNDING_BOX_OF_BOUNDING_BOXES 0x909C
848 849
849 // transform type 850 // transform type
850 #define GR_GL_TRANSLATE_X 0x908E 851 #define GR_GL_TRANSLATE_X 0x908E
(...skipping 21 matching lines...) Expand all
872 // NV_path_rendering extension to EXT_direct_state_access: 873 // NV_path_rendering extension to EXT_direct_state_access:
873 // [the matrix functions] must support the PATH_PROJECTION_NV and 874 // [the matrix functions] must support the PATH_PROJECTION_NV and
874 // PATH_MODELVIEW_NV tokens for matrixMode. 875 // PATH_MODELVIEW_NV tokens for matrixMode.
875 #define GR_GL_PATH_PROJECTION 0x1701 876 #define GR_GL_PATH_PROJECTION 0x1701
876 #define GR_GL_PATH_MODELVIEW 0x1700 877 #define GR_GL_PATH_MODELVIEW 0x1700
877 878
878 /* ARM specific define for MSAA support on framebuffer fetch */ 879 /* ARM specific define for MSAA support on framebuffer fetch */
879 #define GR_GL_FETCH_PER_SAMPLE_ARM 0x8F65 880 #define GR_GL_FETCH_PER_SAMPLE_ARM 0x8F65
880 881
881 #endif 882 #endif
OLDNEW
« no previous file with comments | « no previous file | src/gpu/gl/GrGLPath.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698