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

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

Issue 638403003: Remove uses of GrAutoScratchTexture. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 6 years, 2 months 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/GrSWMaskHelper.cpp ('k') | src/gpu/GrTexture.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 2012 Google Inc. 3 * Copyright 2012 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 GrSoftwarePathRenderer_DEFINED 9 #ifndef GrSoftwarePathRenderer_DEFINED
10 #define GrSoftwarePathRenderer_DEFINED 10 #define GrSoftwarePathRenderer_DEFINED
11 11
12 #include "GrPathRenderer.h" 12 #include "GrPathRenderer.h"
13 13
14 class GrContext; 14 class GrContext;
15 class GrAutoScratchTexture;
16 15
17 /** 16 /**
18 * This class uses the software side to render a path to an SkBitmap and 17 * This class uses the software side to render a path to an SkBitmap and
19 * then uploads the result to the gpu 18 * then uploads the result to the gpu
20 */ 19 */
21 class GrSoftwarePathRenderer : public GrPathRenderer { 20 class GrSoftwarePathRenderer : public GrPathRenderer {
22 public: 21 public:
23 GrSoftwarePathRenderer(GrContext* context) 22 GrSoftwarePathRenderer(GrContext* context)
24 : fContext(context) { 23 : fContext(context) {
25 } 24 }
(...skipping 12 matching lines...) Expand all
38 GrDrawTarget*, 37 GrDrawTarget*,
39 bool antiAlias) SK_OVERRIDE; 38 bool antiAlias) SK_OVERRIDE;
40 39
41 private: 40 private:
42 GrContext* fContext; 41 GrContext* fContext;
43 42
44 typedef GrPathRenderer INHERITED; 43 typedef GrPathRenderer INHERITED;
45 }; 44 };
46 45
47 #endif 46 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrSWMaskHelper.cpp ('k') | src/gpu/GrTexture.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698