Home
last modified time | relevance | path

Searched refs:CanvasOp (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/libs/hwui/canvas/
DCanvasOps.h43 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 …]
DCanvasOpBuffer.h34 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()
DCanvasOpRasterizer.h52 void draw(const CanvasOp<T>& op) { in draw()
53 if constexpr (CanvasOpTraits::can_draw<CanvasOp<T>>) { in draw()
DCanvasOpRasterizer.cpp36 if constexpr (CanvasOpTraits::can_draw<CanvasOp<T>>) { in rasterizeCanvasBuffer()
DCanvasFrontend.h165 void draw(CanvasOp<T>&& op) { in draw()
209 void submit(CanvasOp<T>&& op) { in submit()
/frameworks/base/libs/hwui/tests/unit/
DCanvasOpTests.cpp64 TEST(CanvasOp, verifyConst) { in TEST() argument
78 TEST(CanvasOp, simplePush) { in TEST() argument
118 TEST(CanvasOp, simpleDrawPaint) { in TEST() argument
133 TEST(CanvasOp, simpleDrawPoint) { in TEST() argument
149 TEST(CanvasOp, simpleDrawPoints) { in TEST() argument
161 buffer.push(CanvasOp<Op::DrawPoints> { in TEST()
174 TEST(CanvasOp, simpleDrawLine) { in TEST() argument
192 TEST(CanvasOp, simpleDrawLines) { in TEST() argument
203 buffer.push(CanvasOp<Op::DrawLines> { in TEST()
216 TEST(CanvasOp, simpleDrawRect) { in TEST() argument
[all …]
DCanvasFrontendTests.cpp130 return CanvasOp<CanvasOpType::DrawRect>{ in TEST()
/frameworks/base/libs/hwui/tests/microbench/
DCanvasOpBench.cpp75 canvas.draw(CanvasOp<CanvasOpType::DrawRect> { in BM_CanvasOpBuffer_record_simpleBitmapView()
84 canvas.draw(CanvasOp<CanvasOpType::DrawImage> { in BM_CanvasOpBuffer_record_simpleBitmapView()