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

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

Issue 815553003: Move ViewMatrix off of drawstate (Closed) Base URL: https://skia.googlesource.com/skia.git@remove-fragment-stage
Patch Set: more cleaning Created 5 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/GrGeometryProcessor.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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 void onFlush() SK_OVERRIDE; 195 void onFlush() SK_OVERRIDE;
196 196
197 // overrides from GrDrawTarget 197 // overrides from GrDrawTarget
198 void onDraw(const GrDrawState&, 198 void onDraw(const GrDrawState&,
199 const GrGeometryProcessor*, 199 const GrGeometryProcessor*,
200 const DrawInfo&, 200 const DrawInfo&,
201 const GrScissorState&, 201 const GrScissorState&,
202 const GrDeviceCoordTexture* dstCopy) SK_OVERRIDE; 202 const GrDeviceCoordTexture* dstCopy) SK_OVERRIDE;
203 void onDrawRect(GrDrawState*, 203 void onDrawRect(GrDrawState*,
204 GrColor, 204 GrColor,
205 const SkMatrix& viewMatrix,
205 const SkRect& rect, 206 const SkRect& rect,
206 const SkRect* localRect, 207 const SkRect* localRect,
207 const SkMatrix* localMatrix) SK_OVERRIDE; 208 const SkMatrix* localMatrix) SK_OVERRIDE;
208 209
209 void onStencilPath(const GrDrawState&, 210 void onStencilPath(const GrDrawState&,
210 const GrPathProcessor*, 211 const GrPathProcessor*,
211 const GrPath*, 212 const GrPath*,
212 const GrScissorState&, 213 const GrScissorState&,
213 const GrStencilSettings&) SK_OVERRIDE; 214 const GrStencilSettings&) SK_OVERRIDE;
214 void onDrawPath(const GrDrawState&, 215 void onDrawPath(const GrDrawState&,
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 GrOptDrawState* fPrevState; 269 GrOptDrawState* fPrevState;
269 SkTArray<GrTraceMarkerSet, false> fGpuCmdMarkers; 270 SkTArray<GrTraceMarkerSet, false> fGpuCmdMarkers;
270 SkTDArray<char> fPathIndexBuffer; 271 SkTDArray<char> fPathIndexBuffer;
271 SkTDArray<float> fPathTransformBuffer; 272 SkTDArray<float> fPathTransformBuffer;
272 uint32_t fDrawID; 273 uint32_t fDrawID;
273 274
274 typedef GrFlushToGpuDrawTarget INHERITED; 275 typedef GrFlushToGpuDrawTarget INHERITED;
275 }; 276 };
276 277
277 #endif 278 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrGeometryProcessor.cpp ('k') | src/gpu/GrInOrderDrawBuffer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698