Searched refs:FakePaint (Results 1 - 5 of 5) sorted by relevance
/third_party/skia/experimental/sorttoy/ |
H A D | sorttoy.cpp | 290 test->push_back(sk_make_sp<DrawCmd>(ID(0), shape, r.makeOffset(8, 8), FakePaint(SK_ColorRED))); in test1() 291 test->push_back(sk_make_sp<DrawCmd>(ID(1), shape, r.makeOffset(48, 48), FakePaint(SK_ColorGREEN))); in test1() 310 test->push_back(sk_make_sp<DrawCmd>(ID(0), shape, r.makeOffset(8, 8), FakePaint(SK_ColorRED))); in test2() 311 test->push_back(sk_make_sp<DrawCmd>(ID(1), shape, r.makeOffset(48, 48), FakePaint(SK_ColorGREEN))); in test2() 312 test->push_back(sk_make_sp<DrawCmd>(ID(2), shape, r.makeOffset(98, 98), FakePaint(SK_ColorBLUE))); in test2() 331 test->push_back(sk_make_sp<DrawCmd>(ID(0), shape, r.makeOffset(8, 8), FakePaint(SK_ColorRED))); in test3() 332 test->push_back(sk_make_sp<DrawCmd>(ID(1), shape, r.makeOffset(48, 48), FakePaint(0x8000FF00))); in test3() 333 test->push_back(sk_make_sp<DrawCmd>(ID(2), shape, r.makeOffset(98, 98), FakePaint(SK_ColorBLUE))); in test3() 353 test->push_back(sk_make_sp<DrawCmd>(ID(0), shape, r.makeOffset(8, 8), FakePaint(0x80FF0000))); in test4() 354 test->push_back(sk_make_sp<DrawCmd>(ID(1), shape, r.makeOffset(48, 48), FakePaint( in test4() [all...] |
H A D | Fake.h | 129 // The FakePaint simulates two aspects of the SkPaint: 137 class FakePaint { class 139 FakePaint() {} in FakePaint() function in FakePaint 140 FakePaint(SkColor c) in FakePaint() function in FakePaint 209 void drawShape(ID, PaintersOrder, Shape, SkIRect, FakePaint); 252 void drawShape(ID, Shape, SkIRect, FakePaint);
|
H A D | Fake.cpp | 76 int FakePaint::toID() const { in toID() 85 SkColor FakePaint::evalColor(int x, int y) const { in evalColor() 112 void FakeDevice::drawShape(ID id, PaintersOrder paintersOrder, Shape shape, SkIRect r, FakePaint p) { in drawShape() 163 void FakeCanvas::drawShape(ID id, Shape shape, SkIRect r, FakePaint p) { in drawShape()
|
H A D | Cmds.h | 94 DrawCmd(ID, Shape, SkIRect, const FakePaint&); // for creating the test cases 95 DrawCmd(ID, PaintersOrder, Shape, SkIRect, const FakePaint&, sk_sp<FakeMCBlob> state); 123 FakePaint fPaint;
|
H A D | Cmds.cpp | 48 const FakePaint& p) in DrawCmd() 59 const FakePaint& p, in DrawCmd()
|
Completed in 4 milliseconds