Searched refs:copyDesc (Results 1 – 2 of 2) sorted by relevance
186 SkTCopyOnFirstWrite<GrSurfaceDesc> copyDesc(desc); in createApproxTexture() local191 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()
397 GrSurfaceDesc copyDesc = desc; in createProxy() local399 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()