Home | History | Annotate | Download | only in tests

Lines Matching refs:drawer

24 class Drawer {
26 explicit Drawer() : fImageInfo(SkImageInfo::MakeN32Premul(200, 100)) {
69 virtual const SkBitmap& recordAndReplay(const Drawer& drawer,
81 virtual const SkBitmap& recordAndReplay(const Drawer& drawer,
88 drawer.draw(&canvas, intoClip, mode); // Shouild be canvas-wide...
107 virtual const SkBitmap& recordAndReplay(const Drawer& drawer,
116 drawer.draw(canvas, canvasRect, mode);
137 const Drawer drawer;
139 BitmapBackedCanvasStrategy golden(drawer.imageInfo());
140 PictureStrategy picture(drawer.imageInfo());
151 const SkBitmap& goldenBM = golden.recordAndReplay(drawer, clip, mode);
152 const SkBitmap& pictureBM = picture.recordAndReplay(drawer, clip, mode);