Home
last modified time | relevance | path

Searched refs:DoTest (Results 1 - 17 of 17) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/tests/end2end/
H A DCopyTests.cpp133 void DoTest(const TextureSpec& textureSpec, in GetExpectedTextureData() function in CopyTests_T2B
246 void DoTest(const TextureSpec& textureSpec, in GetExpectedTextureData() function in CopyTests_B2T
338 void DoTest(const TextureSpec& srcSpec, in GetExpectedTextureData() function in CopyTests_T2T
343 DoTest(srcSpec, dstSpec, copySize, dimension, dimension, copyWithinSameTexture); in GetExpectedTextureData()
346 void DoTest(const TextureSpec& srcSpec, in GetExpectedTextureData() function in CopyTests_T2T
511 void DoTest(uint64_t sourceSize, in GetExpectedTextureData() function in CopyTests_B2B
554 void DoTest(uint64_t bufferSize, uint64_t clearOffset, uint64_t clearSize) { in GetExpectedTextureData() function in ClearBufferTests
592 DoTest(textureSpec, MinimumBufferSpec(kWidth, kHeight), {kWidth, kHeight, 1}); in GetExpectedTextureData()
603 DoTest(textureSpec, MinimumBufferSpec(kWidth, kHeight), {0, kHeight, 1}); in GetExpectedTextureData()
604 DoTest(textureSpe in GetExpectedTextureData()
[all...]
H A DCullingTests.cpp71 void DoTest(wgpu::FrontFace frontFace, in DoTest() function in CullingTest
105 DoTest(wgpu::FrontFace::CCW, wgpu::CullMode::None, false, false); in TEST_P()
109 DoTest(wgpu::FrontFace::CCW, wgpu::CullMode::Front, true, false); in TEST_P()
113 DoTest(wgpu::FrontFace::CCW, wgpu::CullMode::Back, false, true); in TEST_P()
117 DoTest(wgpu::FrontFace::CW, wgpu::CullMode::None, false, false); in TEST_P()
121 DoTest(wgpu::FrontFace::CW, wgpu::CullMode::Front, false, true); in TEST_P()
125 DoTest(wgpu::FrontFace::CW, wgpu::CullMode::Back, true, false); in TEST_P()
H A DPrimitiveStateTests.cpp88 void DoTest(const std::vector<TestSpec>& testParams, const RGBA8& expected) { in DoTest() function in DepthClampingTest
153 DoTest( in TEST_P()
180 DoTest( in TEST_P()
207 DoTest( in TEST_P()
225 DoTest( in TEST_P()
245 DoTest( in TEST_P()
272 DoTest( in TEST_P()
H A DDepthStencilStateTests.cpp137 DoTest({base, {state, lessColor, 0.f, 0u}}, less ? lessColor : baseColor); in CheckDepthCompareFunction()
141 DoTest({base, {state, equalColor, 0.5f, 0u}}, equal ? equalColor : baseColor); in CheckDepthCompareFunction()
145 DoTest({base, {state, greaterColor, 1.0f, 0u}}, greater ? greaterColor : baseColor); in CheckDepthCompareFunction()
191 DoTest({base, {state, lessColor, 0.f, 0u}}, less ? lessColor : baseColor); in CheckStencilCompareFunction()
195 DoTest({base, {state, equalColor, 0.f, 1u}}, equal ? equalColor : baseColor); in CheckStencilCompareFunction()
199 DoTest({base, {state, greaterColor, 0.f, 2u}}, greater ? greaterColor : baseColor); in CheckStencilCompareFunction()
261 DoTest(testParams, RGBA8(0, 255, 0, 255)); in CheckStencil()
267 void DoTest(const std::vector<TestSpec>& testParams, in DoTest() function in DepthStencilStateTest
356 void DoTest(const std::vector<TestSpec>& testParams, in DoTest() function in DepthStencilStateTest
359 DoTest(testParam in DoTest()
[all...]
H A DPrimitiveTopologyTests.cpp184 void DoTest(wgpu::PrimitiveTopology primitiveTopology, in DoTest() function in PrimitiveTopologyTest
237 DoTest(wgpu::PrimitiveTopology::PointList, in TEST_P()
252 DoTest(wgpu::PrimitiveTopology::LineList, in TEST_P()
266 DoTest(wgpu::PrimitiveTopology::LineStrip, { in TEST_P()
279 DoTest(wgpu::PrimitiveTopology::TriangleList, in TEST_P()
291 DoTest(wgpu::PrimitiveTopology::TriangleStrip, in TEST_P()
H A DSubresourceRenderAttachmentTests.cpp102 void DoTest(Type type) { in DoTest() function in SubresourceRenderAttachmentTest
146 DoTest(Type::Color); in TEST_P()
151 DoTest(Type::Depth); in TEST_P()
164 DoTest(Type::Stencil); in TEST_P()
H A DQueueTests.cpp255 void DoTest(const TextureSpec& textureSpec,
357 DoTest(textureSpec, MinimumDataSpec({w, h, d}), {w, h, d}); in TEST_P()
370 DoTest(textureSpec, MinimumDataSpec(textureSpec.textureSize), textureSpec.textureSize); in TEST_P()
389 DoTest(textureSpec, pixelData, kCopySize); in TEST_P()
412 DoTest(textureSpec, pixelData, kCopySize); in TEST_P()
428 DoTest(textureSpec, MinimumDataSpec({w, h, 1}), {w, h, 1}); in TEST_P()
445 DoTest(textureSpec, MinimumDataSpec({w, h, d}), {w, h, d}); in TEST_P()
463 DoTest(textureSpec, MinimumDataSpec({kWidth >> i, kHeight >> i, 1}), in TEST_P()
482 DoTest(textureSpec, dataSpec, {kWidth, kHeight, 1}); in TEST_P()
501 DoTest(textureSpe in TEST_P()
[all...]
H A DReadOnlyDepthStencilAttachmentTests.cpp126 void DoTest(wgpu::TextureAspect aspect, in DoTest() function in ReadOnlyDepthStencilAttachmentTests
210 DoTest(wgpu::TextureAspect::DepthOnly, depthFormat, colorTexture, &values); in TEST_P()
244 DoTest(wgpu::TextureAspect::StencilOnly, stencilFormat, colorTexture, &values); in TEST_P()
251 DoTest(wgpu::TextureAspect::StencilOnly, stencilFormat, colorTexture, &values); in TEST_P()
H A DBindGroupTests.cpp1275 auto DoTest = [&](wgpu::Buffer color1, wgpu::Buffer color2, wgpu::Buffer color3, RGBA8 filled) { in TEST_P() local
1306 DoTest(black, black, black, RGBA8(0, 0, 0, 0)); in TEST_P()
1310 DoTest(red, black, black, RGBA8(64, 0, 0, 0)); in TEST_P()
1311 DoTest(green, black, black, RGBA8(0, 64, 0, 0)); in TEST_P()
1312 DoTest(blue, black, black, RGBA8(0, 0, 64, 0)); in TEST_P()
1316 DoTest(green, blue, black, RGBA8(0, 64, 128, 0)); in TEST_P()
1317 DoTest(blue, green, black, RGBA8(0, 128, 64, 0)); in TEST_P()
1318 DoTest(red, green, black, RGBA8(64, 128, 0, 0)); in TEST_P()
1322 DoTest(black, blue, red, RGBA8(255, 0, 128, 0)); in TEST_P()
1323 DoTest(blu in TEST_P()
[all...]
H A DCopyTextureForBrowserTests.cpp399 void DoTest(const TextureSpec& srcSpec, in DoTest() function in CopyTextureForBrowserTests
470 DoTest(textureSpec, textureSpec, copySize, options);
560 DoTest(srcTextureSpec, dstTextureSpec, copySize, options); in DoCopySubRectTest()
577 DoTest(textureSpec, textureSpec, {kWidth, kHeight}, options); in DoAlphaOpTest()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
H A DVertexStateValidationTests.cpp355 auto DoTest = [&](wgpu::VertexFormat format, std::string shaderType, bool success) { in TEST_F() local
371 DoTest(wgpu::VertexFormat::Float32, "f32", true); in TEST_F()
372 DoTest(wgpu::VertexFormat::Float32, "i32", false); in TEST_F()
373 DoTest(wgpu::VertexFormat::Float32, "u32", false); in TEST_F()
376 DoTest(wgpu::VertexFormat::Unorm16x2, "f32", true); in TEST_F()
377 DoTest(wgpu::VertexFormat::Unorm16x2, "i32", false); in TEST_F()
378 DoTest(wgpu::VertexFormat::Unorm16x2, "u32", false); in TEST_F()
381 DoTest(wgpu::VertexFormat::Snorm16x4, "f32", true); in TEST_F()
382 DoTest(wgpu::VertexFormat::Snorm16x4, "i32", false); in TEST_F()
383 DoTest(wgp in TEST_F()
409 auto DoTest = [&](wgpu::VertexFormat format) { TEST_F() local
[all...]
H A DBindGroupValidationTests.cpp442 auto DoTest = [this](bool success, wgpu::TextureFormat format, in TEST_F() local
462 DoTest(true, wgpu::TextureFormat::RGBA8Unorm, wgpu::TextureSampleType::Float); in TEST_F()
463 DoTest(true, wgpu::TextureFormat::RGBA8Unorm, wgpu::TextureSampleType::UnfilterableFloat); in TEST_F()
464 DoTest(false, wgpu::TextureFormat::RGBA8Unorm, wgpu::TextureSampleType::Depth); in TEST_F()
465 DoTest(false, wgpu::TextureFormat::RGBA8Unorm, wgpu::TextureSampleType::Uint); in TEST_F()
466 DoTest(false, wgpu::TextureFormat::RGBA8Unorm, wgpu::TextureSampleType::Sint); in TEST_F()
469 DoTest(false, wgpu::TextureFormat::R32Float, wgpu::TextureSampleType::Float); in TEST_F()
470 DoTest(true, wgpu::TextureFormat::R32Float, wgpu::TextureSampleType::UnfilterableFloat); in TEST_F()
471 DoTest(false, wgpu::TextureFormat::R32Float, wgpu::TextureSampleType::Depth); in TEST_F()
472 DoTest(fals in TEST_F()
[all...]
/third_party/protobuf/src/google/protobuf/util/internal/
H A Djson_stream_parser_test.cc125 void DoTest( in DoTest() function in google::protobuf::util::converter::JsonStreamParserTest
165 DoTest(str, i); in TEST_F()
173 DoTest(str, i); in TEST_F()
181 DoTest(str, i); in TEST_F()
190 DoTest(str, i); in TEST_F()
198 DoTest(str, i); in TEST_F()
207 DoTest(str, i); in TEST_F()
215 DoTest(str, i); in TEST_F()
223 DoTest(str, i); in TEST_F()
231 DoTest(st in TEST_F()
[all...]
H A Dprotostream_objectsource_test.cc107 void DoTest(const Message& msg, const Descriptor* descriptor) { in DoTest() function in google::protobuf::util::converter::ProtostreamObjectSourceTest
301 DoTest(empty, Book::descriptor()); in TEST_P()
339 DoTest(primitive, Primitive::descriptor()); in TEST_P()
355 DoTest(primitive, Primitive::descriptor()); in TEST_P()
363 DoTest(author, Author::descriptor()); in TEST_P()
379 DoTest(book, Book::descriptor()); in TEST_P()
397 DoTest(author, Author::descriptor()); in TEST_P()
401 DoTest(PreparePackedPrimitive(), PackedPrimitive::descriptor()); in TEST_P()
406 DoTest(PreparePackedPrimitive(), Primitive::descriptor()); in TEST_P()
411 DoTest(PrepareRepeatedPrimitiv in TEST_P()
[all...]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/d3d12/
H A DCopySplitTests.cpp378 void DoTest(const TextureSpec& textureSpec, const BufferSpec& bufferSpec) { in DoTest() function in CopySplitTest
423 DoTest(textureSpec, bufferSpec); in TEST_P()
436 DoTest(textureSpec, bufferSpec); in TEST_P()
450 DoTest(textureSpec, bufferSpec); in TEST_P()
461 DoTest(textureSpec, bufferSpec); in TEST_P()
472 DoTest(textureSpec, bufferSpec); in TEST_P()
483 DoTest(textureSpec, bufferSpec); in TEST_P()
495 DoTest(textureSpec, bufferSpec); in TEST_P()
508 DoTest(textureSpec, bufferSpec); in TEST_P()
521 DoTest(textureSpe in TEST_P()
[all...]
/third_party/protobuf/conformance/
H A Dconformance_cpp.cc102 void DoTest(const ConformanceRequest& request, ConformanceResponse* response) { in DoTest() function
230 DoTest(request, &response); in DoTestIo()
/third_party/skia/third_party/externals/abseil-cpp/absl/container/
H A Dbtree_test.cc410 void DoTest(const char *name, T *b, const std::vector<V> &values) { in DoTest() function
605 DoTest("sorted: ", &container, sorted_values); in BtreeTest()
609 DoTest("rsorted: ", &container, sorted_values); in BtreeTest()
612 DoTest("random: ", &container, random_values); in BtreeTest()
629 DoTest("sorted: ", &container, sorted_values); in BtreeMultiTest()
633 DoTest("rsorted: ", &container, sorted_values); in BtreeMultiTest()
636 DoTest("random: ", &container, random_values); in BtreeMultiTest()
642 DoTest("duplicates:", &container, duplicate_values); in BtreeMultiTest()
648 DoTest("identical: ", &container, identical_values); in BtreeMultiTest()

Completed in 22 milliseconds