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

Side by Side Diff: src/gpu/batches/GrMSAAPathRenderer.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 GrMSAAPathRenderer_DEFINED 8 #ifndef GrMSAAPathRenderer_DEFINED
9 #define GrMSAAPathRenderer_DEFINED 9 #define GrMSAAPathRenderer_DEFINED
10 10
11 #include "GrPathRenderer.h" 11 #include "GrPathRenderer.h"
12 #include "SkTypes.h" 12 #include "SkTypes.h"
13 13
14 class SK_API GrMSAAPathRenderer : public GrPathRenderer { 14 class SK_API GrMSAAPathRenderer : public GrPathRenderer {
15 private: 15 private:
16 StencilSupport onGetStencilSupport(const SkPath&) const override; 16 StencilSupport onGetStencilSupport(const SkPath&) const override;
17 17
18 bool onCanDrawPath(const CanDrawPathArgs&) const override; 18 bool onCanDrawPath(const CanDrawPathArgs&) const override;
19 19
20 bool onDrawPath(const DrawPathArgs&) override; 20 bool onDrawPath(const DrawPathArgs&) override;
21 21
22 void onStencilPath(const StencilPathArgs&) override; 22 void onStencilPath(const StencilPathArgs&) override;
23 23
24 bool internalDrawPath(GrDrawTarget*, 24 bool internalDrawPath(GrDrawContext*,
25 GrPipelineBuilder*, 25 const GrPaint&,
26 const GrUserStencilSettings*,
26 const GrClip&, 27 const GrClip&,
27 GrColor, 28 GrColor,
28 const SkMatrix& viewMatrix, 29 const SkMatrix& viewMatrix,
29 const SkPath&, 30 const SkPath&,
30 bool stencilOnly); 31 bool stencilOnly);
31 32
32 typedef GrPathRenderer INHERITED; 33 typedef GrPathRenderer INHERITED;
33 }; 34 };
34 35
35 #endif 36 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698