| OLD | NEW |
| 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 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 236 GrXferProcessor::DstTexture*, | 236 GrXferProcessor::DstTexture*, |
| 237 const SkRect* drawBounds); | 237 const SkRect* drawBounds); |
| 238 | 238 |
| 239 virtual void onDrawBatch(GrBatch*) = 0; | 239 virtual void onDrawBatch(GrBatch*) = 0; |
| 240 | 240 |
| 241 private: | 241 private: |
| 242 virtual void onReset() = 0; | 242 virtual void onReset() = 0; |
| 243 | 243 |
| 244 virtual void onFlush() = 0; | 244 virtual void onFlush() = 0; |
| 245 | 245 |
| 246 virtual void onDrawPath(const GrPathProcessor*, | |
| 247 const GrPath*, | |
| 248 const GrStencilSettings&, | |
| 249 const PipelineInfo&) = 0; | |
| 250 virtual void onDrawPaths(const GrPathProcessor*, | 246 virtual void onDrawPaths(const GrPathProcessor*, |
| 251 const GrPathRange*, | 247 const GrPathRange*, |
| 252 const void* indices, | 248 const void* indices, |
| 253 PathIndexType, | 249 PathIndexType, |
| 254 const float transformValues[], | 250 const float transformValues[], |
| 255 PathTransformType, | 251 PathTransformType, |
| 256 int count, | 252 int count, |
| 257 const GrStencilSettings&, | 253 const GrStencilSettings&, |
| 258 const PipelineInfo&) = 0; | 254 const PipelineInfo&) = 0; |
| 259 | 255 |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 318 bool setupClip(const GrPipelineBuilder&, | 314 bool setupClip(const GrPipelineBuilder&, |
| 319 GrPipelineBuilder::AutoRestoreFragmentProcessorState*, | 315 GrPipelineBuilder::AutoRestoreFragmentProcessorState*, |
| 320 GrPipelineBuilder::AutoRestoreStencil*, | 316 GrPipelineBuilder::AutoRestoreStencil*, |
| 321 GrScissorState* scissorState, | 317 GrScissorState* scissorState, |
| 322 const SkRect* devBounds) override; | 318 const SkRect* devBounds) override; |
| 323 | 319 |
| 324 typedef GrDrawTarget INHERITED; | 320 typedef GrDrawTarget INHERITED; |
| 325 }; | 321 }; |
| 326 | 322 |
| 327 #endif | 323 #endif |
| OLD | NEW |