Home
last modified time | relevance | path

Searched refs:copyDesc (Results 1 – 4 of 4) sorted by relevance

/external/skqp/src/gpu/
DGrResourceProvider.cpp186 SkTCopyOnFirstWrite<GrSurfaceDesc> copyDesc(desc); in createApproxTexture() local
191 GrSurfaceDesc* wdesc = copyDesc.writable(); in createApproxTexture()
196 if (auto tex = this->refScratchTexture(*copyDesc, flags)) { in createApproxTexture()
200 return fGpu->createTexture(*copyDesc, SkBudgeted::kYes); in createApproxTexture()
DGrProxyProvider.cpp397 GrSurfaceDesc copyDesc = desc; in createProxy() local
399 copyDesc.fSampleCnt = in createProxy()
403 if (copyDesc.fFlags & kRenderTarget_GrSurfaceFlag) { in createProxy()
406 return sk_sp<GrTextureProxy>(new GrTextureRenderTargetProxy(*this->caps(), format, copyDesc, in createProxy()
411 return sk_sp<GrTextureProxy>(new GrTextureProxy(format, copyDesc, origin, mipMapped, in createProxy()
/external/skia/src/gpu/
DGrResourceProvider.cpp167 SkTCopyOnFirstWrite<GrSurfaceDesc> copyDesc(desc); in createApproxTexture() local
172 GrSurfaceDesc* wdesc = copyDesc.writable(); in createApproxTexture()
177 if (auto tex = this->refScratchTexture(*copyDesc, flags)) { in createApproxTexture()
181 return fGpu->createTexture(*copyDesc, SkBudgeted::kYes); in createApproxTexture()
DGrProxyProvider.cpp412 GrSurfaceDesc copyDesc = desc; in createProxy() local
414 copyDesc.fSampleCnt = in createProxy()
418 if (copyDesc.fFlags & kRenderTarget_GrSurfaceFlag) { in createProxy()
421 return sk_sp<GrTextureProxy>(new GrTextureRenderTargetProxy(*this->caps(), format, copyDesc, in createProxy()
426 return sk_sp<GrTextureProxy>(new GrTextureProxy(format, copyDesc, origin, mipMapped, in createProxy()