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

Side by Side Diff: src/gpu/GrAADistanceFieldPathRenderer.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 | « include/gpu/SkGr.h ('k') | src/gpu/GrContext.cpp » ('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 GrAADistanceFieldPathRenderer_DEFINED 9 #ifndef GrAADistanceFieldPathRenderer_DEFINED
10 #define GrAADistanceFieldPathRenderer_DEFINED 10 #define GrAADistanceFieldPathRenderer_DEFINED
11 11
12 #include "GrAllocPool.h" 12 #include "GrAllocPool.h"
13 #include "GrAtlas.h" 13 #include "GrAtlas.h"
14 #include "GrPathRenderer.h" 14 #include "GrPathRenderer.h"
15 #include "GrRect.h" 15 #include "GrRect.h"
16 16
17 #include "SkChecksum.h" 17 #include "SkChecksum.h"
18 #include "SkTDynamicHash.h"
19 18
20 class GrContext; 19 class GrContext;
21 class GrPlot; 20 class GrPlot;
22 21
23 class GrAADistanceFieldPathRenderer : public GrPathRenderer { 22 class GrAADistanceFieldPathRenderer : public GrPathRenderer {
24 public: 23 public:
25 GrAADistanceFieldPathRenderer(GrContext* context); 24 GrAADistanceFieldPathRenderer(GrContext* context);
26 virtual ~GrAADistanceFieldPathRenderer(); 25 virtual ~GrAADistanceFieldPathRenderer();
27 26
28 virtual bool canDrawPath(const SkPath& path, 27 virtual bool canDrawPath(const SkPath& path,
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 77
79 bool internalDrawPath(const SkPath& path, const PathData* pathData, GrDrawTa rget* target); 78 bool internalDrawPath(const SkPath& path, const PathData* pathData, GrDrawTa rget* target);
80 PathData* addPathToAtlas(const SkPath& path, const SkStrokeRec& stroke, bool antiAlias, 79 PathData* addPathToAtlas(const SkPath& path, const SkStrokeRec& stroke, bool antiAlias,
81 uint32_t dimension, SkScalar scale); 80 uint32_t dimension, SkScalar scale);
82 bool freeUnusedPlot(); 81 bool freeUnusedPlot();
83 82
84 typedef GrPathRenderer INHERITED; 83 typedef GrPathRenderer INHERITED;
85 }; 84 };
86 85
87 #endif 86 #endif
OLDNEW
« no previous file with comments | « include/gpu/SkGr.h ('k') | src/gpu/GrContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698