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