| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2015 Google Inc. | 2 * Copyright 2015 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 GrCommandBuilder_DEFINED | 8 #ifndef GrCommandBuilder_DEFINED |
| 9 #define GrCommandBuilder_DEFINED | 9 #define GrCommandBuilder_DEFINED |
| 10 | 10 |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 GrBufferedDrawTarget*, | 40 GrBufferedDrawTarget*, |
| 41 const GrPathProcessor*, | 41 const GrPathProcessor*, |
| 42 const GrPathRange*, | 42 const GrPathRange*, |
| 43 const void*, | 43 const void*, |
| 44 GrDrawTarget::PathIndexType, | 44 GrDrawTarget::PathIndexType, |
| 45 const float transformValues[], | 45 const float transformValues[], |
| 46 GrDrawTarget::PathTransformType , | 46 GrDrawTarget::PathTransformType , |
| 47 int, | 47 int, |
| 48 const GrStencilSettings&, | 48 const GrStencilSettings&, |
| 49 const GrPipelineOptimizations&) = 0; | 49 const GrPipelineOptimizations&) = 0; |
| 50 virtual Cmd* recordCopySurface(GrSurface* dst, | |
| 51 GrSurface* src, | |
| 52 const SkIRect& srcRect, | |
| 53 const SkIPoint& dstPoint); | |
| 54 | 50 |
| 55 protected: | 51 protected: |
| 56 typedef GrTargetCommands::DrawBatch DrawBatch; | 52 typedef GrTargetCommands::DrawBatch DrawBatch; |
| 57 typedef GrTargetCommands::StencilPath StencilPath; | 53 typedef GrTargetCommands::StencilPath StencilPath; |
| 58 typedef GrTargetCommands::DrawPath DrawPath; | 54 typedef GrTargetCommands::DrawPath DrawPath; |
| 59 typedef GrTargetCommands::DrawPaths DrawPaths; | 55 typedef GrTargetCommands::DrawPaths DrawPaths; |
| 60 typedef GrTargetCommands::CopySurface CopySurface; | |
| 61 | 56 |
| 62 GrCommandBuilder() {} | 57 GrCommandBuilder() {} |
| 63 | 58 |
| 64 GrTargetCommands::CmdBuffer* cmdBuffer() { return fCommands.cmdBuffer(); } | 59 GrTargetCommands::CmdBuffer* cmdBuffer() { return fCommands.cmdBuffer(); } |
| 65 private: | 60 private: |
| 66 GrTargetCommands fCommands; | 61 GrTargetCommands fCommands; |
| 67 | 62 |
| 68 }; | 63 }; |
| 69 | 64 |
| 70 #endif | 65 #endif |
| OLD | NEW |