OLD | NEW |
(Empty) | |
| 1 /* |
| 2 * Copyright 2015 Google Inc. |
| 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. |
| 6 */ |
| 7 |
| 8 #ifndef GrInOrderCommandBuilder_DEFINED |
| 9 #define GrInOrderCommandBuilder_DEFINED |
| 10 |
| 11 #include "GrCommandBuilder.h" |
| 12 |
| 13 class GrInOrderCommandBuilder : public GrCommandBuilder { |
| 14 public: |
| 15 typedef GrCommandBuilder::Cmd Cmd; |
| 16 typedef GrCommandBuilder::State State; |
| 17 |
| 18 GrInOrderCommandBuilder(GrFoo* foo, GrGpu* gpu, GrRenderTarget* dst) : INHER
ITED(foo, gpu, dst) { } |
| 19 |
| 20 Cmd* recordDrawBatch(GrBatch*, const GrCaps&) override; |
| 21 |
| 22 Cmd* recordDrawPaths(State*, |
| 23 GrBufferedDrawTarget*, |
| 24 const GrPathProcessor*, |
| 25 const GrPathRange*, |
| 26 const void*, |
| 27 GrDrawTarget::PathIndexType, |
| 28 const float transformValues[], |
| 29 GrDrawTarget::PathTransformType , |
| 30 int, |
| 31 const GrStencilSettings&, |
| 32 const GrPipelineOptimizations&) override; |
| 33 |
| 34 private: |
| 35 typedef GrCommandBuilder INHERITED; |
| 36 |
| 37 }; |
| 38 |
| 39 #endif |
OLD | NEW |