Home
last modified time | relevance | path

Searched refs:imageCopyBuffer (Results 1 – 19 of 19) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DTextureZeroInitTests.cpp160 const wgpu::ImageCopyBuffer imageCopyBuffer = in TEST_P() local
167 encoder.CopyTextureToBuffer(&imageCopyTexture, &imageCopyBuffer, &copySize); in TEST_P()
283 wgpu::ImageCopyBuffer imageCopyBuffer = in TEST_P() local
289 encoder.CopyBufferToTexture(&imageCopyBuffer, &imageCopyTexture, &copySize); in TEST_P()
315 wgpu::ImageCopyBuffer imageCopyBuffer = in TEST_P() local
321 encoder.CopyBufferToTexture(&imageCopyBuffer, &imageCopyTexture, &copySize); in TEST_P()
349 const wgpu::ImageCopyBuffer imageCopyBuffer = in TEST_P() local
356 encoder.CopyBufferToTexture(&imageCopyBuffer, &imageCopyTexture, &copySize); in TEST_P()
424 wgpu::ImageCopyBuffer imageCopyBuffer = in TEST_P() local
430 encoder.CopyBufferToTexture(&imageCopyBuffer, &imageCopyTexture, &copySize); in TEST_P()
[all …]
DTexture3DTests.cpp93 wgpu::ImageCopyBuffer imageCopyBuffer = in TEST_P() local
96 encoder.CopyBufferToTexture(&imageCopyBuffer, &imageCopyTexture, &copySize); in TEST_P()
DSamplerTests.cpp106 wgpu::ImageCopyBuffer imageCopyBuffer = utils::CreateImageCopyBuffer(stagingBuffer, 0, 256); in SetUp() local
112 encoder.CopyBufferToTexture(&imageCopyBuffer, &imageCopyTexture, &copySize); in SetUp()
DSamplerFilterAnisotropicTests.cpp128 wgpu::ImageCopyBuffer imageCopyBuffer = in InitTexture() local
133 encoder.CopyBufferToTexture(&imageCopyBuffer, &imageCopyTexture, &copySize); in InitTexture()
DStorageTextureTests.cpp529 wgpu::ImageCopyBuffer imageCopyBuffer = in CreateTextureWithTestData() local
533 encoder.CopyBufferToTexture(&imageCopyBuffer, &imageCopyTexture, &copyExtent); in CreateTextureWithTestData()
717 wgpu::ImageCopyBuffer imageCopyBuffer = in CheckOutputStorageTexture() local
719 encoder.CopyTextureToBuffer(&imageCopyTexture, &imageCopyBuffer, &copyExtent); in CheckOutputStorageTexture()
918 wgpu::ImageCopyBuffer imageCopyBuffer = utils::CreateImageCopyBuffer(resultBuffer, 0, 256, 1); in TEST_P() local
920 encoder.CopyTextureToBuffer(&imageCopyTexture, &imageCopyBuffer, &extent3D); in TEST_P()
DRenderPassLoadOpTests.cpp128 wgpu::ImageCopyBuffer imageCopyBuffer = in TestIntegerClearColor() local
130 encoder.CopyTextureToBuffer(&imageCopyTexture, &imageCopyBuffer, &kTextureSize); in TestIntegerClearColor()
DQueueTests.cpp672 wgpu::ImageCopyBuffer imageCopyBuffer = utils::CreateImageCopyBuffer( in TEST_P() local
674 encoder.CopyTextureToBuffer(&imageCopyTexture, &imageCopyBuffer, &kWriteSize); in TEST_P()
693 wgpu::ImageCopyBuffer imageCopyBuffer = utils::CreateImageCopyBuffer( in TEST_P() local
695 encoder.CopyTextureToBuffer(&imageCopyTexture, &imageCopyBuffer, &kWriteSize); in TEST_P()
DBufferZeroInitTests.cpp139 const wgpu::ImageCopyBuffer imageCopyBuffer = utils::CreateImageCopyBuffer( in TestBufferZeroInitInCopyTextureToBuffer() local
143 encoder.CopyTextureToBuffer(&imageCopyTexture, &imageCopyBuffer, &spec.textureSize); in TestBufferZeroInitInCopyTextureToBuffer()
892 const wgpu::ImageCopyBuffer imageCopyBuffer = utils::CreateImageCopyBuffer( in TEST_P() local
896 encoder.CopyBufferToTexture(&imageCopyBuffer, &imageCopyTexture, &kTextureSize); in TEST_P()
910 const wgpu::ImageCopyBuffer imageCopyBuffer = utils::CreateImageCopyBuffer( in TEST_P() local
914 encoder.CopyBufferToTexture(&imageCopyBuffer, &imageCopyTexture, &kTextureSize); in TEST_P()
DNonzeroTextureCreationTests.cpp237 wgpu::ImageCopyBuffer imageCopyBuffer = in Run() local
243 encoder.CopyTextureToBuffer(&imageCopyTexture, &imageCopyBuffer, &copySize); in Run()
DBindGroupTests.cpp320 wgpu::ImageCopyBuffer imageCopyBuffer = in TEST_P() local
324 encoder.CopyBufferToTexture(&imageCopyBuffer, &imageCopyTexture, &copySize); in TEST_P()
1453 wgpu::ImageCopyBuffer imageCopyBuffer = {}; in TEST_P() local
1454 imageCopyBuffer.buffer = textureData; in TEST_P()
1455 imageCopyBuffer.layout.bytesPerRow = 256; in TEST_P()
1462 commandEncoder.CopyBufferToTexture(&imageCopyBuffer, &imageCopyTexture, &copySize); in TEST_P()
DCompressedTextureFormatTests.cpp121 wgpu::ImageCopyBuffer imageCopyBuffer = in InitializeDataInCompressedTexture() local
129 encoder.CopyBufferToTexture(&imageCopyBuffer, &imageCopyTexture, &copyConfig.copyExtent3D); in InitializeDataInCompressedTexture()
1191 wgpu::ImageCopyBuffer imageCopyBuffer = utils::CreateImageCopyBuffer(buffer, 0, 256); in TEST_P() local
1195 encoder.CopyTextureToBuffer(&imageCopyTexture, &imageCopyBuffer, &copyExtent); in TEST_P()
DTextureViewTests.cpp158 wgpu::ImageCopyBuffer imageCopyBuffer = in initTexture() local
163 encoder.CopyBufferToTexture(&imageCopyBuffer, &imageCopyTexture, &copySize); in initTexture()
DCopyTests.cpp182 wgpu::ImageCopyBuffer imageCopyBuffer = utils::CreateImageCopyBuffer( in DoTest() local
184 encoder.CopyTextureToBuffer(&imageCopyTexture, &imageCopyBuffer, &copySize); in DoTest()
272 wgpu::ImageCopyBuffer imageCopyBuffer = utils::CreateImageCopyBuffer( in DoTest() local
276 encoder.CopyBufferToTexture(&imageCopyBuffer, &imageCopyTexture, &copySize); in DoTest()
1005 wgpu::ImageCopyBuffer imageCopyBuffer = in TEST_P() local
1010 encoder.CopyTextureToBuffer(&imageCopyTexture, &imageCopyBuffer, &copySize); in TEST_P()
/third_party/skia/third_party/externals/dawn/src/utils/
DWGPUHelpers.cpp185 wgpu::ImageCopyBuffer imageCopyBuffer = {}; in CreateImageCopyBuffer() local
186 imageCopyBuffer.buffer = buffer; in CreateImageCopyBuffer()
187 imageCopyBuffer.layout = CreateTextureDataLayout(offset, bytesPerRow, rowsPerImage); in CreateImageCopyBuffer()
189 return imageCopyBuffer; in CreateImageCopyBuffer()
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DCommandValidation.cpp254 const ImageCopyBuffer& imageCopyBuffer) { in ValidateImageCopyBuffer() argument
255 DAWN_TRY(device->ValidateObject(imageCopyBuffer.buffer)); in ValidateImageCopyBuffer()
256 if (imageCopyBuffer.layout.bytesPerRow != wgpu::kCopyStrideUndefined) { in ValidateImageCopyBuffer()
257 DAWN_INVALID_IF(imageCopyBuffer.layout.bytesPerRow % kTextureBytesPerRowAlignment != 0, in ValidateImageCopyBuffer()
259 imageCopyBuffer.layout.bytesPerRow, kTextureBytesPerRowAlignment); in ValidateImageCopyBuffer()
DCommandValidation.h58 const ImageCopyBuffer& imageCopyBuffer);
/third_party/skia/third_party/externals/dawn/examples/
DCppHelloTriangle.cpp76 wgpu::ImageCopyBuffer imageCopyBuffer = in initTextures() local
82 encoder.CopyBufferToTexture(&imageCopyBuffer, &imageCopyTexture, &copySize); in initTextures()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
DCopyCommandsValidationTests.cpp99 wgpu::ImageCopyBuffer imageCopyBuffer = in TestB2TCopy() local
105 encoder.CopyBufferToTexture(&imageCopyBuffer, &imageCopyTexture, &extent3D); in TestB2TCopy()
120 wgpu::ImageCopyBuffer imageCopyBuffer = in TestT2BCopy() local
126 encoder.CopyTextureToBuffer(&imageCopyTexture, &imageCopyBuffer, &extent3D); in TestT2BCopy()
786 wgpu::ImageCopyBuffer imageCopyBuffer = utils::CreateImageCopyBuffer(source, 0, 0, 0); in TEST_F() local
789 encoder.CopyBufferToTexture(&imageCopyBuffer, &errorImageCopyTexture, &extent3D); in TEST_F()
1385 wgpu::ImageCopyBuffer imageCopyBuffer = utils::CreateImageCopyBuffer(source, 0, 0, 0); in TEST_F() local
1388 encoder.CopyTextureToBuffer(&errorImageCopyTexture, &imageCopyBuffer, &extent3D); in TEST_F()
/third_party/skia/third_party/externals/dawn/src/tests/
DDawnTest.cpp1114 wgpu::ImageCopyBuffer imageCopyBuffer = in AddTextureExpectationImpl() local
1118 encoder.CopyTextureToBuffer(&imageCopyTexture, &imageCopyBuffer, &extent); in AddTextureExpectationImpl()