Home
last modified time | relevance | path

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

/external/skqp/src/gpu/
DGrProxyProvider.cpp349 GrSurfaceDesc copyDesc = desc; in createProxy() local
350 copyDesc.fSampleCnt = caps->getSampleCount(desc.fSampleCnt, desc.fConfig); in createProxy()
357 tex = resourceProvider->createApproxTexture(copyDesc, flags); in createProxy()
359 tex = resourceProvider->createTexture(copyDesc, budgeted, flags); in createProxy()
366 return GrSurfaceProxy::MakeWrapped(std::move(tex), copyDesc.fOrigin); in createProxy()
371 return sk_sp<GrTextureProxy>(new GrTextureRenderTargetProxy(*caps, copyDesc, fit, in createProxy()
375 return sk_sp<GrTextureProxy>(new GrTextureProxy(copyDesc, fit, budgeted, nullptr, 0, flags)); in createProxy()
DGrResourceProvider.cpp196 SkTCopyOnFirstWrite<GrSurfaceDesc> copyDesc(desc); in createApproxTexture() local
201 GrSurfaceDesc* wdesc = copyDesc.writable(); in createApproxTexture()
206 if (auto tex = this->refScratchTexture(*copyDesc, flags)) { in createApproxTexture()
210 return fGpu->createTexture(*copyDesc, SkBudgeted::kYes); in createApproxTexture()
/external/skia/src/gpu/
DGrResourceProvider.cpp188 SkTCopyOnFirstWrite<GrSurfaceDesc> copyDesc(desc); in createApproxTexture() local
193 GrSurfaceDesc* wdesc = copyDesc.writable(); in createApproxTexture()
198 if (auto tex = this->refScratchTexture(*copyDesc, flags)) { in createApproxTexture()
202 return fGpu->createTexture(*copyDesc, SkBudgeted::kYes); in createApproxTexture()
DGrProxyProvider.cpp384 GrSurfaceDesc copyDesc = desc; in createProxy() local
386 copyDesc.fSampleCnt = in createProxy()
390 if (copyDesc.fFlags & kRenderTarget_GrSurfaceFlag) { in createProxy()
394 new GrTextureRenderTargetProxy(*this->caps(), copyDesc, mipMapped, fit, budgeted, in createProxy()
398 return sk_sp<GrTextureProxy>(new GrTextureProxy(copyDesc, mipMapped, fit, budgeted, nullptr, 0, in createProxy()