mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
vulkan: Move vulkan_stream into vulkan-compute-utils
vulkan_stream will store compute specific properties. No functional changes.
This commit is contained in:
parent
e5f89e09d1
commit
1cad9ebb0d
5 changed files with 23 additions and 27 deletions
|
|
@ -24,6 +24,18 @@ struct push_constants {
|
|||
int height;
|
||||
};
|
||||
|
||||
struct vulkan_stream {
|
||||
enum spa_direction direction;
|
||||
|
||||
uint32_t pending_buffer_id;
|
||||
uint32_t current_buffer_id;
|
||||
uint32_t busy_buffer_id;
|
||||
uint32_t ready_buffer_id;
|
||||
|
||||
struct vulkan_buffer buffers[MAX_BUFFERS];
|
||||
struct spa_buffer *spa_buffers[MAX_BUFFERS];
|
||||
uint32_t n_buffers;
|
||||
};
|
||||
|
||||
struct vulkan_compute_state {
|
||||
struct spa_log *log;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue