Lines Matching refs:surfaceCanvas
252 auto surfaceCanvas = gpuSurface->getCanvas();
253 surfaceCanvas->drawString("GPU rocks!", 20, 40, paint);
287 auto surfaceCanvas = gpuSurface->getCanvas();
288 surfaceCanvas->drawString("GPU rocks!", 20, 40, paint);
324 auto surfaceCanvas = gpuSurface->getCanvas();
325 surfaceCanvas->drawString("GPU rocks!", 20, 40, paint);
359 auto surfaceCanvas = gpuSurface->getCanvas();
360 surfaceCanvas->clear(SK_ColorWHITE);
361 surfaceCanvas->drawString("GPU rocks!", 20, 40, paint);
388 auto test_draw = [](SkCanvas* surfaceCanvas) -> void {
393 surfaceCanvas->drawRect(SkRect::MakeWH(128, 64), paint);
396 surfaceCanvas->drawString("Pest", 0, 25, paint);
438 auto surfaceCanvas = gpuSurface->getCanvas();
439 surfaceCanvas->clear(SK_ColorWHITE);
440 surfaceCanvas->drawString("GPU rocks!", 20, 40, paint);
731 SkCanvas* surfaceCanvas = surface->getCanvas();
732 surfaceCanvas->clear(SK_ColorBLUE);
735 surfaceCanvas->drawString("\xF0\x9F\x98\x81", 12, 45, paint);