Lines Matching defs:surface
123 // flushing a surface.
168 // flushing a surface.
497 bool GrVkGpu::onWritePixels(GrSurface* surface,
504 GrVkTexture* texture = static_cast<GrVkTexture*>(surface->asTexture());
635 bool GrVkGpu::onTransferPixelsFrom(GrSurface* surface,
644 SkASSERT(surface);
651 if (GrVkRenderTarget* rt = static_cast<GrVkRenderTarget*>(surface->asRenderTarget())) {
663 SkASSERT(surface->asTexture());
664 srcImage = static_cast<GrVkTexture*>(surface->asTexture())->textureImage();
2212 // We currently don't support passing in new surface state for multiple proxies here. The
2469 // The surface in a GrAttachment already
2487 // The surface in a GrAttachment already
2527 bool GrVkGpu::onReadPixels(GrSurface* surface,
2533 if (surface->isProtected()) {
2542 GrVkRenderTarget* rt = static_cast<GrVkRenderTarget*>(surface->asRenderTarget());
2552 image = static_cast<GrVkTexture*>(surface->asTexture())->textureImage();