Lines Matching defs:GM
30 []() { return std::unique_ptr<skiagm::GM>([]() { CODE; }()); });
32 // A Simple GM is a rendering test that does not store state between rendering calls or make use of
92 class GM {
96 GM(SkColor backgroundColor = SK_ColorWHITE);
97 virtual ~GM();
153 // helper: fill a rect in the specified color based on the GM's getISize bounds.
190 using GMFactory = std::unique_ptr<skiagm::GM> (*)();
196 class GpuGM : public GM {
198 GpuGM(SkColor backgroundColor = SK_ColorWHITE) : GM(backgroundColor) {}
206 using GM::onDraw;
215 class SimpleGM : public GM {
220 : GM(bgColor), fName(name), fSize(size), fDrawProc(drawProc) {}