Searched refs:CanvasOp (Results 1 – 8 of 8) sorted by relevance
43 struct CanvasOp;63 struct CanvasOp<CanvasOpType::Save> {69 struct CanvasOp<CanvasOpType::SaveLayer> {76 struct CanvasOp<CanvasOpType::SaveBehind> {83 struct CanvasOp<CanvasOpType::Restore> {89 struct CanvasOp<CanvasOpType::BeginZ> {92 struct CanvasOp<CanvasOpType::EndZ> {};99 struct CanvasOp<CanvasOpType::ClipRect> {107 struct CanvasOp<CanvasOpType::ClipPath> {119 struct CanvasOp<CanvasOpType::DrawRoundRectProperty> {[all …]
34 struct CanvasOp;44 CanvasOp<T> mImpl;47 CanvasOpContainer(CanvasOp<T>&& impl, const SkMatrix& transform = SkMatrix::I())55 CanvasOp<T>* operator->() noexcept { return &mImpl; }56 const CanvasOp<T>* operator->() const noexcept { return &mImpl; }58 CanvasOp<T>& op() noexcept { return mImpl; } in op()59 const CanvasOp<T>& op() const noexcept { return mImpl; } in op()74 void push(CanvasOp<T>&& op) { in push()
52 void draw(const CanvasOp<T>& op) { in draw()53 if constexpr (CanvasOpTraits::can_draw<CanvasOp<T>>) { in draw()
36 if constexpr (CanvasOpTraits::can_draw<CanvasOp<T>>) { in rasterizeCanvasBuffer()
165 void draw(CanvasOp<T>&& op) { in draw()209 void submit(CanvasOp<T>&& op) { in submit()
64 TEST(CanvasOp, verifyConst) { in TEST() argument78 TEST(CanvasOp, simplePush) { in TEST() argument118 TEST(CanvasOp, simpleDrawPaint) { in TEST() argument133 TEST(CanvasOp, simpleDrawPoint) { in TEST() argument149 TEST(CanvasOp, simpleDrawPoints) { in TEST() argument161 buffer.push(CanvasOp<Op::DrawPoints> { in TEST()174 TEST(CanvasOp, simpleDrawLine) { in TEST() argument192 TEST(CanvasOp, simpleDrawLines) { in TEST() argument203 buffer.push(CanvasOp<Op::DrawLines> { in TEST()216 TEST(CanvasOp, simpleDrawRect) { in TEST() argument[all …]
130 return CanvasOp<CanvasOpType::DrawRect>{ in TEST()
75 canvas.draw(CanvasOp<CanvasOpType::DrawRect> { in BM_CanvasOpBuffer_record_simpleBitmapView()84 canvas.draw(CanvasOp<CanvasOpType::DrawImage> { in BM_CanvasOpBuffer_record_simpleBitmapView()