Home
last modified time | relevance | path

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

/third_party/flutter/skia/src/gpu/
DGrResourceProvider.cpp314 SkTCopyOnFirstWrite<GrSurfaceDesc> copyDesc(desc); in createApproxTexture() local
318 GrSurfaceDesc* wdesc = copyDesc.writable(); in createApproxTexture()
323 if (auto tex = this->refScratchTexture(*copyDesc, format, renderable, renderTargetSampleCnt, in createApproxTexture()
329 size_t rowBytes = GrBytesPerPixel(copyDesc->fConfig) * copyDesc->fWidth; in createApproxTexture()
330 size_t size = rowBytes * copyDesc->fHeight; in createApproxTexture()
335 return fGpu->createTexture(*copyDesc, format, renderable, renderTargetSampleCnt, in createApproxTexture()
338 return fGpu->createTexture(*copyDesc, format, renderable, renderTargetSampleCnt, in createApproxTexture()
DGrProxyProvider.cpp504 GrSurfaceDesc copyDesc = desc; in createProxy() local
517 *caps, format, copyDesc, renderTargetSampleCnt, origin, mipMapped, mipMapsStatus, in createProxy()
522 format, copyDesc, origin, mipMapped, mipMapsStatus, texSwizzle, fit, budgeted, in createProxy()
/third_party/skia/third_party/externals/dawn/src/tests/white_box/
DVulkanImageWrappingTestsDmaBuf.cpp855 wgpu::BufferDescriptor copyDesc; in TEST_P() local
856 copyDesc.size = data.size(); in TEST_P()
857 copyDesc.usage = wgpu::BufferUsage::CopySrc | wgpu::BufferUsage::CopyDst; in TEST_P()
858 wgpu::Buffer copyDstBuffer = device.CreateBuffer(&copyDesc); in TEST_P()
DVulkanImageWrappingTestsOpaqueFD.cpp985 wgpu::BufferDescriptor copyDesc; in TEST_P() local
986 copyDesc.size = data.size(); in TEST_P()
987 copyDesc.usage = wgpu::BufferUsage::CopySrc | wgpu::BufferUsage::CopyDst; in TEST_P()
988 wgpu::Buffer copyDstBuffer = device.CreateBuffer(&copyDesc); in TEST_P()