/third_party/skia/third_party/externals/dawn/src/tests/unittests/ |
D | SubresourceStorageTests.cpp | 311 const uint32_t kLayers = 10; in TEST() local 313 SubresourceStorage<int> s(Aspect::Depth | Aspect::Stencil, kLayers, kLevels); in TEST() 314 FakeStorage<int> f(Aspect::Depth | Aspect::Stencil, kLayers, kLevels); in TEST() 317 for (uint32_t layer = 0; layer < kLayers; layer++) { in TEST() 330 for (uint32_t layer = 0; layer < kLayers; layer++) { in TEST() 337 SubresourceRange::MakeFull(Aspect::Depth | Aspect::Stencil, kLayers, kLevels); in TEST() 350 const uint32_t kLayers = 5; in TEST() local 352 SubresourceStorage<int> s(Aspect::Depth | Aspect::Stencil, kLayers, kLevels); in TEST() 353 FakeStorage<int> f(Aspect::Depth | Aspect::Stencil, kLayers, kLevels); in TEST() 368 SubresourceRange range(Aspect::Depth, {0, kLayers}, {5, 2}); in TEST() [all …]
|
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
D | TextureViewTests.cpp | 360 constexpr uint32_t kLayers = 3; in TEST_P() local 362 initTexture(kLayers, kMipLevels); in TEST_P() 543 constexpr uint32_t kLayers = 1; in TEST_P() local 550 TextureLayerAsColorAttachmentTest(wgpu::TextureViewDimension::e2D, kLayers, kMipLevels, in TEST_P() 557 TextureLayerAsColorAttachmentTest(wgpu::TextureViewDimension::e2D, kLayers, kMipLevels, in TEST_P() 564 constexpr uint32_t kLayers = 1; in TEST_P() local 571 TextureLayerAsColorAttachmentTest(wgpu::TextureViewDimension::e2D, kLayers, kMipLevels, in TEST_P() 574 TextureLayerAsColorAttachmentTest(wgpu::TextureViewDimension::e2D, kLayers, kMipLevels, in TEST_P() 582 TextureLayerAsColorAttachmentTest(wgpu::TextureViewDimension::e2D, kLayers, kMipLevels, in TEST_P() 585 TextureLayerAsColorAttachmentTest(wgpu::TextureViewDimension::e2D, kLayers, kMipLevels, in TEST_P() [all …]
|
D | CopyTests.cpp | 1023 constexpr uint32_t kLayers = 6u; in TEST_P() local 1026 textureSpec.textureSize = {kWidth, kHeight, kLayers}; in TEST_P() 1028 DoTest(textureSpec, MinimumBufferSpec(kWidth, kHeight, kLayers), {kWidth, kHeight, kLayers}); in TEST_P() 1035 constexpr uint32_t kLayers = 6u; in TEST_P() local 1041 textureSpec.textureSize = {kWidth, kHeight, kLayers}; in TEST_P() 1051 constexpr uint32_t kLayers = 6u; in TEST_P() local 1054 defaultTextureSpec.textureSize = {kWidth, kHeight, kLayers}; in TEST_P() 1061 DoTest(textureSpec, MinimumBufferSpec(kWidth >> i, kHeight >> i, kLayers), in TEST_P() 1062 {kWidth >> i, kHeight >> i, kLayers}); in TEST_P() 1071 constexpr uint32_t kLayers = 6u; in TEST_P() local [all …]
|
D | QueueTests.cpp | 549 constexpr uint32_t kLayers = 65; in TEST_P() local 552 textureSpec.textureSize = {kWidth, kHeight, kLayers}; in TEST_P()
|
/third_party/flutter/skia/third_party/externals/dawn/src/tests/end2end/ |
D | TextureViewTests.cpp | 357 constexpr uint32_t kLayers = 3; in TEST_P() local 359 initTexture(kLayers, kMipLevels); in TEST_P() 542 constexpr uint32_t kLayers = 1; in TEST_P() local 550 dawn::TextureViewDimension::e2D, kLayers, kMipLevels, kBaseLayer, kBaseLevel); in TEST_P() 557 dawn::TextureViewDimension::e2D, kLayers, kMipLevels, kBaseLayer, kBaseLevel); in TEST_P() 565 constexpr uint32_t kLayers = 10; in TEST_P() local 571 dawn::TextureViewDimension::e2D, kLayers, kMipLevels, kBaseLayer, kBaseLevel); in TEST_P() 576 constexpr uint32_t kBaseLayer = kLayers - 1; in TEST_P() 578 dawn::TextureViewDimension::e2D, kLayers, kMipLevels, kBaseLayer, kBaseLevel); in TEST_P() 585 constexpr uint32_t kLayers = 1; in TEST_P() local [all …]
|
D | CopyTests.cpp | 529 constexpr uint32_t kLayers = 6u; in TEST_P() local 530 …DoTest({ kWidth, kHeight, 0, 0, kWidth, kHeight, 0, kLayers }, MinimumBufferSpec(kWidth, kHeight)); in TEST_P() 540 constexpr uint32_t kLayers = 6u; in TEST_P() local 542 …DoTest({ kWidth, kHeight, 0, 0, kWidth >> i, kHeight >> i, i, kLayers }, MinimumBufferSpec(kWidth … in TEST_P() 710 constexpr uint32_t kLayers = 6u; in TEST_P() local 711 DoTest({kWidth, kHeight, 0, 0, 0, kLayers}, {kWidth, kHeight, 0, 0, 0, kLayers}, in TEST_P() 718 constexpr uint32_t kLayers = 6u; in TEST_P() local 721 DoTest({kWidth, kHeight, 0, 0, 0, kLayers}, {kWidth, kHeight, 0, 0, 0, kLayers}, in TEST_P()
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | GetImageTest.cpp | 466 constexpr GLsizei kLayers = 4; in TEST_P() local 477 glTexImage3D(GL_TEXTURE_2D_ARRAY, 0, GL_RGBA, kTextureSize, kTextureSize, kLayers, 0, GL_RGBA, in TEST_P() 522 constexpr GLsizei kLayers = 2; in TEST_P() local 531 static_cast<size_t>(6 * kTextureSize * kTextureSize * kLayers)); in TEST_P() 535 glTexImage3D(GL_TEXTURE_CUBE_MAP_ARRAY, 0, GL_RGBA, kTextureSize, kTextureSize, kLayers * 6, 0, in TEST_P()
|
D | CopyTexImageTest.cpp | 647 constexpr GLsizei kLayers = 2; variable 654 std::vector<GLColor> red(kTexSize * kTexSize * kLayers, GLColor::red); 655 glTexImage3D(GL_TEXTURE_2D_ARRAY, 0, GL_RGBA8, kTexSize, kTexSize, kLayers, 0, GL_RGBA, 685 constexpr GLsizei kLayers = 2; in TEST_P() local 686 std::vector<GLColor> red(kTexSize * kTexSize * kLayers, GLColor::red); in TEST_P() 697 glTexImage3D(GL_TEXTURE_3D, 0, GL_RGBA8, kTexSize, kTexSize, kLayers, 0, GL_RGBA, in TEST_P()
|
D | RobustResourceInitTest.cpp | 1883 constexpr int kLayers = 8; in TEST_P() local 1887 glTexImage3D(GL_TEXTURE_2D_ARRAY, 0, GL_RGBA8, kSize, kSize, kLayers, 0, GL_RGBA, in TEST_P() 1893 for (int layer = 0; layer < kLayers; ++layer) in TEST_P() 2112 const GLsizei kLayers = 4; in TEST_P() local 2117 kLayers, false); in TEST_P() 2129 for (GLsizei layerIndex = 0; layerIndex < kLayers; ++layerIndex) in TEST_P()
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | CopyTexImageTest.cpp | 562 constexpr GLsizei kLayers = 2; variable 569 std::vector<GLColor> red(kTexSize * kTexSize * kLayers, GLColor::red); 570 glTexImage3D(GL_TEXTURE_2D_ARRAY, 0, GL_RGBA8, kTexSize, kTexSize, kLayers, 0, GL_RGBA,
|
D | RobustResourceInitTest.cpp | 1615 constexpr int kLayers = 8; in TEST_P() local 1619 glTexImage3D(GL_TEXTURE_2D_ARRAY, 0, GL_RGBA8, kSize, kSize, kLayers, 0, GL_RGBA, in TEST_P() 1625 for (int layer = 0; layer < kLayers; ++layer) in TEST_P() 1828 const GLsizei kLayers = 4; in TEST_P() local 1833 kLayers, false); in TEST_P() 1845 for (GLsizei layerIndex = 0; layerIndex < kLayers; ++layerIndex) in TEST_P()
|