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

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

Issue 2006643005: Start on replacing path+style with shape in patherenderer (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: rebase after breaking out more Created 4 years, 6 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/GrSoftwarePathRenderer.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 * 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 GrSoftwarePathRenderer_DEFINED 8 #ifndef GrSoftwarePathRenderer_DEFINED
9 #define GrSoftwarePathRenderer_DEFINED 9 #define GrSoftwarePathRenderer_DEFINED
10 10
(...skipping 19 matching lines...) Expand all
30 const SkMatrix& localMatrix); 30 const SkMatrix& localMatrix);
31 static void DrawAroundInvPath(GrDrawContext* drawContext, 31 static void DrawAroundInvPath(GrDrawContext* drawContext,
32 const GrPaint* paint, 32 const GrPaint* paint,
33 const GrUserStencilSettings* userStencilSettin gs, 33 const GrUserStencilSettings* userStencilSettin gs,
34 const GrClip& clip, 34 const GrClip& clip,
35 GrColor color, 35 GrColor color,
36 const SkMatrix& viewMatrix, 36 const SkMatrix& viewMatrix,
37 const SkIRect& devClipBounds, 37 const SkIRect& devClipBounds,
38 const SkIRect& devPathBounds); 38 const SkIRect& devPathBounds);
39 39
40 StencilSupport onGetStencilSupport(const SkPath&) const override { 40 StencilSupport onGetStencilSupport(const GrShape&) const override {
41 return GrPathRenderer::kNoSupport_StencilSupport; 41 return GrPathRenderer::kNoSupport_StencilSupport;
42 } 42 }
43 43
44 bool onCanDrawPath(const CanDrawPathArgs&) const override; 44 bool onCanDrawPath(const CanDrawPathArgs&) const override;
45 45
46 bool onDrawPath(const DrawPathArgs&) override; 46 bool onDrawPath(const DrawPathArgs&) override;
47 47
48 private: 48 private:
49 GrTextureProvider* fTexProvider; 49 GrTextureProvider* fTexProvider;
50 50
51 typedef GrPathRenderer INHERITED; 51 typedef GrPathRenderer INHERITED;
52 }; 52 };
53 53
54 #endif 54 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrSWMaskHelper.cpp ('k') | src/gpu/GrSoftwarePathRenderer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698