Home
last modified time | relevance | path

Searched refs:ClipCmd (Results 1 – 5 of 5) sorted by relevance

/third_party/skia/experimental/sorttoy/
DCmds.cpp183 ClipCmd::ClipCmd(ID id, Shape shape, SkIRect r) in ClipCmd() function in ClipCmd
189 ClipCmd::ClipCmd(ID id, PaintersOrder paintersOrderWhenAdded, Shape shape, SkIRect r) in ClipCmd() function in ClipCmd
196 ClipCmd::~ClipCmd() {} in ~ClipCmd()
198 bool ClipCmd::contains(int x, int y) const { in contains()
202 uint32_t ClipCmd::getSortZ() const { in getSortZ()
209 uint32_t ClipCmd::getDrawZ() const { in getDrawZ()
215 SortKey ClipCmd::getKey() { in getKey()
219 void ClipCmd::onAboutToBePopped(PaintersOrder paintersOrderWhenPopped) { in onAboutToBePopped()
224 void ClipCmd::execute(FakeCanvas* c) const { in execute()
231 void ClipCmd::execute(SkCanvas* c) const { in execute()
[all …]
DFake.cpp13 void FakeMCBlob::MCState::addClip(sk_sp<ClipCmd> clipCmd) { in addClip()
34 for (sk_sp<ClipCmd>& c : fCmds) { in aboutToBePopped()
45 for (const sk_sp<ClipCmd>& c : s.fCmds) { in FakeMCBlob()
122 sk_sp<ClipCmd> tmp = sk_make_sp<ClipCmd>(id, paintersOrder, shape, r); in clipShape()
DCmds.h128 class ClipCmd : public Cmd {
130 ClipCmd(ID, Shape, SkIRect); // for creating the test cases
131 ClipCmd(ID, PaintersOrder paintersOrderWhenAdded, Shape, SkIRect);
132 ~ClipCmd() override;
DFake.h18 class ClipCmd; variable
33 void addClip(sk_sp<ClipCmd> clipCmd);
44 const std::vector<sk_sp<ClipCmd>>& cmds() const { return fCmds; } in cmds()
62 std::vector<sk_sp<ClipCmd>> fCmds;
108 void clip(sk_sp<ClipCmd> clipCmd) { in clip()
Dsorttoy.cpp144 for (const sk_sp<ClipCmd>& c : s.cmds()) { in check_state()
183 s.clip(sk_make_sp<ClipCmd>(ID(1), Shape::kRect, r)); in mcstack_test()
191 s.clip(sk_make_sp<ClipCmd>(ID(2), Shape::kRect, r)); in mcstack_test()
197 s.clip(sk_make_sp<ClipCmd>(ID(3), Shape::kRect, r)); in mcstack_test()
412 test->push_back(sk_make_sp<ClipCmd>(ID(0), clipShape, SkIRect::MakeXYWH(28, 28, 40, 40))); in test6()
439 test->push_back(sk_make_sp<ClipCmd>(ID(0), clipShape, SkIRect::MakeXYWH(85, 0, 86, 256))); in test7()
447 test->push_back(sk_make_sp<ClipCmd>(ID(3), clipShape, SkIRect::MakeXYWH(0, 85, 256, 86))); in test7()