| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |