20 std::unique_ptr<SkDrawable::GpuDrawHandler> drawable,
22 return GrOp::Make<DrawableOp>(context, std::move(drawable),
bounds);
25DrawableOp::DrawableOp(std::unique_ptr<SkDrawable::GpuDrawHandler> drawable,
28 , fDrawable(
std::move(drawable)) {
34 state->opsRenderPass()->executeDrawable(std::move(fDrawable));
std::unique_ptr< GrOp > Owner
const SkRect & bounds() const
void setBounds(const SkRect &newBounds, HasAABloat aabloat, IsHairline zeroArea)
static DEFINE_OP_CLASS_ID GrOp::Owner Make(GrRecordingContext *, std::unique_ptr< SkDrawable::GpuDrawHandler > drawable, const SkRect &bounds)
Optional< SkRect > bounds