Lines Matching refs:queue
57 /* Which queue this is within the queue family */
60 /** Driver queue submit hook
69 * called by the runtime concurrently on the same queue.
71 VkResult (*driver_submit)(struct vk_queue *queue,
77 * This represents the exact current submit mode for this specific queue
81 * `VK_QUEUE_SUBMIT_MODE_THREADED_ON_DEMAND`, the queue submit mode
84 * thread is currently running for this queue. If the device submit
85 * mode is `VK_QUEUE_SUBMIT_MODE_DEFERRED`, every queue in the device
102 /* Only set once atomically by the queue */
115 * with a queue attached to it, all "active" labels will also be provided
117 * debug label to the queue: opening a label region and inserting a single
153 vk_queue_init(struct vk_queue *queue, struct vk_device *device,
158 vk_queue_finish(struct vk_queue *queue);
161 vk_queue_is_empty(struct vk_queue *queue)
163 return list_is_empty(&queue->submit.submits);
166 /** Enables threaded submit on this queue
169 * `vk_queue::driver_submit`. Once this function has been called, the queue
173 VkResult vk_queue_enable_submit_thread(struct vk_queue *queue);
175 VkResult vk_queue_flush(struct vk_queue *queue, uint32_t *submit_count_out);
177 VkResult vk_queue_wait_before_present(struct vk_queue *queue,
181 _vk_queue_set_lost(struct vk_queue *queue,
185 #define vk_queue_set_lost(queue, ...) \
186 _vk_queue_set_lost(queue, __FILE__, __LINE__, __VA_ARGS__)
189 vk_queue_is_lost(struct vk_queue *queue)
191 return queue->_lost.lost;
194 #define vk_foreach_queue(queue, device) \
195 list_for_each_entry(struct vk_queue, queue, &(device)->queues, link)
197 #define vk_foreach_queue_safe(queue, device) \
198 list_for_each_entry_safe(struct vk_queue, queue, &(device)->queues, link)