Home
last modified time | relevance | path

Searched refs:textureDataLayout (Results 1 – 10 of 10) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DTextureZeroInitTests.cpp1480 wgpu::TextureDataLayout textureDataLayout; in TEST_P() local
1481 textureDataLayout.offset = 0; in TEST_P()
1482 textureDataLayout.bytesPerRow = kSize * kFormatBlockByteSize; in TEST_P()
1483 textureDataLayout.rowsPerImage = kSize; in TEST_P()
1486 utils::RequiredBytesInCopy(textureDataLayout.bytesPerRow, textureDataLayout.rowsPerImage, in TEST_P()
1494 &textureDataLayout, &copySize)); in TEST_P()
1515 wgpu::TextureDataLayout textureDataLayout; in TEST_P() local
1516 textureDataLayout.offset = 0; in TEST_P()
1517 textureDataLayout.bytesPerRow = kSize * kFormatBlockByteSize / 2; in TEST_P()
1518 textureDataLayout.rowsPerImage = kSize; in TEST_P()
[all …]
DQueueTests.cpp271 wgpu::TextureDataLayout textureDataLayout = utils::CreateTextureDataLayout( in DoTest() local
277 queue.WriteTexture(&imageCopyTexture, data.data(), dataSpec.size, &textureDataLayout, in DoTest()
337 wgpu::TextureDataLayout textureDataLayout = in DoSimpleWriteTextureTest() local
341 &textureDataLayout, &copyExtent); in DoSimpleWriteTextureTest()
664 wgpu::TextureDataLayout textureDataLayout = in TEST_P() local
668 queue.WriteTexture(&imageCopyTexture, kData, sizeof(kData), &textureDataLayout, in TEST_P()
685 wgpu::TextureDataLayout textureDataLayout = in TEST_P() local
689 queue.WriteTexture(&imageCopyTexture, kData, sizeof(kData), &textureDataLayout, in TEST_P()
DCopyTextureForBrowserTests.cpp309 wgpu::TextureDataLayout textureDataLayout; in CreateAndInitTexture() local
310 textureDataLayout.offset = 0; in CreateAndInitTexture()
311 textureDataLayout.bytesPerRow = copyLayout.bytesPerRow; in CreateAndInitTexture()
312 textureDataLayout.rowsPerImage = copyLayout.rowsPerImage; in CreateAndInitTexture()
314 this->device.GetQueue().WriteTexture(&imageTextureInit, init, initBytes, &textureDataLayout, in CreateAndInitTexture()
DCompressedTextureFormatTests.cpp1222 wgpu::TextureDataLayout textureDataLayout = utils::CreateTextureDataLayout( in WriteToCompressedTexture() local
1228 queue.WriteTexture(&imageCopyTexture, data.data(), data.size(), &textureDataLayout, in WriteToCompressedTexture()
DCopyTests.cpp162 wgpu::TextureDataLayout textureDataLayout = in DoTest() local
165 &textureDataLayout, &copyLayout.mipSize); in DoTest()
410 wgpu::TextureDataLayout textureDataLayout = utils::CreateTextureDataLayout( in DoTest() local
413 srcDataCopyLayout.byteLength, &textureDataLayout, in DoTest()
/third_party/skia/third_party/externals/dawn/src/utils/
DWGPUHelpers.cpp208 wgpu::TextureDataLayout textureDataLayout; in CreateTextureDataLayout() local
209 textureDataLayout.offset = offset; in CreateTextureDataLayout()
210 textureDataLayout.bytesPerRow = bytesPerRow; in CreateTextureDataLayout()
211 textureDataLayout.rowsPerImage = rowsPerImage; in CreateTextureDataLayout()
213 return textureDataLayout; in CreateTextureDataLayout()
DTestUtils.cpp129 wgpu::TextureDataLayout textureDataLayout = in UnalignDynamicUploader() local
134 device.GetQueue().WriteTexture(&imageCopyTexture, data.data(), 1, &textureDataLayout, in UnalignDynamicUploader()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
DQueueWriteTextureValidationTests.cpp61 wgpu::TextureDataLayout textureDataLayout; in TestWriteTexture() local
62 textureDataLayout.offset = dataOffset; in TestWriteTexture()
63 textureDataLayout.bytesPerRow = dataBytesPerRow; in TestWriteTexture()
64 textureDataLayout.rowsPerImage = dataRowsPerImage; in TestWriteTexture()
69 queue.WriteTexture(&imageCopyTexture, data.data(), dataSize, &textureDataLayout, &size); in TestWriteTexture()
368 wgpu::TextureDataLayout textureDataLayout = utils::CreateTextureDataLayout(0, 0, 0); in TEST_F() local
371 &textureDataLayout, &extent3D)); in TEST_F()
DVideoViewsValidationTests.cpp307 wgpu::TextureDataLayout textureDataLayout = utils::CreateTextureDataLayout(0, 4, 4); in TEST_F() local
318 dummyData.size(), &textureDataLayout, &writeSize)); in TEST_F()
326 wgpu::TextureDataLayout textureDataLayout = utils::CreateTextureDataLayout(0, 12, 4); in TEST_F() local
336 dummmyData.size(), &textureDataLayout, &writeSize)); in TEST_F()
/third_party/skia/third_party/externals/dawn/src/tests/
DDawnTest.cpp1308 wgpu::TextureDataLayout textureDataLayout = in ExpectAttachmentDepthStencilTestData() local
1313 sizeof(float) * expectedDepth.size(), &textureDataLayout, &copyExtent); in ExpectAttachmentDepthStencilTestData()