Home
last modified time | relevance | path

Searched refs:dstSpec (Results 1 – 3 of 3) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DCopyTextureForBrowserTests.cpp321 const TextureSpec& dstSpec, in RunCopyExternalImageToTexture() argument
328 utils::CreateImageCopyTexture(dstTexture, dstSpec.level, dstSpec.copyOrigin); in RunCopyExternalImageToTexture()
335 const TextureSpec& dstSpec, in CheckResultInBuiltInComputePipeline() argument
342 GetTextureFormatComponentCount(dstSpec.format), // channelCount in CheckResultInBuiltInComputePipeline()
345 dstSpec.copyOrigin.x, in CheckResultInBuiltInComputePipeline()
346 dstSpec.copyOrigin.y, // dst texture copy origin in CheckResultInBuiltInComputePipeline()
357 outputDesc.size = dstSpec.textureSize.width * dstSpec.textureSize.height * sizeof(uint32_t); in CheckResultInBuiltInComputePipeline()
368 dstTextureViewDesc.baseMipLevel = dstSpec.level; in CheckResultInBuiltInComputePipeline()
385 pass.Dispatch(dstSpec.textureSize.width, in CheckResultInBuiltInComputePipeline()
386 dstSpec.textureSize.height); // Verify dst texture content in CheckResultInBuiltInComputePipeline()
[all …]
DCopyTests.cpp339 const TextureSpec& dstSpec, in DoTest() argument
343 DoTest(srcSpec, dstSpec, copySize, dimension, dimension, copyWithinSameTexture); in DoTest()
347 const TextureSpec& dstSpec, in DoTest() argument
358 ASSERT_EQ(srcSpec.format, dstSpec.format); in DoTest()
386 dstDescriptor.size = dstSpec.textureSize; in DoTest()
389 dstDescriptor.mipLevelCount = dstSpec.levelCount; in DoTest()
423 utils::CreateImageCopyTexture(dstTexture, dstSpec.copyLevel, dstSpec.copyOrigin); in DoTest()
437 {dstSpec.textureSize.width, dstSpec.textureSize.height, in DoTest()
439 ? dstSpec.textureSize.depthOrArrayLayers in DoTest()
441 dstSpec.copyLevel, dstDimension); in DoTest()
[all …]
/third_party/flutter/skia/third_party/externals/dawn/src/tests/end2end/
DCopyTests.cpp274 void DoTest(const TextureSpec& srcSpec, const TextureSpec& dstSpec, const CopySize& copy) { in DoTest() argument
289 dstDescriptor.size.width = dstSpec.width; in DoTest()
290 dstDescriptor.size.height = dstSpec.height; in DoTest()
292 dstDescriptor.arrayLayerCount = dstSpec.arraySize; in DoTest()
295 dstDescriptor.mipLevelCount = dstSpec.level + 1; in DoTest()
333 uint32_t dstWidth = dstSpec.width >> dstSpec.level; in DoTest()
334 uint32_t dstHeight = dstSpec.height >> dstSpec.level; in DoTest()
346 utils::CreateTextureCopyView(dstTexture, dstSpec.level, 0, {0, 0, 0}); in DoTest()
356 dstTexture, dstSpec.level, slice, {dstSpec.x, dstSpec.y, 0}); in DoTest()
371 EXPECT_TEXTURE_RGBA8_EQ(expected.data(), dstTexture, dstSpec.x, dstSpec.y, copy.width, in DoTest()
[all …]