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

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

Issue 1584703003: Remove two varieties of drawNonAARect from GrDrawTarget (Closed) Base URL: https://skia.googlesource.com/skia.git@hidedrawtargetabit
Patch Set: deprecation message on GrTest Created 4 years, 11 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.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 2010 Google Inc. 2 * Copyright 2010 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 GrDrawTarget_DEFINED 8 #ifndef GrDrawTarget_DEFINED
9 #define GrDrawTarget_DEFINED 9 #define GrDrawTarget_DEFINED
10 10
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 * @param localMatrix Optional local matrix. The local coordinates are speci fied by localRect, 130 * @param localMatrix Optional local matrix. The local coordinates are speci fied by localRect,
131 * or if it is nullptr by rect. This matrix applies to th e coordinate implied by 131 * or if it is nullptr by rect. This matrix applies to th e coordinate implied by
132 * that rectangle before it is input to GrCoordTransforms that read local 132 * that rectangle before it is input to GrCoordTransforms that read local
133 * coordinates 133 * coordinates
134 */ 134 */
135 void drawNonAARect(const GrPipelineBuilder& pipelineBuilder, 135 void drawNonAARect(const GrPipelineBuilder& pipelineBuilder,
136 GrColor color, 136 GrColor color,
137 const SkMatrix& viewMatrix, 137 const SkMatrix& viewMatrix,
138 const SkRect& rect); 138 const SkRect& rect);
139 139
140 void drawNonAARect(const GrPipelineBuilder& pipelineBuilder,
141 GrColor color,
142 const SkMatrix& viewMatrix,
143 const SkRect& rect,
144 const SkMatrix& localMatrix);
145
146 void drawNonAARect(const GrPipelineBuilder& pipelineBuilder,
147 GrColor color,
148 const SkMatrix& viewMatrix,
149 const SkRect& rect,
150 const SkRect& localRect);
151
152 void drawNonAARect(const GrPipelineBuilder& ds, 140 void drawNonAARect(const GrPipelineBuilder& ds,
153 GrColor color, 141 GrColor color,
154 const SkMatrix& viewM, 142 const SkMatrix& viewM,
155 const SkIRect& irect) { 143 const SkIRect& irect) {
156 SkRect rect = SkRect::Make(irect); 144 SkRect rect = SkRect::Make(irect);
157 this->drawNonAARect(ds, color, viewM, rect); 145 this->drawNonAARect(ds, color, viewM, rect);
158 } 146 }
159 147
160 void drawAARect(const GrPipelineBuilder& pipelineBuilder, 148 void drawAARect(const GrPipelineBuilder& pipelineBuilder,
161 GrColor color, 149 GrColor color,
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 SkTDArray<GrDrawTarget*> fDependencies; 286 SkTDArray<GrDrawTarget*> fDependencies;
299 GrRenderTarget* fRenderTarget; 287 GrRenderTarget* fRenderTarget;
300 288
301 bool fDrawBatchBounds; 289 bool fDrawBatchBounds;
302 int fMaxBatchLookback; 290 int fMaxBatchLookback;
303 291
304 typedef SkRefCnt INHERITED; 292 typedef SkRefCnt INHERITED;
305 }; 293 };
306 294
307 #endif 295 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrDrawContext.cpp ('k') | src/gpu/GrDrawTarget.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698