Home
last modified time | relevance | path

Searched refs:copyDesc (Results 1 – 2 of 2) 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()