| 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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |