Lines Matching defs:surface
180 static DEFINE_bool(offscreen, false, "Force rendering to an offscreen surface.");
1459 void Viewer::drawSlide(SkSurface* surface) {
1464 SkAutoCanvasRestore autorestore(surface->getCanvas(), false);
1466 // By default, we render directly into the window's surface/canvas
1467 SkSurface* slideSurface = surface;
1468 SkCanvas* slideCanvas = surface->getCanvas();
1517 // ... in any raster mode, because the window surface is actually GL
1518 // ... in any color managed mode, because we always make the window surface with no color space
1599 SkCanvas* canvas = surface->getCanvas();
1614 SkCanvas* canvas = surface->getCanvas();
1629 void Viewer::onPaint(SkSurface* surface) {
1630 this->drawSlide(surface);
1632 fCommands.drawHelp(surface->getCanvas());
1860 // All VM blitters start with two arguments (uniforms, dst surface)