Lines Matching refs:SkSurface_Gpu
20 SkSurface_Gpu::SkSurface_Gpu(SkGpuDevice* device) in SkSurface_Gpu() function in SkSurface_Gpu
25 SkSurface_Gpu::~SkSurface_Gpu() { in ~SkSurface_Gpu()
29 static GrRenderTarget* prepare_rt_for_external_access(SkSurface_Gpu* surface, in prepare_rt_for_external_access()
49 GrBackendObject SkSurface_Gpu::onGetTextureHandle(BackendHandleAccess access) { in onGetTextureHandle()
58 bool SkSurface_Gpu::onGetRenderTargetHandle(GrBackendObject* obj, BackendHandleAccess access) { in onGetRenderTargetHandle()
64 SkCanvas* SkSurface_Gpu::onNewCanvas() { in onNewCanvas()
71 SkSurface* SkSurface_Gpu::onNewSurface(const SkImageInfo& info) { in onNewSurface()
80 SkImage* SkSurface_Gpu::onNewImageSnapshot(SkBudgeted budgeted, ForceCopyMode forceCopyMode) { in onNewImageSnapshot()
111 void SkSurface_Gpu::onCopyOnWrite(ContentChangeMode mode) { in onCopyOnWrite()
121 this->SkSurface_Gpu::onDiscard(); in onCopyOnWrite()
125 void SkSurface_Gpu::onDiscard() { in onDiscard()
129 void SkSurface_Gpu::onPrepareForExternalIO() { in onPrepareForExternalIO()
141 return new SkSurface_Gpu(device); in NewRenderTargetDirect()
153 return new SkSurface_Gpu(device); in NewRenderTarget()
174 return new SkSurface_Gpu(device); in NewFromBackendTexture()
192 return new SkSurface_Gpu(device); in NewFromBackendRenderTarget()
211 return new SkSurface_Gpu(device); in NewFromBackendTextureAsRenderTarget()