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

Side by Side Diff: src/gpu/GrPathRange.h

Issue 715333003: Revert of Replace GrResourceCache with GrResourceCache2. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 1 month 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/GrPath.h ('k') | src/gpu/GrResourceCache.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 GrPathRange_DEFINED 8 #ifndef GrPathRange_DEFINED
9 #define GrPathRange_DEFINED 9 #define GrPathRange_DEFINED
10 10
11 #include "GrGpuResource.h" 11 #include "GrGpuResource.h"
12 #include "GrResourceCache.h"
12 #include "SkRefCnt.h" 13 #include "SkRefCnt.h"
13 #include "SkStrokeRec.h" 14 #include "SkStrokeRec.h"
14 #include "SkTArray.h" 15 #include "SkTArray.h"
15 16
16 class SkPath; 17 class SkPath;
17 class SkDescriptor; 18 class SkDescriptor;
18 19
19 /** 20 /**
20 * Represents a contiguous range of GPU path objects, all with a common stroke. 21 * Represents a contiguous range of GPU path objects, all with a common stroke.
21 * This object is immutable with the exception that individual paths may be 22 * This object is immutable with the exception that individual paths may be
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 81
81 mutable SkAutoTUnref<PathGenerator> fPathGenerator; 82 mutable SkAutoTUnref<PathGenerator> fPathGenerator;
82 mutable SkTArray<uint8_t, true /*MEM_COPY*/> fGeneratedPaths; 83 mutable SkTArray<uint8_t, true /*MEM_COPY*/> fGeneratedPaths;
83 const int fNumPaths; 84 const int fNumPaths;
84 const SkStrokeRec fStroke; 85 const SkStrokeRec fStroke;
85 86
86 typedef GrGpuResource INHERITED; 87 typedef GrGpuResource INHERITED;
87 }; 88 };
88 89
89 #endif 90 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrPath.h ('k') | src/gpu/GrResourceCache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698