Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DRecordingCanvas.cpp268 struct DrawDrawable final : Op { struct
269 static const auto kType = Type::DrawDrawable;
270 DrawDrawable(SkDrawable* drawable, const SkMatrix* matrix) : drawable(sk_ref_sp(drawable)) { in DrawDrawable() argument
275 sk_sp<SkDrawable> drawable;
276 SkMatrix matrix = SkMatrix::I();
277 void draw(SkCanvas* c, const SkMatrix&) const { c->drawDrawable(drawable.get(), &matrix); } in draw()