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

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

Issue 441623005: Remove unused matrix param from GrContext/GrDrawTarget rect drawing functions. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Address comment Created 6 years, 4 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/GrDrawTarget.cpp ('k') | src/gpu/GrInOrderDrawBuffer.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 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 GrInOrderDrawBuffer_DEFINED 8 #ifndef GrInOrderDrawBuffer_DEFINED
9 #define GrInOrderDrawBuffer_DEFINED 9 #define GrInOrderDrawBuffer_DEFINED
10 10
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 }; 148 };
149 149
150 struct Clip : public ::SkNoncopyable { 150 struct Clip : public ::SkNoncopyable {
151 SkClipStack fStack; 151 SkClipStack fStack;
152 SkIPoint fOrigin; 152 SkIPoint fOrigin;
153 }; 153 };
154 154
155 // overrides from GrDrawTarget 155 // overrides from GrDrawTarget
156 virtual void onDraw(const DrawInfo&) SK_OVERRIDE; 156 virtual void onDraw(const DrawInfo&) SK_OVERRIDE;
157 virtual void onDrawRect(const SkRect& rect, 157 virtual void onDrawRect(const SkRect& rect,
158 const SkMatrix* matrix,
159 const SkRect* localRect, 158 const SkRect* localRect,
160 const SkMatrix* localMatrix) SK_OVERRIDE; 159 const SkMatrix* localMatrix) SK_OVERRIDE;
161 160
162 virtual void onStencilPath(const GrPath*, SkPath::FillType) SK_OVERRIDE; 161 virtual void onStencilPath(const GrPath*, SkPath::FillType) SK_OVERRIDE;
163 virtual void onDrawPath(const GrPath*, SkPath::FillType, 162 virtual void onDrawPath(const GrPath*, SkPath::FillType,
164 const GrDeviceCoordTexture* dstCopy) SK_OVERRIDE; 163 const GrDeviceCoordTexture* dstCopy) SK_OVERRIDE;
165 virtual void onDrawPaths(const GrPathRange*, 164 virtual void onDrawPaths(const GrPathRange*,
166 const uint32_t indices[], int count, 165 const uint32_t indices[], int count,
167 const float transforms[], PathTransformType, 166 const float transforms[], PathTransformType,
168 SkPath::FillType, const GrDeviceCoordTexture*) SK_O VERRIDE; 167 SkPath::FillType, const GrDeviceCoordTexture*) SK_O VERRIDE;
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 285
287 void addToCmdBuffer(uint8_t cmd); 286 void addToCmdBuffer(uint8_t cmd);
288 287
289 bool fFlushing; 288 bool fFlushing;
290 uint32_t fDrawID; 289 uint32_t fDrawID;
291 290
292 typedef GrDrawTarget INHERITED; 291 typedef GrDrawTarget INHERITED;
293 }; 292 };
294 293
295 #endif 294 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrDrawTarget.cpp ('k') | src/gpu/GrInOrderDrawBuffer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698