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

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

Issue 2147443004: Retract PipelineBuilder from GrClip::apply (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Appease some compilers Created 4 years, 5 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/GrDrawContext.cpp ('k') | src/gpu/GrDrawTarget.h » ('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 2016 Google Inc. 2 * Copyright 2016 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 GrDrawContextPriv_DEFINED 8 #ifndef GrDrawContextPriv_DEFINED
9 #define GrDrawContextPriv_DEFINED 9 #define GrDrawContextPriv_DEFINED
10 10
(...skipping 15 matching lines...) Expand all
26 } 26 }
27 27
28 void clearStencilClip(const SkIRect& rect, bool insideClip); 28 void clearStencilClip(const SkIRect& rect, bool insideClip);
29 29
30 void stencilRect(const GrFixedClip& clip, 30 void stencilRect(const GrFixedClip& clip,
31 const GrUserStencilSettings* ss, 31 const GrUserStencilSettings* ss,
32 bool useHWAA, 32 bool useHWAA,
33 const SkMatrix& viewMatrix, 33 const SkMatrix& viewMatrix,
34 const SkRect& rect); 34 const SkRect& rect);
35 35
36 void stencilPath(const GrPipelineBuilder&, 36 void stencilPath(const GrClip&,
37 const GrClip&, 37 const GrUserStencilSettings* ss,
38 bool useHWAA,
38 const SkMatrix& viewMatrix, 39 const SkMatrix& viewMatrix,
39 const GrPath*, 40 const GrPath*);
40 GrPathRendering::FillType);
41 41
42 bool drawAndStencilRect(const GrFixedClip&, 42 bool drawAndStencilRect(const GrFixedClip&,
43 const GrUserStencilSettings*, 43 const GrUserStencilSettings*,
44 SkRegion::Op op, 44 SkRegion::Op op,
45 bool invert, 45 bool invert,
46 bool doAA, 46 bool doAA,
47 const SkMatrix& viewMatrix, 47 const SkMatrix& viewMatrix,
48 const SkRect&); 48 const SkRect&);
49 49
50 bool drawAndStencilPath(const GrFixedClip&, 50 bool drawAndStencilPath(const GrFixedClip&,
(...skipping 23 matching lines...) Expand all
74 friend class GrDrawContext; // to construct/copy this type. 74 friend class GrDrawContext; // to construct/copy this type.
75 }; 75 };
76 76
77 inline GrDrawContextPriv GrDrawContext::drawContextPriv() { return GrDrawContext Priv(this); } 77 inline GrDrawContextPriv GrDrawContext::drawContextPriv() { return GrDrawContext Priv(this); }
78 78
79 inline const GrDrawContextPriv GrDrawContext::drawContextPriv () const { 79 inline const GrDrawContextPriv GrDrawContext::drawContextPriv () const {
80 return GrDrawContextPriv(const_cast<GrDrawContext*>(this)); 80 return GrDrawContextPriv(const_cast<GrDrawContext*>(this));
81 } 81 }
82 82
83 #endif 83 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrDrawContext.cpp ('k') | src/gpu/GrDrawTarget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698