| 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 19 matching lines...) Expand all Loading... |
| 30 #include "SkXfermode.h" | 30 #include "SkXfermode.h" |
| 31 | 31 |
| 32 class GrClip; | 32 class GrClip; |
| 33 class GrCaps; | 33 class GrCaps; |
| 34 class GrPath; | 34 class GrPath; |
| 35 class GrPathRange; | 35 class GrPathRange; |
| 36 class GrPipeline; | 36 class GrPipeline; |
| 37 | 37 |
| 38 class GrDrawTarget : public SkRefCnt { | 38 class GrDrawTarget : public SkRefCnt { |
| 39 public: | 39 public: |
| 40 SK_DECLARE_INST_COUNT(GrDrawTarget) | 40 |
| 41 | 41 |
| 42 typedef GrPathRange::PathIndexType PathIndexType; | 42 typedef GrPathRange::PathIndexType PathIndexType; |
| 43 typedef GrPathRendering::PathTransformType PathTransformType; | 43 typedef GrPathRendering::PathTransformType PathTransformType; |
| 44 | 44 |
| 45 /////////////////////////////////////////////////////////////////////////// | 45 /////////////////////////////////////////////////////////////////////////// |
| 46 | 46 |
| 47 // The context may not be fully constructed and should not be used during Gr
DrawTarget | 47 // The context may not be fully constructed and should not be used during Gr
DrawTarget |
| 48 // construction. | 48 // construction. |
| 49 GrDrawTarget(GrGpu* gpu, GrResourceProvider*); | 49 GrDrawTarget(GrGpu* gpu, GrResourceProvider*); |
| 50 | 50 |
| (...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 342 virtual bool setupClip(GrPipelineBuilder*, | 342 virtual bool setupClip(GrPipelineBuilder*, |
| 343 GrPipelineBuilder::AutoRestoreFragmentProcessors*, | 343 GrPipelineBuilder::AutoRestoreFragmentProcessors*, |
| 344 GrPipelineBuilder::AutoRestoreStencil*, | 344 GrPipelineBuilder::AutoRestoreStencil*, |
| 345 GrScissorState* scissorState, | 345 GrScissorState* scissorState, |
| 346 const SkRect* devBounds) override; | 346 const SkRect* devBounds) override; |
| 347 | 347 |
| 348 typedef GrDrawTarget INHERITED; | 348 typedef GrDrawTarget INHERITED; |
| 349 }; | 349 }; |
| 350 | 350 |
| 351 #endif | 351 #endif |
| OLD | NEW |