Home
last modified time | relevance | path

Searched refs:testContext (Results 1 – 25 of 115) sorted by relevance

12345

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationSmokeTests.cpp665 void generateWork (TestContext& testContext) in generateWork() argument
667 const DeviceInterface& deviceInterface = testContext.vkd; in generateWork()
668 const deUint32 queueFamilyNdx = testContext.queueFamilyIndex; in generateWork()
673 testContext.device, in generateWork()
674 testContext.binaryCollection.get("glslvert"), in generateWork()
678 testContext.device, in generateWork()
679 testContext.binaryCollection.get("glslfrag"), in generateWork()
753 bufferParameters.memory = testContext.vertices; in generateWork()
754 bufferParameters.size = testContext.numVertices * sizeof(tcu::Vec4); in generateWork()
760 …createVulkanBuffer(deviceInterface, testContext.device, testContext.allocator, bufferParameters, b… in generateWork()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/synchronization/
DvktSynchronizationSmokeTests.cpp665 void generateWork (TestContext& testContext) in generateWork() argument
667 const DeviceInterface& deviceInterface = testContext.vkd; in generateWork()
668 const deUint32 queueFamilyNdx = testContext.queueFamilyIndex; in generateWork()
673 testContext.device, in generateWork()
674 testContext.binaryCollection.get("glslvert"), in generateWork()
678 testContext.device, in generateWork()
679 testContext.binaryCollection.get("glslfrag"), in generateWork()
753 bufferParameters.memory = testContext.vertices; in generateWork()
754 bufferParameters.size = testContext.numVertices * sizeof(tcu::Vec4); in generateWork()
760 …createVulkanBuffer(deviceInterface, testContext.device, testContext.allocator, bufferParameters, b… in generateWork()
[all …]
/third_party/skia/tests/
DGrContextFactoryTest.cpp27 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()
DImageTest.cpp380 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/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cSparseBufferTests.hpp178 …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 …]
/third_party/skia/tools/graphite/
DContextFactory.cpp25 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()
DContextFactory.h41 GraphiteTestContext* testContext() const { return fTestContext.get(); } in testContext() function
47 std::unique_ptr<GraphiteTestContext> testContext,
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineCacheTests.cpp135 vkt::TestCase* newTestCase (tcu::TestContext& testContext, in newTestCase() argument
138 return new Test(testContext, in newTestCase()
213 CacheTest (tcu::TestContext& testContext, in CacheTest() argument
217 : vkt::TestCase (testContext, name, description) in CacheTest()
298 GraphicsCacheTest (tcu::TestContext& testContext, in GraphicsCacheTest() argument
302 : CacheTest (testContext, name, description, param) in GraphicsCacheTest()
863 ComputeCacheTest (tcu::TestContext& testContext, in ComputeCacheTest() argument
867 : CacheTest (testContext, name, description, param) in ComputeCacheTest()
1130 …PipelineFromCacheTest (tcu::TestContext& testContext, const std::string& name, const std::string&…
1135 PipelineFromCacheTest::PipelineFromCacheTest (tcu::TestContext& testContext, const std::string& nam… in PipelineFromCacheTest() argument
[all …]
DvktPipelineSamplerTests.cpp100 SamplerTest (tcu::TestContext& testContext,
145 SamplerMagFilterTest (tcu::TestContext& testContext,
163 SamplerMinFilterTest (tcu::TestContext& testContext,
181 SamplerMagReduceFilterTest (tcu::TestContext& testContext,
203 SamplerMinReduceFilterTest (tcu::TestContext& testContext,
225 SamplerLodTest (tcu::TestContext& testContext,
264 SamplerAddressModesTest (tcu::TestContext& testContext,
297 SamplerTest::SamplerTest (tcu::TestContext& testContext, in SamplerTest() argument
307 : vkt::TestCase (testContext, name, description) in SamplerTest()
625 SamplerMagFilterTest::SamplerMagFilterTest (tcu::TestContext& testContext, in SamplerMagFilterTest() argument
[all …]
DvktPipelineCreationFeedbackTests.cpp165 vkt::TestCase* newTestCase (tcu::TestContext& testContext, in newTestCase() argument
168 return new Test(testContext, in newTestCase()
178 CacheTest(tcu::TestContext& testContext, in CacheTest() argument
182 : vkt::TestCase (testContext, name, description) in CacheTest()
242 GraphicsCacheTest (tcu::TestContext& testContext, in GraphicsCacheTest() argument
246 : CacheTest (testContext, name, description, param) in GraphicsCacheTest()
863 ComputeCacheTest (tcu::TestContext& testContext, in ComputeCacheTest() argument
867 : CacheTest (testContext, name, description, param) in ComputeCacheTest()
DvktPipelineTimestampTests.cpp437 vkt::TestCase* newTestCase (tcu::TestContext& testContext, in newTestCase() argument
440 return new Test(testContext, in newTestCase()
455 TimestampTest (tcu::TestContext& testContext, in TimestampTest() argument
459 : vkt::TestCase (testContext, name, description) in TimestampTest()
813 CalibratedTimestampTest (tcu::TestContext& testContext, in CalibratedTimestampTest() argument
816 : vkt::TestCase{testContext, name, description} in CalibratedTimestampTest()
1336 BasicGraphicsTest (tcu::TestContext& testContext, in BasicGraphicsTest() argument
1340 : TimestampTest (testContext, name, description, param) in BasicGraphicsTest()
1744 AdvGraphicsTest (tcu::TestContext& testContext, in AdvGraphicsTest() argument
1748 : BasicGraphicsTest(testContext, name, description, param) in AdvGraphicsTest()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
DvktPipelineCacheTests.cpp135 vkt::TestCase* newTestCase (tcu::TestContext& testContext, in newTestCase() argument
138 return new Test(testContext, in newTestCase()
213 CacheTest (tcu::TestContext& testContext, in CacheTest() argument
217 : vkt::TestCase (testContext, name, description) in CacheTest()
298 GraphicsCacheTest (tcu::TestContext& testContext, in GraphicsCacheTest() argument
302 : CacheTest (testContext, name, description, param) in GraphicsCacheTest()
863 ComputeCacheTest (tcu::TestContext& testContext, in ComputeCacheTest() argument
867 : CacheTest (testContext, name, description, param) in ComputeCacheTest()
1130 …PipelineFromCacheTest (tcu::TestContext& testContext, const std::string& name, const std::string&…
1135 PipelineFromCacheTest::PipelineFromCacheTest (tcu::TestContext& testContext, const std::string& nam… in PipelineFromCacheTest() argument
[all …]
DvktPipelineSamplerTests.cpp100 SamplerTest (tcu::TestContext& testContext,
145 SamplerMagFilterTest (tcu::TestContext& testContext,
163 SamplerMinFilterTest (tcu::TestContext& testContext,
181 SamplerMagReduceFilterTest (tcu::TestContext& testContext,
203 SamplerMinReduceFilterTest (tcu::TestContext& testContext,
225 SamplerLodTest (tcu::TestContext& testContext,
264 SamplerAddressModesTest (tcu::TestContext& testContext,
297 SamplerTest::SamplerTest (tcu::TestContext& testContext, in SamplerTest() argument
307 : vkt::TestCase (testContext, name, description) in SamplerTest()
625 SamplerMagFilterTest::SamplerMagFilterTest (tcu::TestContext& testContext, in SamplerMagFilterTest() argument
[all …]
DvktPipelineCreationFeedbackTests.cpp165 vkt::TestCase* newTestCase (tcu::TestContext& testContext, in newTestCase() argument
168 return new Test(testContext, in newTestCase()
178 CacheTest(tcu::TestContext& testContext, in CacheTest() argument
182 : vkt::TestCase (testContext, name, description) in CacheTest()
242 GraphicsCacheTest (tcu::TestContext& testContext, in GraphicsCacheTest() argument
246 : CacheTest (testContext, name, description, param) in GraphicsCacheTest()
863 ComputeCacheTest (tcu::TestContext& testContext, in ComputeCacheTest() argument
867 : CacheTest (testContext, name, description, param) in ComputeCacheTest()
DvktPipelineTimestampTests.cpp437 vkt::TestCase* newTestCase (tcu::TestContext& testContext, in newTestCase() argument
440 return new Test(testContext, in newTestCase()
455 TimestampTest (tcu::TestContext& testContext, in TimestampTest() argument
459 : vkt::TestCase (testContext, name, description) in TimestampTest()
813 CalibratedTimestampTest (tcu::TestContext& testContext, in CalibratedTimestampTest() argument
816 : vkt::TestCase{testContext, name, description} in CalibratedTimestampTest()
1336 BasicGraphicsTest (tcu::TestContext& testContext, in BasicGraphicsTest() argument
1340 : TimestampTest (testContext, name, description, param) in BasicGraphicsTest()
1744 AdvGraphicsTest (tcu::TestContext& testContext, in AdvGraphicsTest() argument
1748 : BasicGraphicsTest(testContext, name, description, param) in AdvGraphicsTest()
[all …]
/third_party/vk-gl-cts/modules/glshared/
DglsShaderConstExprTests.cpp75 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()
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcFramebufferCompleteness.cpp216 bool isDifferentRboSampleCountsSupported(TestContext& testContext, GLint& maxSamples) in isDifferentRboSampleCountsSupported() argument
218 const auto& gl = testContext.gl; in isDifferentRboSampleCountsSupported()
225testContext.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 …]
DglcCompressedFormatTests.cpp635 …[](deqp::Context& testContext, vector<ApiCaseStep>& steps) // ApiCaseStepGeneratorFn stepsGene…
638 const auto data = loadImage(testContext.getTestContext().getArchive(), format, 0); in __anon0e819c9e0d02()
802 …[](deqp::Context& testContext, vector<ApiCaseStep>& steps) // ApiCaseStepGeneratorFn stepsGe…
806 if (!contextSupports(testContext.getRenderContext().getType(), compressedFormats[i].minApi)) in __anon0e819c9e1c02()
809 …const auto data = loadImage(testContext.getTestContext().getArchive(), compressedFormats[i].intern… in __anon0e819c9e1c02()
844 …[](deqp::Context& testContext, vector<ApiCaseStep>& steps) // ApiCaseStepGeneratorFn stepsGe…
848 if (!contextSupports(testContext.getRenderContext().getType(), compressedFormats[i].minApi)) in __anon0e819c9e2002()
873 …[](deqp::Context& testContext, vector<ApiCaseStep>& steps) // ApiCaseStepGeneratorFn stepsGe…
878 if (!contextSupports(testContext.getRenderContext().getType(), format.minApi)) in __anon0e819c9e2202()
881 … const auto data = loadImage(testContext.getTestContext().getArchive(), format.internalFormat, 0); in __anon0e819c9e2202()
[all …]
/third_party/skia/tools/gpu/
DGrContextFactory.h182 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/vulkancts/modules_no_buildgn/vulkan/robustness/
DvktRobustness1VertexAccessTests.cpp196 …[](TestContext& testContext, Context& context, const VkDevice device, DeviceDriverPtr deviceDriver)
235 testContext, context, device, deviceDriver, in __anon37eb63530302()
255 …[](TestContext& testContext, Context& context, const VkDevice device, DeviceDriverPtr deviceDriver)
291 testContext, context, device, deviceDriver, in __anon37eb63530602()
310 …[](TestContext& testContext, Context& context, const VkDevice device, DeviceDriverPtr deviceDriver)
350 testContext, context, device, deviceDriver, in __anon37eb63530902()
369 …[](TestContext& testContext, Context& context, const VkDevice device, DeviceDriverPtr deviceDriver)
409 testContext, context, device, deviceDriver, in __anon37eb63530c02()
847 Robustness1AccessTest (TestContext& testContext, const Robustness1TestInfo &testInfo);
859 Robustness1AccessTest::Robustness1AccessTest (TestContext &testContext, const Robustness1TestInfo& … in Robustness1AccessTest() argument
[all …]
DvktRobustnessVertexAccessTests.cpp55 VertexAccessTest (tcu::TestContext& testContext,
82 DrawAccessTest (tcu::TestContext& testContext,
111 DrawIndexedAccessTest (tcu::TestContext& testContext,
254 VertexAccessTest::VertexAccessTest (tcu::TestContext& testContext, in VertexAccessTest() argument
263 : vkt::TestCase (testContext, name, description) in VertexAccessTest()
386 DrawAccessTest::DrawAccessTest (tcu::TestContext& testContext, in DrawAccessTest() argument
395 …: VertexAccessTest (testContext, name, description, inputFormat, numVertexValues, numInstanceValu… in DrawAccessTest()
440 DrawIndexedAccessTest::DrawIndexedAccessTest (tcu::TestContext& testContext, in DrawIndexedAccessTest() argument
446 : VertexAccessTest (testContext, in DrawIndexedAccessTest()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/robustness/
DvktRobustness1VertexAccessTests.cpp196 …[](TestContext& testContext, Context& context, const VkDevice device, DeviceDriverPtr deviceDriver)
235 testContext, context, device, deviceDriver, in __anon8b308d930302()
255 …[](TestContext& testContext, Context& context, const VkDevice device, DeviceDriverPtr deviceDriver)
291 testContext, context, device, deviceDriver, in __anon8b308d930602()
310 …[](TestContext& testContext, Context& context, const VkDevice device, DeviceDriverPtr deviceDriver)
350 testContext, context, device, deviceDriver, in __anon8b308d930902()
369 …[](TestContext& testContext, Context& context, const VkDevice device, DeviceDriverPtr deviceDriver)
409 testContext, context, device, deviceDriver, in __anon8b308d930c02()
847 Robustness1AccessTest (TestContext& testContext, const Robustness1TestInfo &testInfo);
859 Robustness1AccessTest::Robustness1AccessTest (TestContext &testContext, const Robustness1TestInfo& … in Robustness1AccessTest() argument
[all …]
DvktRobustnessVertexAccessTests.cpp55 VertexAccessTest (tcu::TestContext& testContext,
82 DrawAccessTest (tcu::TestContext& testContext,
111 DrawIndexedAccessTest (tcu::TestContext& testContext,
254 VertexAccessTest::VertexAccessTest (tcu::TestContext& testContext, in VertexAccessTest() argument
263 : vkt::TestCase (testContext, name, description) in VertexAccessTest()
386 DrawAccessTest::DrawAccessTest (tcu::TestContext& testContext, in DrawAccessTest() argument
395 …: VertexAccessTest (testContext, name, description, inputFormat, numVertexValues, numInstanceValu… in DrawAccessTest()
440 DrawIndexedAccessTest::DrawIndexedAccessTest (tcu::TestContext& testContext, in DrawIndexedAccessTest() argument
446 : VertexAccessTest (testContext, in DrawIndexedAccessTest()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fCopyImageTests.cpp1222 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/vk-gl-cts/modules/egl/
DteglThreadCleanUpTests.cpp71 void testContext (EGLContext context) in testContext() function in deqp::egl::__anon06d1c3f50111::Thread
111 testContext(*context); in run()
115 testContext(m_context); in run()

12345