Lines Matching defs:context

174 	inline void		setDevice				(Move<VkDevice> device, const Context& context)
178 m_deviceDriver = de::MovePtr<DeviceDriver> (new DeviceDriver(context.getPlatformInterface(), context.getInstance(), *m_logicalDevice, context.getUsedApiVersion()));
180 m_deviceDriver = de::MovePtr<DeviceDriverSC, DeinitDeviceDeleter>(new DeviceDriverSC(context.getPlatformInterface(), context.getInstance(), *m_logicalDevice, context.getTestContext().getCommandLine(), context.getResourceInterface(), context.getDeviceVulkanSC10Properties(), context.getDeviceProperties(), context.getUsedApiVersion()), vk::DeinitDeviceDeleter(context.getResourceInterface().get(), *m_logicalDevice));
206 MovePtr<Allocator> createAllocator (const Context& context, const VkDevice& device)
208 const DeviceInterface& deviceInterface = context.getDeviceInterface();
209 const InstanceInterface& instance = context.getInstanceInterface();
210 const VkPhysicalDevice physicalDevice = context.getPhysicalDevice();
234 MovePtr<MultiQueues> createQueues (Context& context, const VkQueueFlags& queueFlag, const VkInstance& instance, const InstanceInterface& vki)
236 const VkPhysicalDevice physicalDevice = chooseDevice(vki, instance, context.getTestContext().getCommandLine());
293 VkDeviceObjectReservationCreateInfo memReservationInfo = context.getTestContext().getCommandLine().isSubProcess() ? context.getResourceInterface()->getStatMax() : resetDeviceObjectReservationCreateInfo();
303 if (context.getTestContext().getCommandLine().isSubProcess())
305 if (context.getResourceInterface()->getCacheDataSize() > 0)
313 context.getResourceInterface()->getCacheDataSize(), // deUintptr initialDataSize;
314 context.getResourceInterface()->getCacheData() // const void* pInitialData;
320 poolSizes = context.getResourceInterface()->getPipelinePoolSizes();
339 queues.setDevice(createCustomDevice(context.getTestContext().getCommandLine().isValidationEnabled(), context.getPlatformInterface(), instance, vki, physicalDevice, &deviceInfo), context);
352 queues.m_allocator = createAllocator(context, queues.getDevice());
356 TestStatus executeComputePipeline (const Context& context, const VkPipeline& pipeline, const VkPipelineLayout& pipelineLayout,
359 DE_UNREF(context);
430 TestStatus executeGraphicPipeline (const Context& context, const VkPipeline& pipeline, const VkPipelineLayout& pipelineLayout,
433 DE_UNREF(context);
526 ThreadGroupThread (const Context& context, VkPipelineCache pipelineCache, const VkPipelineLayout& pipelineLayout,
528 : m_context (context)
648 CreateComputeThread (const Context& context, VkPipelineCache pipelineCache, vector<VkComputePipelineCreateInfo>& pipelineInfo,
651 : ThreadGroupThread (context, pipelineCache, pipelineLayout, descriptorSetLayout, queues, shadersExecutions)
687 CreateGraphicThread (const Context& context, VkPipelineCache pipelineCache, vector<VkGraphicsPipelineCreateInfo>& pipelineInfo,
690 : ThreadGroupThread (context, pipelineCache, pipelineLayout, descriptorSetLayout, queues, shadersExecutions)
729 PipelineCacheComputeTestInstance (Context& context, const vector<deUint32>& shadersExecutions)
730 : TestInstance (context)
855 PipelineCacheGraphicTestInstance (Context& context, const vector<deUint32>& shadersExecutions)
856 : TestInstance (context)
1181 TestInstance* createInstance (Context& context) const
1187 return new PipelineCacheComputeTestInstance(context, shadersExecutions);
1272 TestInstance* createInstance (Context& context) const
1278 return new PipelineCacheGraphicTestInstance(context, shadersExecutions);