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

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

Issue 716143004: Replace GrResourceCache with GrResourceCache2. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fix asserts 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"
13 #include "SkRefCnt.h" 12 #include "SkRefCnt.h"
14 #include "SkStrokeRec.h" 13 #include "SkStrokeRec.h"
15 #include "SkTArray.h" 14 #include "SkTArray.h"
16 15
17 class SkPath; 16 class SkPath;
18 class SkDescriptor; 17 class SkDescriptor;
19 18
20 /** 19 /**
21 * Represents a contiguous range of GPU path objects, all with a common stroke. 20 * Represents a contiguous range of GPU path objects, all with a common stroke.
22 * This object is immutable with the exception that individual paths may be 21 * This object is immutable with the exception that individual paths may be
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 80
82 mutable SkAutoTUnref<PathGenerator> fPathGenerator; 81 mutable SkAutoTUnref<PathGenerator> fPathGenerator;
83 mutable SkTArray<uint8_t, true /*MEM_COPY*/> fGeneratedPaths; 82 mutable SkTArray<uint8_t, true /*MEM_COPY*/> fGeneratedPaths;
84 const int fNumPaths; 83 const int fNumPaths;
85 const SkStrokeRec fStroke; 84 const SkStrokeRec fStroke;
86 85
87 typedef GrGpuResource INHERITED; 86 typedef GrGpuResource INHERITED;
88 }; 87 };
89 88
90 #endif 89 #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