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 GrImmediateDrawTarget_DEFINED | 8 #ifndef GrImmediateDrawTarget_DEFINED |
9 #define GrImmediateDrawTarget_DEFINED | 9 #define GrImmediateDrawTarget_DEFINED |
10 | 10 |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 const GrPathRange*, | 50 const GrPathRange*, |
51 const void* indices, | 51 const void* indices, |
52 PathIndexType, | 52 PathIndexType, |
53 const float transformValues[], | 53 const float transformValues[], |
54 PathTransformType, | 54 PathTransformType, |
55 int count, | 55 int count, |
56 const GrStencilSettings&, | 56 const GrStencilSettings&, |
57 const PipelineInfo&) override { | 57 const PipelineInfo&) override { |
58 SkFAIL("Only batch implemented\n"); | 58 SkFAIL("Only batch implemented\n"); |
59 } | 59 } |
60 void onCopySurface(GrSurface* dst, | |
61 GrSurface* src, | |
62 const SkIRect& srcRect, | |
63 const SkIPoint& dstPoint) override; | |
64 | 60 |
65 bool isIssued(uint32_t drawID) override { return drawID != fDrawID; } | 61 bool isIssued(uint32_t drawID) override { return drawID != fDrawID; } |
66 | 62 |
67 uint32_t fDrawID; | 63 uint32_t fDrawID; |
68 | 64 |
69 typedef GrClipTarget INHERITED; | 65 typedef GrClipTarget INHERITED; |
70 }; | 66 }; |
71 | 67 |
72 #endif | 68 #endif |
OLD | NEW |