Lines Matching refs:SkSurface
41 SkSurface::BackendHandleAccess access) {
43 case SkSurface::kFlushRead_BackendHandleAccess:
45 case SkSurface::kFlushWrite_BackendHandleAccess:
46 case SkSurface::kDiscardWrite_BackendHandleAccess:
48 surface->notifyContentWillChange(SkSurface::kRetain_ContentChangeMode);
53 surface->getDevice()->flush(SkSurface::BackendSurfaceAccess::kNoAccess,
82 sk_sp<SkSurface> SkSurface_Gpu::onNewSurface(const SkImageInfo& info) {
87 return SkSurface::MakeRenderTarget(fDevice->context(), kBudgeted, info, sampleCount,
112 // want to ever retarget the SkSurface at another buffer we create. Force a copy now to avoid
151 fDevice->replaceRenderTargetContext(SkSurface::kRetain_ContentChangeMode == mode);
298 sk_sp<SkSurface> SkSurface::MakeRenderTarget(GrRecordingContext* context,
345 sk_sp<SkSurface> s = sk_make_sp<SkSurface_Gpu>(std::move(device));
357 sk_sp<SkSurface> SkSurface::MakeRenderTarget(GrContext* ctx, SkBudgeted budgeted,
383 sk_sp<SkSurface> SkSurface_Gpu::MakeWrappedRenderTarget(GrContext* context,
435 sk_sp<SkSurface> SkSurface::MakeFromBackendTexture(GrContext* context, const GrBackendTexture& tex,
440 SkSurface::TextureReleaseProc textureReleaseProc,
441 SkSurface::ReleaseContext releaseContext) {
507 sk_sp<SkSurface> SkSurface::MakeFromBackendRenderTarget(GrContext* context,
513 SkSurface::RenderTargetReleaseProc relProc,
514 SkSurface::ReleaseContext releaseContext) {
548 sk_sp<SkSurface> SkSurface::MakeFromBackendTextureAsRenderTarget(GrContext* context,
590 sk_sp<SkSurface> SkSurface::MakeFromAHardwareBuffer(GrContext* context,
635 sk_sp<SkSurface> surface = SkSurface::MakeFromBackendTexture(context, backendTexture,