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

Side by Side Diff: src/gpu/gl/GrGLPathRange.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/GrGLPath.h ('k') | src/gpu/gl/GrGLPathRendering.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 /* 2 /*
3 * Copyright 2014 Google Inc. 3 * Copyright 2014 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 #ifndef GrGLPathRange_DEFINED 9 #ifndef GrGLPathRange_DEFINED
10 #define GrGLPathRange_DEFINED 10 #define GrGLPathRange_DEFINED
11 11
12 #include "../GrPathRange.h" 12 #include "../GrPathRange.h"
13 #include "GrStrokeInfo.h" 13 #include "GrStrokeInfo.h"
14 #include "gl/GrGLFunctions.h" 14 #include "gl/GrGLTypes.h"
15 15
16 class GrGLGpu; 16 class GrGLGpu;
17 17
18 /** 18 /**
19 * Currently this represents a range of GL_NV_path_rendering Path IDs. If we 19 * Currently this represents a range of GL_NV_path_rendering Path IDs. If we
20 * support other GL path extensions then this would have to have a type enum 20 * support other GL path extensions then this would have to have a type enum
21 * and/or be subclassed. 21 * and/or be subclassed.
22 */ 22 */
23 23
24 class GrGLPathRange : public GrPathRange { 24 class GrGLPathRange : public GrPathRange {
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 const GrStrokeInfo fStroke; 58 const GrStrokeInfo fStroke;
59 GrGLuint fBasePathID; 59 GrGLuint fBasePathID;
60 mutable size_t fGpuMemorySize; 60 mutable size_t fGpuMemorySize;
61 bool fShouldStroke; 61 bool fShouldStroke;
62 bool fShouldFill; 62 bool fShouldFill;
63 63
64 typedef GrPathRange INHERITED; 64 typedef GrPathRange INHERITED;
65 }; 65 };
66 66
67 #endif 67 #endif
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLPath.h ('k') | src/gpu/gl/GrGLPathRendering.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698