Lines Matching defs:drawable
142 uint32_t e, uint32_t f, uint32_t g, uint32_t h, SkDrawable* drawable)
145 , fDrawable(SkRef(drawable))
149 SkDrawable* drawable)
152 , fDrawable(SkRef(drawable))
172 sk_sp<SkFlattenable> drawable(
174 SkASSERT(drawable);
178 (SkDrawable*) drawable.get()));
185 SkDrawable* drawable() const { return fDrawable.get(); }
210 // Create and serialize the test drawable
211 sk_sp<SkDrawable> drawable(new IntDrawable(1, 2, 3, 4));
214 sk_sp<RootDrawable> root(new RootDrawable(5, 6, 7, 8, paint, 9, 10, 11, 12, drawable.get()));
223 // Deserialize and verify the drawable
240 // Note that we can still recognize the generic drawable as an IntDrawable
241 SkDrawable* generic = rootOut->drawable();
264 sk_sp<SkDrawable> drawable(new IntDrawable(1, 2, 3, 4));
265 sk_sp<RootDrawable> root(new RootDrawable(5, 6, 7, 8, paint, 9, 10, 11, 12, drawable.get()));
272 // Serialize the recorded drawable
282 // Deserialize and verify the drawable