/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/ |
D | vktSynchronizationSmokeTests.cpp | 622 void generateWork (TestContext& testContext) in generateWork() argument 624 const DeviceInterface& deviceInterface = testContext.vkd; in generateWork() 625 const deUint32 queueFamilyNdx = testContext.queueFamilyIndex; in generateWork() 630 testContext.device, in generateWork() 631 testContext.binaryCollection.get("glslvert"), in generateWork() 635 testContext.device, in generateWork() 636 testContext.binaryCollection.get("glslfrag"), in generateWork() 710 bufferParameters.memory = testContext.vertices; in generateWork() 711 bufferParameters.size = testContext.numVertices * sizeof(tcu::Vec4); in generateWork() 717 …createVulkanBuffer(deviceInterface, testContext.device, testContext.allocator, bufferParameters, b… in generateWork() [all …]
|
/third_party/skia/tests/ |
D | GrContextFactoryTest.cpp | 27 REPORTER_ASSERT(reporter, info1.testContext()); in DEF_GPUTEST() 35 REPORTER_ASSERT(reporter, info2.testContext()); in DEF_GPUTEST() 71 REPORTER_ASSERT(reporter, info3.testContext() != info4.testContext()); in DEF_GPUTEST() 76 REPORTER_ASSERT(reporter, info5.testContext()); in DEF_GPUTEST() 78 REPORTER_ASSERT(reporter, info5.testContext() != info4.testContext()); in DEF_GPUTEST()
|
D | ImageTest.cpp | 380 sk_gpu_test::TestContext* testContext = contextInfo.testContext(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 383 testContext->makeCurrent(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 393 auto restore = otherContextInfo.testContext()->makeCurrentAndAutoRestore(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 947 sk_gpu_test::TestContext* testContext = ctxInfo.testContext(); in test_cross_context_image() local 951 sk_gpu_test::TestContext* otherTestContext = otherContextInfo.testContext(); in test_cross_context_image() 963 testContext->makeCurrent(); in test_cross_context_image() 970 testContext->makeCurrent(); in test_cross_context_image() 976 testContext->makeCurrent(); in test_cross_context_image() 982 testContext->makeCurrent(); in test_cross_context_image() 996 testContext->makeCurrent(); in test_cross_context_image() [all …]
|
/third_party/flutter/skia/tests/ |
D | GrContextFactoryTest.cpp | 26 REPORTER_ASSERT(reporter, info1.testContext()); in DEF_GPUTEST() 34 REPORTER_ASSERT(reporter, info2.testContext()); in DEF_GPUTEST() 70 REPORTER_ASSERT(reporter, info3.testContext() != info4.testContext()); in DEF_GPUTEST() 75 REPORTER_ASSERT(reporter, info5.testContext()); in DEF_GPUTEST() 77 REPORTER_ASSERT(reporter, info5.testContext() != info4.testContext()); in DEF_GPUTEST()
|
D | ImageTest.cpp | 373 sk_gpu_test::TestContext* testContext = contextInfo.testContext(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 376 testContext->makeCurrent(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 390 auto restore = otherContextInfo.testContext()->makeCurrentAndAutoRestore(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 918 sk_gpu_test::TestContext* testContext = ctxInfo.testContext(); in test_cross_context_image() local 922 sk_gpu_test::TestContext* otherTestContext = otherContextInfo.testContext(); in test_cross_context_image() 934 testContext->makeCurrent(); in test_cross_context_image() 941 testContext->makeCurrent(); in test_cross_context_image() 947 testContext->makeCurrent(); in test_cross_context_image() 953 testContext->makeCurrent(); in test_cross_context_image() 966 testContext->makeCurrent(); in test_cross_context_image() [all …]
|
/third_party/skia/tools/graphite/ |
D | ContextFactory.cpp | 25 std::unique_ptr<GraphiteTestContext> testContext, in ContextInfo() argument 28 , fTestContext(std::move(testContext)) in ContextInfo() 40 return { c.testContext(), c.refContext() }; in getContextInfo() 68 return { fContexts.back().testContext(), fContexts.back().refContext() }; in getContextInfo()
|
D | ContextFactory.h | 41 GraphiteTestContext* testContext() const { return fTestContext.get(); } in testContext() function 47 std::unique_ptr<GraphiteTestContext> testContext,
|
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
D | gl4cSparseBufferTests.hpp | 178 …AtomicCounterBufferStorageTestCase(const glw::Functions& gl, tcu::TestContext& testContext, glw::G… 238 …ureStorageTestCase(const glw::Functions& gl, deqp::Context& context, tcu::TestContext& testContext, 289 …ClearOpsBufferStorageTestCase(const glw::Functions& gl, tcu::TestContext& testContext, glw::GLint … 348 …CopyOpsBufferStorageTestCase(const glw::Functions& gl, tcu::TestContext& testContext, glw::GLint p… 426 IndirectDispatchBufferStorageTestCase(const glw::Functions& gl, tcu::TestContext& testContext, 470 …InvalidateBufferStorageTestCase(const glw::Functions& gl, tcu::TestContext& testContext, glw::GLin… 515 …PixelPackBufferStorageTestCase(const glw::Functions& gl, tcu::TestContext& testContext, glw::GLint… 570 …PixelUnpackBufferStorageTestCase(const glw::Functions& gl, tcu::TestContext& testContext, glw::GLi… 672 …QuadsBufferStorageTestCase(const glw::Functions& gl, tcu::TestContext& testContext, glw::GLint pag… 752 …QueryBufferStorageTestCase(const glw::Functions& gl, tcu::TestContext& testContext, glw::GLint pag… [all …]
|
D | gl4cSparseBufferTests.cpp | 829 tcu::TestContext& testContext, in AtomicCounterBufferStorageTestCase() argument 846 , m_testCtx(testContext) in AtomicCounterBufferStorageTestCase() 1196 tcu::TestContext& testContext, glw::GLint page_size) in BufferTextureStorageTestCase() argument 1211 , m_testCtx(testContext) in BufferTextureStorageTestCase() 1571 …ageTestCase::ClearOpsBufferStorageTestCase(const glw::Functions& gl, tcu::TestContext& testContext, in ClearOpsBufferStorageTestCase() argument 1580 , m_testCtx(testContext) in ClearOpsBufferStorageTestCase() 1894 …rageTestCase::CopyOpsBufferStorageTestCase(const glw::Functions& gl, tcu::TestContext& testContext, in CopyOpsBufferStorageTestCase() argument 1902 , m_testCtx(testContext) in CopyOpsBufferStorageTestCase() 2567 tcu::TestContext& testContext, in IndirectDispatchBufferStorageTestCase() argument 2580 , m_testCtx(testContext) in IndirectDispatchBufferStorageTestCase() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineCacheTests.cpp | 424 vkt::TestCase* newTestCase (tcu::TestContext& testContext, in newTestCase() argument 427 return new Test(testContext, in newTestCase() 502 CacheTest (tcu::TestContext& testContext, in CacheTest() argument 506 : vkt::TestCase (testContext, name, description) in CacheTest() 587 GraphicsCacheTest (tcu::TestContext& testContext, in GraphicsCacheTest() argument 591 : CacheTest (testContext, name, description, param) in GraphicsCacheTest() 1093 ComputeCacheTest (tcu::TestContext& testContext, in ComputeCacheTest() argument 1097 : CacheTest (testContext, name, description, param) in ComputeCacheTest() 1360 …PipelineFromCacheTest (tcu::TestContext& testContext, const std::string& name, const std::string&… 1365 PipelineFromCacheTest::PipelineFromCacheTest (tcu::TestContext& testContext, const std::string& nam… in PipelineFromCacheTest() argument [all …]
|
D | vktPipelineSamplerTests.cpp | 98 SamplerTest (tcu::TestContext& testContext, 138 SamplerMagFilterTest (tcu::TestContext& testContext, 155 SamplerMinFilterTest (tcu::TestContext& testContext, 172 SamplerMagReduceFilterTest (tcu::TestContext& testContext, 193 SamplerMinReduceFilterTest (tcu::TestContext& testContext, 214 SamplerLodTest (tcu::TestContext& testContext, 250 SamplerAddressModesTest (tcu::TestContext& testContext, 281 SamplerTest::SamplerTest (tcu::TestContext& testContext, in SamplerTest() argument 289 : vkt::TestCase (testContext, name, description) in SamplerTest() 592 SamplerMagFilterTest::SamplerMagFilterTest (tcu::TestContext& testContext, in SamplerMagFilterTest() argument [all …]
|
D | vktPipelineCreationFeedbackTests.cpp | 493 vkt::TestCase* newTestCase (tcu::TestContext& testContext, in newTestCase() argument 496 return new Test(testContext, in newTestCase() 506 CacheTest(tcu::TestContext& testContext, in CacheTest() argument 510 : vkt::TestCase (testContext, name, description) in CacheTest() 570 GraphicsCacheTest (tcu::TestContext& testContext, in GraphicsCacheTest() argument 574 : CacheTest (testContext, name, description, param) in GraphicsCacheTest() 957 ComputeCacheTest (tcu::TestContext& testContext, in ComputeCacheTest() argument 961 : CacheTest (testContext, name, description, param) in ComputeCacheTest()
|
D | vktPipelineTimestampTests.cpp | 629 vkt::TestCase* newTestCase (tcu::TestContext& testContext, in newTestCase() argument 632 return new Test(testContext, in newTestCase() 647 TimestampTest (tcu::TestContext& testContext, in TimestampTest() argument 651 : vkt::TestCase (testContext, name, description) in TimestampTest() 996 CalibratedTimestampTest (tcu::TestContext& testContext, in CalibratedTimestampTest() argument 999 : vkt::TestCase{testContext, name, description} in CalibratedTimestampTest() 1519 BasicGraphicsTest (tcu::TestContext& testContext, in BasicGraphicsTest() argument 1523 : TimestampTest (testContext, name, description, param) in BasicGraphicsTest() 1830 AdvGraphicsTest (tcu::TestContext& testContext, in AdvGraphicsTest() argument 1834 : BasicGraphicsTest(testContext, name, description, param) in AdvGraphicsTest() [all …]
|
D | vktPipelineExecutablePropertiesTests.cpp | 528 vkt::TestCase* newTestCase (tcu::TestContext& testContext, in newTestCase() argument 531 return new Test(testContext, in newTestCase() 541 ExecutablePropertiesTest(tcu::TestContext& testContext, in ExecutablePropertiesTest() argument 545 : vkt::TestCase (testContext, name, description) in ExecutablePropertiesTest() 1066 GraphicsExecutablePropertiesTest (tcu::TestContext& testContext, in GraphicsExecutablePropertiesTest() argument 1070 : ExecutablePropertiesTest (testContext, name, description, param) in GraphicsExecutablePropertiesTest() 1317 ComputeExecutablePropertiesTest (tcu::TestContext& testContext, in ComputeExecutablePropertiesTest() argument 1321 : ExecutablePropertiesTest (testContext, name, description, param) in ComputeExecutablePropertiesTest()
|
/third_party/vk-gl-cts/modules/glshared/ |
D | glsShaderConstExprTests.cpp | 75 std::vector<tcu::TestNode*> createTests (tcu::TestContext& testContext, in createTests() argument 169 ret.push_back(new ShaderLibraryCase(testContext, in createTests() 190 ret.push_back(new ShaderLibraryCase(testContext, in createTests() 223 ret.push_back(new ShaderLibraryCase(testContext, in createTests() 244 ret.push_back(new ShaderLibraryCase(testContext, in createTests()
|
D | glsShaderConstExprTests.hpp | 70 std::vector<tcu::TestNode*> createTests (tcu::TestContext& testContext,
|
/third_party/flutter/skia/tools/gpu/ |
D | GrContextFactory.h | 172 TestContext* testContext() const { return fTestContext; } in testContext() function 182 ContextInfo(GrContextFactory::ContextType type, TestContext* testContext, GrContext* grContext, in ContextInfo() argument 184 : fType(type), fTestContext(testContext), fGrContext(grContext), fOptions(options) {} in ContextInfo()
|
/third_party/skia/tools/gpu/ |
D | GrContextFactory.h | 182 TestContext* testContext() const { return fTestContext; } in testContext() function 195 TestContext* testContext, in ContextInfo() argument 198 : fType(type), fTestContext(testContext), fContext(context), fOptions(options) {} in ContextInfo()
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
D | glcFramebufferCompleteness.cpp | 216 bool isDifferentRboSampleCountsSupported(TestContext& testContext, GLint& maxSamples) in isDifferentRboSampleCountsSupported() argument 218 const auto& gl = testContext.gl; in isDifferentRboSampleCountsSupported() 225 …testContext.renderbufferStorageMultisample(testContext.rboIds[0], GL_RENDERBUFFER, 1, GL_RGBA8, TE… in isDifferentRboSampleCountsSupported() 226 gl.bindRenderbuffer(GL_RENDERBUFFER, testContext.rboIds[0]); in isDifferentRboSampleCountsSupported() 238 bool isDifferentTextureSampleCountsSupported(TestContext& testContext, GLint& maxSamples) in isDifferentTextureSampleCountsSupported() argument 240 if (glu::contextSupports(testContext.renderContext.getType(), apiES31)) in isDifferentTextureSampleCountsSupported() 242 const auto& gl = testContext.gl; in isDifferentTextureSampleCountsSupported() 257 testContext.bindTexture(GL_TEXTURE_2D_MULTISAMPLE, tempTexId); in isDifferentTextureSampleCountsSupported() 265 testContext.bindTexture(GL_TEXTURE_2D_MULTISAMPLE, 0); in isDifferentTextureSampleCountsSupported() 604 [](vector<TestStep>& steps, TestContext& testContext) // StepsGeneratorFn stepsGenerator [all …]
|
D | glcCompressedFormatTests.cpp | 635 …[](deqp::Context& testContext, vector<ApiCaseStep>& steps) // ApiCaseStepGeneratorFn stepsGene… 638 const auto data = loadImage(testContext.getTestContext().getArchive(), format, 0); in __anon399be5110d02() 802 …[](deqp::Context& testContext, vector<ApiCaseStep>& steps) // ApiCaseStepGeneratorFn stepsGe… 806 if (!contextSupports(testContext.getRenderContext().getType(), compressedFormats[i].minApi)) in __anon399be5111c02() 809 …const auto data = loadImage(testContext.getTestContext().getArchive(), compressedFormats[i].intern… in __anon399be5111c02() 844 …[](deqp::Context& testContext, vector<ApiCaseStep>& steps) // ApiCaseStepGeneratorFn stepsGe… 848 if (!contextSupports(testContext.getRenderContext().getType(), compressedFormats[i].minApi)) in __anon399be5112002() 873 …[](deqp::Context& testContext, vector<ApiCaseStep>& steps) // ApiCaseStepGeneratorFn stepsGe… 878 if (!contextSupports(testContext.getRenderContext().getType(), format.minApi)) in __anon399be5112202() 881 … const auto data = loadImage(testContext.getTestContext().getArchive(), format.internalFormat, 0); in __anon399be5112202() [all …]
|
/third_party/vk-gl-cts/modules/egl/ |
D | teglThreadCleanUpTests.cpp | 71 void testContext (EGLContext context) in testContext() function in deqp::egl::__anon7b51c3680111::Thread 111 testContext(*context); in run() 115 testContext(m_context); in run()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/robustness/ |
D | vktRobustnessVertexAccessTests.cpp | 54 VertexAccessTest (tcu::TestContext& testContext, 81 DrawAccessTest (tcu::TestContext& testContext, 110 DrawIndexedAccessTest (tcu::TestContext& testContext, 232 VertexAccessTest::VertexAccessTest (tcu::TestContext& testContext, in VertexAccessTest() argument 241 : vkt::TestCase (testContext, name, description) in VertexAccessTest() 364 DrawAccessTest::DrawAccessTest (tcu::TestContext& testContext, in DrawAccessTest() argument 373 …: VertexAccessTest (testContext, name, description, inputFormat, numVertexValues, numInstanceValu… in DrawAccessTest() 412 DrawIndexedAccessTest::DrawIndexedAccessTest (tcu::TestContext& testContext, in DrawIndexedAccessTest() argument 418 : VertexAccessTest (testContext, in DrawIndexedAccessTest()
|
D | vktRobustnessBufferAccessTests.cpp | 76 RobustBufferAccessTest (tcu::TestContext& testContext, 114 RobustBufferReadTest (tcu::TestContext& testContext, 138 RobustBufferWriteTest (tcu::TestContext& testContext, 259 RobustBufferAccessTest::RobustBufferAccessTest (tcu::TestContext& testContext, in RobustBufferAccessTest() argument 265 : vkt::TestCase (testContext, name, description) in RobustBufferAccessTest() 608 RobustBufferReadTest::RobustBufferReadTest (tcu::TestContext& testContext, in RobustBufferReadTest() argument 617 : RobustBufferAccessTest (testContext, name, description, shaderStage, shaderType, bufferFormat) in RobustBufferReadTest() 638 RobustBufferWriteTest::RobustBufferWriteTest (tcu::TestContext& testContext, in RobustBufferWriteTest() argument 647 : RobustBufferAccessTest (testContext, name, description, shaderStage, shaderType, bufferFormat) in RobustBufferWriteTest()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fCopyImageTests.cpp | 1222 void renderTexture2DView (tcu::TestContext& testContext, in renderTexture2DView() argument 1232 tcu::TestLog& log = testContext.getLog(); in renderTexture2DView() 1312 void renderTexture2D (tcu::TestContext& testContext, in renderTexture2D() argument 1332 …renderTexture2DView(testContext, renderContext, textureRenderer, results, rng, name, info, refText… in renderTexture2D() 1340 …renderTexture2DView(testContext, renderContext, textureRenderer, results, rng, name, info, refText… in renderTexture2D() 1344 void renderTexture3DView (tcu::TestContext& testContext, in renderTexture3DView() argument 1354 tcu::TestLog& log = testContext.getLog(); in renderTexture3DView() 1384 void renderTexture3D (tcu::TestContext& testContext, in renderTexture3D() argument 1404 …renderTexture3DView(testContext, renderContext, textureRenderer, results, rng, name, info, refText… in renderTexture3D() 1412 …renderTexture3DView(testContext, renderContext, textureRenderer, results, rng, name, info, refText… in renderTexture3D() [all …]
|
/third_party/skia/tools/skpbench/ |
D | skpbench.cpp | 253 static void run_ddl_benchmark(sk_gpu_test::TestContext* testContext, GrDirectContext *dContext, in run_ddl_benchmark() argument 291 testContext->makeNotCurrent(); in run_ddl_benchmark() 292 gpuTaskGroup->add([=]{ testContext->makeCurrent(); }); in run_ddl_benchmark() 319 testContext->makeNotCurrent(); in run_ddl_benchmark() 322 testContext->makeCurrent(); in run_ddl_benchmark() 590 sk_gpu_test::TestContext* testCtx = ctxInfo.testContext(); in main()
|