/third_party/flutter/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
D | CopyCommandsValidationTests.cpp | 584 uint32_t maxMipmapLevel = 3; in TEST_F() local 586 4, 2, maxMipmapLevel, 1, dawn::TextureFormat::RGBA8Unorm, dawn::TextureUsageBit::CopyDst); in TEST_F() 589 TestB2TCopy(utils::Expectation::Success, source, 0, 256, 0, destination, maxMipmapLevel - 1, 0, in TEST_F() 592 TestB2TCopy(utils::Expectation::Success, source, 0, 256, 0, destination, maxMipmapLevel - 2, 0, in TEST_F() 595 TestB2TCopy(utils::Expectation::Failure, source, 0, 256, 0, destination, maxMipmapLevel, 0, in TEST_F() 598 TestB2TCopy(utils::Expectation::Failure, source, 0, 256, 0, destination, maxMipmapLevel - 2, 0, in TEST_F() 601 TestB2TCopy(utils::Expectation::Failure, source, 0, 256, 0, destination, maxMipmapLevel - 2, 0, in TEST_F() 916 uint32_t maxMipmapLevel = 3; in TEST_F() local 917 dawn::Texture source = Create2DTexture(4, 2, maxMipmapLevel, 1, dawn::TextureFormat::RGBA8Unorm, in TEST_F() 923 TestT2BCopy(utils::Expectation::Success, source, maxMipmapLevel - 1, 0, {0, 0, 0}, destination, in TEST_F() [all …]
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
D | CopyCommandsValidationTests.cpp | 845 uint32_t maxMipmapLevel = 3; in TEST_F() local 847 4, 2, maxMipmapLevel, 1, wgpu::TextureFormat::RGBA8Unorm, wgpu::TextureUsage::CopyDst); in TEST_F() 850 TestB2TCopy(utils::Expectation::Success, source, 0, 256, 1, destination, maxMipmapLevel - 1, in TEST_F() 853 TestB2TCopy(utils::Expectation::Success, source, 0, 256, 1, destination, maxMipmapLevel - 2, in TEST_F() 856 TestB2TCopy(utils::Expectation::Failure, source, 0, 256, 1, destination, maxMipmapLevel, in TEST_F() 859 TestB2TCopy(utils::Expectation::Failure, source, 0, 256, 1, destination, maxMipmapLevel - 2, in TEST_F() 862 TestB2TCopy(utils::Expectation::Failure, source, 0, 256, 2, destination, maxMipmapLevel - 2, in TEST_F() 1456 uint32_t maxMipmapLevel = 3; in TEST_F() local 1457 wgpu::Texture source = Create2DTexture(4, 2, maxMipmapLevel, 1, wgpu::TextureFormat::RGBA8Unorm, in TEST_F() 1463 TestT2BCopy(utils::Expectation::Success, source, maxMipmapLevel - 1, {0, 0, 0}, destination, 0, in TEST_F() [all …]
|
D | QueueWriteTextureValidationTests.cpp | 438 uint32_t maxMipmapLevel = 3; in TEST_F() local 440 Create2DTexture({4, 2, 1}, maxMipmapLevel, wgpu::TextureFormat::RGBA8Unorm, in TEST_F() 444 TestWriteTexture(dataSize, 0, 256, 1, destination, maxMipmapLevel - 1, {0, 0, 0}, in TEST_F() 447 TestWriteTexture(dataSize, 0, 256, 1, destination, maxMipmapLevel - 2, {0, 0, 0}, in TEST_F() 450 ASSERT_DEVICE_ERROR(TestWriteTexture(dataSize, 0, 256, 1, destination, maxMipmapLevel, in TEST_F() 453 ASSERT_DEVICE_ERROR(TestWriteTexture(dataSize, 0, 256, 1, destination, maxMipmapLevel - 2, in TEST_F() 456 ASSERT_DEVICE_ERROR(TestWriteTexture(dataSize, 0, 256, 2, destination, maxMipmapLevel - 2, in TEST_F()
|
/third_party/skia/src/gpu/ |
D | GrTexture.h | 55 int maxMipmapLevel() const { return fMaxMipmapLevel; } in maxMipmapLevel() function
|
/third_party/skia/src/gpu/d3d/ |
D | GrD3DGpu.cpp | 676 SkASSERT(mipLevelCount <= d3dTex->maxMipmapLevel() + 1); in onWritePixels() 697 SkASSERT(mipLevelCount == 1 || mipLevelCount == (tex->maxMipmapLevel() + 1)); in uploadToTexture()
|
/third_party/skia/src/gpu/dawn/ |
D | GrDawnGpu.cpp | 193 if (mipLevelCount < texture->maxMipmapLevel() + 1) { in onWritePixels()
|
/third_party/skia/src/gpu/gl/ |
D | GrGLGpu.cpp | 844 int maxLevel = glTex->maxMipmapLevel(); in onWritePixels() 2734 newNonsamplerState.fMaxMipmapLevel = texture->maxMipmapLevel(); in bindTexture() 3482 SkASSERT(levelCount == texture->maxMipmapLevel() + 1); in onRegenerateMipMapLevels()
|
/third_party/skia/src/gpu/mtl/ |
D | GrMtlGpu.mm | 319 SkASSERT(mipLevelCount == 1 || mipLevelCount == (tex->maxMipmapLevel() + 1));
|