Home
last modified time | relevance | path

Searched defs:ProxySrc (Results 1 – 2 of 2) sorted by relevance

/external/skia/dm/
DDMSrcSinkAndroid.cpp43 struct ProxySrc : public Src { in draw() struct
44 const Src& fSrc; in draw()
45 ProxySrc(const Src& src) in draw() function
48 Error draw(SkCanvas* canvas) const override { in draw()
62 SkISize size() const override { return fSrc.size(); } in draw()
63 Name name() const override { sk_throw(); return ""; } in draw()
DDMSrcSink.cpp502 class ProxySrc : public Src { in draw_to_canvas() class
504 ProxySrc(SkISize size, SkFunction<Error(SkCanvas*)> draw) : fSize(size), fDraw(draw) {} in draw_to_canvas() function in DM::draw_to_canvas::ProxySrc