Lines Matching refs:config
54 tcu::TestStatus hostResetSetEventCase (Context& context, TestConfig config)
56 de::MovePtr<VideoDevice> videoDevice (config.videoCodecOperationFlags != 0 ? new VideoDevice(context, config.videoCodecOperationFlags) : DE_NULL);
68 DE_UNREF(config);
93 tcu::TestStatus deviceResetSetEventCase (Context& context, TestConfig config)
95 de::MovePtr<VideoDevice> videoDevice (config.videoCodecOperationFlags != 0 ? new VideoDevice(context, config.videoCodecOperationFlags) : DE_NULL);
116 SynchronizationWrapperPtr synchronizationWrapper = getSynchronizationWrapper(config.type, vk, DE_FALSE);
141 SynchronizationWrapperPtr synchronizationWrapper = getSynchronizationWrapper(config.type, vk, DE_FALSE);
235 tcu::TestStatus singleSubmissionCase (Context& context, TestConfig config)
238 de::MovePtr<VideoDevice> videoDevice (config.videoCodecOperationFlags != 0 ? new VideoDevice(context, config.videoCodecOperationFlags) : DE_NULL);
247 const Unique<VkEvent> event (createEvent(vk, device, config.flags));
253 SynchronizationWrapperPtr synchronizationWrapper = getSynchronizationWrapper(config.type, vk, DE_FALSE);
280 tcu::TestStatus multiSubmissionCase(Context& context, TestConfig config)
283 de::MovePtr<VideoDevice> videoDevice (config.videoCodecOperationFlags != 0 ? new VideoDevice(context, config.videoCodecOperationFlags) : DE_NULL);
293 const Unique<VkEvent> event (createEvent(vk, device, config.flags));
301 getSynchronizationWrapper(config.type, vk, DE_FALSE),
302 getSynchronizationWrapper(config.type, vk, DE_FALSE)
345 tcu::TestStatus secondaryCommandBufferCase (Context& context, TestConfig config)
348 de::MovePtr<VideoDevice> videoDevice (config.videoCodecOperationFlags != 0 ? new VideoDevice(context, config.videoCodecOperationFlags) : DE_NULL);
366 const Unique<VkEvent> event (createEvent(vk, device, config.flags));
392 SynchronizationWrapperPtr synchronizationWrapper = getSynchronizationWrapper(config.type, vk, DE_FALSE);
423 void checkSupport (Context& context, TestConfig config)
425 if (config.videoCodecOperationFlags != 0)
426 VideoDevice::checkSupport(context, config.videoCodecOperationFlags);
428 if (config.type == SynchronizationType::SYNCHRONIZATION2)
437 void checkSecondaryBufferSupport (Context& context, TestConfig config)
439 checkSupport(context, config);
451 TestConfig config
462 addFunctionCase(basicTests.get(), "host_set_reset", checkSupport, hostResetSetEventCase, config);
464 addFunctionCase(basicTests.get(), "device_set_reset", checkSupport, deviceResetSetEventCase, config);
466 addFunctionCase(basicTests.get(), "single_submit_multi_command_buffer", checkSupport, singleSubmissionCase, config);
468 addFunctionCase(basicTests.get(), "multi_submit_multi_command_buffer", checkSupport, multiSubmissionCase, config);
472 addFunctionCase(basicTests.get(), "multi_secondary_command_buffer", checkSecondaryBufferSupport, secondaryCommandBufferCase, config);
479 TestConfig config
489 addFunctionCase(basicTests.get(), "device_set_reset", checkSupport, deviceResetSetEventCase, config);
491 addFunctionCase(basicTests.get(), "single_submit_multi_command_buffer", checkSupport, singleSubmissionCase, config);
493 addFunctionCase(basicTests.get(), "multi_submit_multi_command_buffer", checkSupport, multiSubmissionCase, config);
495 addFunctionCase(basicTests.get(), "multi_secondary_command_buffer", checkSecondaryBufferSupport, secondaryCommandBufferCase, config);
497 addFunctionCase(basicTests.get(), "none_set_reset", checkSupport, eventSetResetNoneStage, config);
499 config.flags = VK_EVENT_CREATE_DEVICE_ONLY_BIT_KHR;
501 addFunctionCase(basicTests.get(), "single_submit_multi_command_buffer_device_only", checkSupport, singleSubmissionCase, config);
503 addFunctionCase(basicTests.get(), "multi_submit_multi_command_buffer_device_only", checkSupport, multiSubmissionCase, config);
505 addFunctionCase(basicTests.get(), "multi_secondary_command_buffer_device_only", checkSecondaryBufferSupport, secondaryCommandBufferCase, config);