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

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

Issue 1410333003: Move definitions of GrGL basic types (e.g. GrGLenum) to their own header. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 2 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/GrGLPathRange.h ('k') | src/gpu/gl/GrGLVertexArray.h » ('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 "GrStencil.h"
14 #include "gl/GrGLFunctions.h"
15 #include "gl/GrGLProgram.h" 14 #include "gl/GrGLProgram.h"
15 #include "gl/GrGLTypes.h"
16 16
17 class GrGLNameAllocator; 17 class GrGLNameAllocator;
18 class GrGLGpu; 18 class GrGLGpu;
19 19
20 /** 20 /**
21 * This class wraps the NV_path_rendering extension and manages its various 21 * This class wraps the NV_path_rendering extension and manages its various
22 * API versions. If a method is not present in the GrGLInterface of the GrGLGpu 22 * API versions. If a method is not present in the GrGLInterface of the GrGLGpu
23 * (because the driver version is old), it tries to provide a backup 23 * (because the driver version is old), it tries to provide a backup
24 * implementation. But if a backup implementation is not practical, it marks the 24 * implementation. But if a backup implementation is not practical, it marks the
25 * method as not supported. 25 * method as not supported.
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 }; 111 };
112 GrGLGpu* gpu(); 112 GrGLGpu* gpu();
113 113
114 SkAutoTDelete<GrGLNameAllocator> fPathNameAllocator; 114 SkAutoTDelete<GrGLNameAllocator> fPathNameAllocator;
115 MatrixState fHWProjectionMatrixState; 115 MatrixState fHWProjectionMatrixState;
116 GrStencilSettings fHWPathStencilSettings; 116 GrStencilSettings fHWPathStencilSettings;
117 Caps fCaps; 117 Caps fCaps;
118 }; 118 };
119 119
120 #endif 120 #endif
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLPathRange.h ('k') | src/gpu/gl/GrGLVertexArray.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698