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

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

Issue 1842753002: Style bikeshed - remove extraneous whitespace (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 8 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/GrCaps.cpp ('k') | src/gpu/GrClipMaskManager.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 #ifndef GrClipMaskManager_DEFINED 7 #ifndef GrClipMaskManager_DEFINED
8 #define GrClipMaskManager_DEFINED 8 #define GrClipMaskManager_DEFINED
9 9
10 #include "GrPipelineBuilder.h" 10 #include "GrPipelineBuilder.h"
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 * the manager when it must install additional effects to implement the 64 * the manager when it must install additional effects to implement the
65 * clip. devBounds is optional but can help optimize clipping. 65 * clip. devBounds is optional but can help optimize clipping.
66 */ 66 */
67 bool setupClipping(const GrPipelineBuilder&, 67 bool setupClipping(const GrPipelineBuilder&,
68 GrPipelineBuilder::AutoRestoreStencil*, 68 GrPipelineBuilder::AutoRestoreStencil*,
69 const SkRect* devBounds, 69 const SkRect* devBounds,
70 GrAppliedClip*); 70 GrAppliedClip*);
71 71
72 bool setupScissorClip(const GrPipelineBuilder& pipelineBuilder, 72 bool setupScissorClip(const GrPipelineBuilder& pipelineBuilder,
73 GrPipelineBuilder::AutoRestoreStencil* ars, 73 GrPipelineBuilder::AutoRestoreStencil* ars,
74 const SkIRect& scissor, 74 const SkIRect& scissor,
75 const SkRect* devBounds, 75 const SkRect* devBounds,
76 GrAppliedClip* out); 76 GrAppliedClip* out);
77 77
78 void adjustPathStencilParams(const GrStencilAttachment*, GrStencilSettings*) ; 78 void adjustPathStencilParams(const GrStencilAttachment*, GrStencilSettings*) ;
79 79
80 private: 80 private:
81 inline GrContext* getContext(); 81 inline GrContext* getContext();
82 inline const GrCaps* caps() const; 82 inline const GrCaps* caps() const;
83 inline GrResourceProvider* resourceProvider(); 83 inline GrResourceProvider* resourceProvider();
84 84
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 169
170 static const int kMaxAnalyticElements = 4; 170 static const int kMaxAnalyticElements = 4;
171 171
172 GrDrawTarget* fDrawTarget; // This is our owning draw target. 172 GrDrawTarget* fDrawTarget; // This is our owning draw target.
173 StencilClipMode fClipMode; 173 StencilClipMode fClipMode;
174 bool fDebugClipBatchToBounds; 174 bool fDebugClipBatchToBounds;
175 175
176 typedef SkNoncopyable INHERITED; 176 typedef SkNoncopyable INHERITED;
177 }; 177 };
178 #endif // GrClipMaskManager_DEFINED 178 #endif // GrClipMaskManager_DEFINED
OLDNEW
« no previous file with comments | « src/gpu/GrCaps.cpp ('k') | src/gpu/GrClipMaskManager.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698