Home
last modified time | relevance | path

Searched refs:imageCopyTexture (Results 1 – 21 of 21) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DTextureZeroInitTests.cpp162 const wgpu::ImageCopyTexture imageCopyTexture = in TEST_P() local
167 encoder.CopyTextureToBuffer(&imageCopyTexture, &imageCopyBuffer, &copySize); in TEST_P()
285 wgpu::ImageCopyTexture imageCopyTexture = utils::CreateImageCopyTexture(texture, 0, {0, 0, 0}); in TEST_P() local
289 encoder.CopyBufferToTexture(&imageCopyBuffer, &imageCopyTexture, &copySize); in TEST_P()
317 wgpu::ImageCopyTexture imageCopyTexture = utils::CreateImageCopyTexture(texture, 0, {0, 0, 0}); in TEST_P() local
321 encoder.CopyBufferToTexture(&imageCopyBuffer, &imageCopyTexture, &copySize); in TEST_P()
351 const wgpu::ImageCopyTexture imageCopyTexture = in TEST_P() local
356 encoder.CopyBufferToTexture(&imageCopyBuffer, &imageCopyTexture, &copySize); in TEST_P()
426 wgpu::ImageCopyTexture imageCopyTexture = in TEST_P() local
430 encoder.CopyBufferToTexture(&imageCopyBuffer, &imageCopyTexture, &copySize); in TEST_P()
[all …]
DQueueTests.cpp274 wgpu::ImageCopyTexture imageCopyTexture = in DoTest() local
277 queue.WriteTexture(&imageCopyTexture, data.data(), dataSpec.size, &textureDataLayout, in DoTest()
335 wgpu::ImageCopyTexture imageCopyTexture = in DoSimpleWriteTextureTest() local
340 device.GetQueue().WriteTexture(&imageCopyTexture, data.data(), width * height * kPixelSize, in DoSimpleWriteTextureTest()
666 wgpu::ImageCopyTexture imageCopyTexture = utils::CreateImageCopyTexture( in TEST_P() local
668 queue.WriteTexture(&imageCopyTexture, kData, sizeof(kData), &textureDataLayout, in TEST_P()
674 encoder.CopyTextureToBuffer(&imageCopyTexture, &imageCopyBuffer, &kWriteSize); in TEST_P()
687 wgpu::ImageCopyTexture imageCopyTexture = utils::CreateImageCopyTexture( in TEST_P() local
689 queue.WriteTexture(&imageCopyTexture, kData, sizeof(kData), &textureDataLayout, in TEST_P()
695 encoder.CopyTextureToBuffer(&imageCopyTexture, &imageCopyBuffer, &kWriteSize); in TEST_P()
DStorageTextureTests.cpp531 wgpu::ImageCopyTexture imageCopyTexture; in CreateTextureWithTestData() local
532 imageCopyTexture.texture = outputTexture; in CreateTextureWithTestData()
533 encoder.CopyBufferToTexture(&imageCopyBuffer, &imageCopyTexture, &copyExtent); in CreateTextureWithTestData()
715 wgpu::ImageCopyTexture imageCopyTexture = in CheckOutputStorageTexture() local
719 encoder.CopyTextureToBuffer(&imageCopyTexture, &imageCopyBuffer, &copyExtent); in CheckOutputStorageTexture()
915 wgpu::ImageCopyTexture imageCopyTexture; in TEST_P() local
916 imageCopyTexture.texture = storageTexture1; in TEST_P()
920 encoder.CopyTextureToBuffer(&imageCopyTexture, &imageCopyBuffer, &extent3D); in TEST_P()
DTexture3DTests.cpp95 wgpu::ImageCopyTexture imageCopyTexture = utils::CreateImageCopyTexture(texture, 0, {0, 0, 0}); in TEST_P() local
96 encoder.CopyBufferToTexture(&imageCopyBuffer, &imageCopyTexture, &copySize); in TEST_P()
DSamplerTests.cpp107 wgpu::ImageCopyTexture imageCopyTexture = in SetUp() local
112 encoder.CopyBufferToTexture(&imageCopyBuffer, &imageCopyTexture, &copySize); in SetUp()
DSamplerFilterAnisotropicTests.cpp130 wgpu::ImageCopyTexture imageCopyTexture = in InitTexture() local
133 encoder.CopyBufferToTexture(&imageCopyBuffer, &imageCopyTexture, &copySize); in InitTexture()
DRenderPassLoadOpTests.cpp126 wgpu::ImageCopyTexture imageCopyTexture = in TestIntegerClearColor() local
130 encoder.CopyTextureToBuffer(&imageCopyTexture, &imageCopyBuffer, &kTextureSize); in TestIntegerClearColor()
DCompressedTextureFormatTests.cpp125 wgpu::ImageCopyTexture imageCopyTexture = utils::CreateImageCopyTexture( in InitializeDataInCompressedTexture() local
129 encoder.CopyBufferToTexture(&imageCopyBuffer, &imageCopyTexture, &copyConfig.copyExtent3D); in InitializeDataInCompressedTexture()
1190 wgpu::ImageCopyTexture imageCopyTexture = utils::CreateImageCopyTexture(texture, 0, {0, 0, 0}); in TEST_P() local
1195 encoder.CopyTextureToBuffer(&imageCopyTexture, &imageCopyBuffer, &copyExtent); in TEST_P()
1225 wgpu::ImageCopyTexture imageCopyTexture = utils::CreateImageCopyTexture( in WriteToCompressedTexture() local
1228 queue.WriteTexture(&imageCopyTexture, data.data(), data.size(), &textureDataLayout, in WriteToCompressedTexture()
DNonzeroTextureCreationTests.cpp239 wgpu::ImageCopyTexture imageCopyTexture = in Run() local
243 encoder.CopyTextureToBuffer(&imageCopyTexture, &imageCopyBuffer, &copySize); in Run()
DBufferZeroInitTests.cpp131 const wgpu::ImageCopyTexture imageCopyTexture = in TestBufferZeroInitInCopyTextureToBuffer() local
143 encoder.CopyTextureToBuffer(&imageCopyTexture, &imageCopyBuffer, &spec.textureSize); in TestBufferZeroInitInCopyTextureToBuffer()
877 const wgpu::ImageCopyTexture imageCopyTexture = in TEST_P() local
896 encoder.CopyBufferToTexture(&imageCopyBuffer, &imageCopyTexture, &kTextureSize); in TEST_P()
914 encoder.CopyBufferToTexture(&imageCopyBuffer, &imageCopyTexture, &kTextureSize); in TEST_P()
DCopyTests.cpp160 wgpu::ImageCopyTexture imageCopyTexture = in DoTest() local
164 queue.WriteTexture(&imageCopyTexture, textureArrayData.data(), copyLayout.byteLength, in DoTest()
180 wgpu::ImageCopyTexture imageCopyTexture = utils::CreateImageCopyTexture( in DoTest() local
184 encoder.CopyTextureToBuffer(&imageCopyTexture, &imageCopyBuffer, &copySize); in DoTest()
274 wgpu::ImageCopyTexture imageCopyTexture = in DoTest() local
276 encoder.CopyBufferToTexture(&imageCopyBuffer, &imageCopyTexture, &copySize); in DoTest()
408 wgpu::ImageCopyTexture imageCopyTexture = utils::CreateImageCopyTexture( in DoTest() local
412 queue.WriteTexture(&imageCopyTexture, srcTextureCopyData.data(), in DoTest()
1007 wgpu::ImageCopyTexture imageCopyTexture = utils::CreateImageCopyTexture(texture, 0, {0, 0, 0}); in TEST_P() local
1010 encoder.CopyTextureToBuffer(&imageCopyTexture, &imageCopyBuffer, &copySize); in TEST_P()
DTextureViewTests.cpp160 wgpu::ImageCopyTexture imageCopyTexture = in initTexture() local
163 encoder.CopyBufferToTexture(&imageCopyBuffer, &imageCopyTexture, &copySize); in initTexture()
DBindGroupTests.cpp322 wgpu::ImageCopyTexture imageCopyTexture = utils::CreateImageCopyTexture(texture, 0, {0, 0, 0}); in TEST_P() local
324 encoder.CopyBufferToTexture(&imageCopyBuffer, &imageCopyTexture, &copySize); in TEST_P()
1457 wgpu::ImageCopyTexture imageCopyTexture = {}; in TEST_P() local
1458 imageCopyTexture.texture = texture; in TEST_P()
1462 commandEncoder.CopyBufferToTexture(&imageCopyBuffer, &imageCopyTexture, &copySize); in TEST_P()
/third_party/skia/third_party/externals/dawn/src/utils/
DWGPUHelpers.cpp196 wgpu::ImageCopyTexture imageCopyTexture; in CreateImageCopyTexture() local
197 imageCopyTexture.texture = texture; in CreateImageCopyTexture()
198 imageCopyTexture.mipLevel = mipLevel; in CreateImageCopyTexture()
199 imageCopyTexture.origin = origin; in CreateImageCopyTexture()
200 imageCopyTexture.aspect = aspect; in CreateImageCopyTexture()
202 return imageCopyTexture; in CreateImageCopyTexture()
DTestUtils.cpp127 wgpu::ImageCopyTexture imageCopyTexture = in UnalignDynamicUploader() local
134 device.GetQueue().WriteTexture(&imageCopyTexture, data.data(), 1, &textureDataLayout, in UnalignDynamicUploader()
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DCommandValidation.h52 const ImageCopyTexture& imageCopyTexture,
60 const ImageCopyTexture& imageCopyTexture,
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
DVideoViewsValidationTests.cpp309 wgpu::ImageCopyTexture imageCopyTexture = in TEST_F() local
317 ASSERT_DEVICE_ERROR(queue.WriteTexture(&imageCopyTexture, dummyData.data(), in TEST_F()
327 wgpu::ImageCopyTexture imageCopyTexture = in TEST_F() local
335 ASSERT_DEVICE_ERROR(queue.WriteTexture(&imageCopyTexture, dummmyData.data(), in TEST_F()
DCopyCommandsValidationTests.cpp101 wgpu::ImageCopyTexture imageCopyTexture = in TestB2TCopy() local
105 encoder.CopyBufferToTexture(&imageCopyBuffer, &imageCopyTexture, &extent3D); in TestB2TCopy()
122 wgpu::ImageCopyTexture imageCopyTexture = in TestT2BCopy() local
126 encoder.CopyTextureToBuffer(&imageCopyTexture, &imageCopyBuffer, &extent3D); in TestT2BCopy()
774 wgpu::ImageCopyTexture imageCopyTexture = in TEST_F() local
778 encoder.CopyBufferToTexture(&errorImageCopyBuffer, &imageCopyTexture, &extent3D); in TEST_F()
1395 wgpu::ImageCopyTexture imageCopyTexture = in TEST_F() local
1399 encoder.CopyTextureToBuffer(&imageCopyTexture, &errorImageCopyBuffer, &extent3D); in TEST_F()
DQueueWriteTextureValidationTests.cpp66 wgpu::ImageCopyTexture imageCopyTexture = in TestWriteTexture() local
69 queue.WriteTexture(&imageCopyTexture, data.data(), dataSize, &textureDataLayout, &size); in TestWriteTexture()
/third_party/skia/third_party/externals/dawn/examples/
DCppHelloTriangle.cpp78 wgpu::ImageCopyTexture imageCopyTexture = utils::CreateImageCopyTexture(texture, 0, {0, 0, 0}); in initTextures() local
82 encoder.CopyBufferToTexture(&imageCopyBuffer, &imageCopyTexture, &copySize); in initTextures()
/third_party/skia/third_party/externals/dawn/src/tests/
DDawnTest.cpp1112 wgpu::ImageCopyTexture imageCopyTexture = in AddTextureExpectationImpl() local
1118 encoder.CopyTextureToBuffer(&imageCopyTexture, &imageCopyBuffer, &extent); in AddTextureExpectationImpl()
1306 wgpu::ImageCopyTexture imageCopyTexture = in ExpectAttachmentDepthStencilTestData() local
1312 queue.WriteTexture(&imageCopyTexture, expectedDepth.data(), in ExpectAttachmentDepthStencilTestData()