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

Side by Side Diff: src/gpu/batches/GrDefaultPathRenderer.h

Issue 2035823002: Make GrClipMaskManager stateless and push GrPipelineBuilder construction downstack (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Address code review comments 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
OLDNEW
1 /* 1 /*
2 * Copyright 2011 Google Inc. 2 * Copyright 2011 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 GrDefaultPathRenderer_DEFINED 8 #ifndef GrDefaultPathRenderer_DEFINED
9 #define GrDefaultPathRenderer_DEFINED 9 #define GrDefaultPathRenderer_DEFINED
10 10
(...skipping 12 matching lines...) Expand all
23 private: 23 private:
24 24
25 StencilSupport onGetStencilSupport(const SkPath&) const override; 25 StencilSupport onGetStencilSupport(const SkPath&) const override;
26 26
27 bool onCanDrawPath(const CanDrawPathArgs&) const override; 27 bool onCanDrawPath(const CanDrawPathArgs&) const override;
28 28
29 bool onDrawPath(const DrawPathArgs&) override; 29 bool onDrawPath(const DrawPathArgs&) override;
30 30
31 void onStencilPath(const StencilPathArgs&) override; 31 void onStencilPath(const StencilPathArgs&) override;
32 32
33 bool internalDrawPath(GrDrawTarget*, 33 bool internalDrawPath(GrDrawContext*,
34 GrPipelineBuilder*, 34 const GrPaint&,
35 const GrUserStencilSettings*,
35 const GrClip&, 36 const GrClip&,
36 GrColor, 37 GrColor,
37 const SkMatrix& viewMatrix, 38 const SkMatrix& viewMatrix,
38 const SkPath&, 39 const SkPath&,
39 const GrStyle&, 40 const GrStyle&,
40 bool stencilOnly); 41 bool stencilOnly);
41 42
42 bool fSeparateStencil; 43 bool fSeparateStencil;
43 bool fStencilWrapOps; 44 bool fStencilWrapOps;
44 45
45 typedef GrPathRenderer INHERITED; 46 typedef GrPathRenderer INHERITED;
46 }; 47 };
47 48
48 #endif 49 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698