| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |