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

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

Issue 726913002: 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/GrGpuResourceCacheAccess.h ('k') | src/gpu/GrPathRange.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 2012 Google Inc. 2 * Copyright 2012 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 GrPath_DEFINED 8 #ifndef GrPath_DEFINED
9 #define GrPath_DEFINED 9 #define GrPath_DEFINED
10 10
11 #include "GrGpuResource.h" 11 #include "GrGpuResource.h"
12 #include "GrResourceCache.h"
12 #include "SkPath.h" 13 #include "SkPath.h"
13 #include "SkRect.h" 14 #include "SkRect.h"
14 #include "SkStrokeRec.h" 15 #include "SkStrokeRec.h"
15 16
16 class GrPath : public GrGpuResource { 17 class GrPath : public GrGpuResource {
17 public: 18 public:
18 SK_DECLARE_INST_COUNT(GrPath); 19 SK_DECLARE_INST_COUNT(GrPath);
19 20
20 /** 21 /**
21 * Initialize to a path with a fixed stroke. Stroke must not be hairline. 22 * Initialize to a path with a fixed stroke. Stroke must not be hairline.
(...skipping 19 matching lines...) Expand all
41 protected: 42 protected:
42 SkPath fSkPath; 43 SkPath fSkPath;
43 SkStrokeRec fStroke; 44 SkStrokeRec fStroke;
44 SkRect fBounds; 45 SkRect fBounds;
45 46
46 private: 47 private:
47 typedef GrGpuResource INHERITED; 48 typedef GrGpuResource INHERITED;
48 }; 49 };
49 50
50 #endif 51 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrGpuResourceCacheAccess.h ('k') | src/gpu/GrPathRange.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698