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

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

Issue 1969693003: Revert of Separate user and raw stencil settings (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 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 | « src/gpu/gl/GrGLGpu.cpp ('k') | src/gpu/gl/GrGLPathRendering.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 2014 Google Inc. 2 * Copyright 2014 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 #ifndef GrGLPathRendering_DEFINED 8 #ifndef GrGLPathRendering_DEFINED
9 #define GrGLPathRendering_DEFINED 9 #define GrGLPathRendering_DEFINED
10 10
11 #include "SkRefCnt.h" 11 #include "SkRefCnt.h"
12 #include "GrPathRendering.h" 12 #include "GrPathRendering.h"
13 #include "GrStencil.h"
13 #include "gl/GrGLTypes.h" 14 #include "gl/GrGLTypes.h"
14 #include "glsl/GrGLSLUtil.h" 15 #include "glsl/GrGLSLUtil.h"
15 16
16 class GrGLNameAllocator; 17 class GrGLNameAllocator;
17 class GrGLGpu; 18 class GrGLGpu;
18 class GrStencilSettings;
19 class GrStyle; 19 class GrStyle;
20 20
21 /** 21 /**
22 * This class wraps the NV_path_rendering extension and manages its various 22 * This class wraps the NV_path_rendering extension and manages its various
23 * API versions. If a method is not present in the GrGLInterface of the GrGLGpu 23 * API versions. If a method is not present in the GrGLInterface of the GrGLGpu
24 * (because the driver version is old), it tries to provide a backup 24 * (because the driver version is old), it tries to provide a backup
25 * implementation. But if a backup implementation is not practical, it marks the 25 * implementation. But if a backup implementation is not practical, it marks the
26 * method as not supported. 26 * method as not supported.
27 */ 27 */
28 class GrGLPathRendering : public GrPathRendering { 28 class GrGLPathRendering : public GrPathRendering {
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 GrGLGpu* gpu(); 123 GrGLGpu* gpu();
124 124
125 GrGLuint fFirstPreallocatedPathID; 125 GrGLuint fFirstPreallocatedPathID;
126 GrGLsizei fPreallocatedPathCount; 126 GrGLsizei fPreallocatedPathCount;
127 MatrixState fHWProjectionMatrixState; 127 MatrixState fHWProjectionMatrixState;
128 GrStencilSettings fHWPathStencilSettings; 128 GrStencilSettings fHWPathStencilSettings;
129 Caps fCaps; 129 Caps fCaps;
130 }; 130 };
131 131
132 #endif 132 #endif
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLGpu.cpp ('k') | src/gpu/gl/GrGLPathRendering.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698