Lines Matching defs:context

54 tcu::TestStatus hostResetSetEventCase (Context& context, TestConfig config)
56 de::MovePtr<VideoDevice> videoDevice (config.videoCodecOperationFlags != 0 ? new VideoDevice(context, config.videoCodecOperationFlags) : DE_NULL);
57 const VkDevice device = getSyncDevice(videoDevice, context);
58 const DeviceInterface& vk = getSyncDeviceInterface(videoDevice, context);
93 tcu::TestStatus deviceResetSetEventCase (Context& context, TestConfig config)
95 de::MovePtr<VideoDevice> videoDevice (config.videoCodecOperationFlags != 0 ? new VideoDevice(context, config.videoCodecOperationFlags) : DE_NULL);
96 const VkDevice device = getSyncDevice(videoDevice, context);
97 const DeviceInterface& vk = getSyncDeviceInterface(videoDevice, context);
98 const VkQueue queue = getSyncQueue(videoDevice, context);
99 const deUint32 queueFamilyIndex = getSyncQueueFamilyIndex(videoDevice, context);
135 context.resetCommandPoolForVKSC(device, *cmdPool);
167 tcu::TestStatus eventSetResetNoneStage (Context& context, TestConfig)
169 const DeviceInterface& vk = context.getDeviceInterface();
170 const VkDevice device = context.getDevice();
171 const VkQueue queue = context.getUniversalQueue();
172 const deUint32 queueFamilyIndex = context.getUniversalQueueFamilyIndex();
205 context.resetCommandPoolForVKSC(device, *cmdPool);
235 tcu::TestStatus singleSubmissionCase (Context& context, TestConfig config)
238 de::MovePtr<VideoDevice> videoDevice (config.videoCodecOperationFlags != 0 ? new VideoDevice(context, config.videoCodecOperationFlags) : DE_NULL);
239 const DeviceInterface& vk = getSyncDeviceInterface(videoDevice, context);
240 const VkDevice device = getSyncDevice(videoDevice, context);
241 const VkQueue queue = getSyncQueue(videoDevice, context);
242 const deUint32 queueFamilyIndex = getSyncQueueFamilyIndex(videoDevice, context);
280 tcu::TestStatus multiSubmissionCase(Context& context, TestConfig config)
283 de::MovePtr<VideoDevice> videoDevice (config.videoCodecOperationFlags != 0 ? new VideoDevice(context, config.videoCodecOperationFlags) : DE_NULL);
284 const DeviceInterface& vk = getSyncDeviceInterface(videoDevice, context);
285 const VkDevice device = getSyncDevice(videoDevice, context);
286 const VkQueue queue = getSyncQueue(videoDevice, context);
287 const deUint32 queueFamilyIndex = getSyncQueueFamilyIndex(videoDevice, context);
345 tcu::TestStatus secondaryCommandBufferCase (Context& context, TestConfig config)
348 de::MovePtr<VideoDevice> videoDevice (config.videoCodecOperationFlags != 0 ? new VideoDevice(context, config.videoCodecOperationFlags) : DE_NULL);
349 const DeviceInterface& vk = getSyncDeviceInterface(videoDevice, context);
350 const VkDevice device = getSyncDevice(videoDevice, context);
351 const VkQueue queue = getSyncQueue(videoDevice, context);
352 const deUint32 queueFamilyIndex = getSyncQueueFamilyIndex(videoDevice, context);
423 void checkSupport (Context& context, TestConfig config)
426 VideoDevice::checkSupport(context, config.videoCodecOperationFlags);
429 context.requireDeviceFunctionality("VK_KHR_synchronization2");
432 if (context.isDeviceFunctionalitySupported("VK_KHR_portability_subset") && !context.getPortabilitySubsetFeatures().events)
437 void checkSecondaryBufferSupport (Context& context, TestConfig config)
439 checkSupport(context, config);
442 if (context.getDeviceVulkanSC10Properties().secondaryCommandBufferNullOrImagelessFramebuffer == VK_FALSE)