mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05: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
				
			
		| 
						 | 
				
			
			@ -543,6 +543,17 @@ int spa_vulkan_compute_use_buffers(struct vulkan_compute_state *s, struct vulkan
 | 
			
		|||
	return 0;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static int vulkan_stream_init(struct vulkan_stream *stream, enum spa_direction direction,
 | 
			
		||||
		struct spa_dict *props)
 | 
			
		||||
{
 | 
			
		||||
	spa_zero(*stream);
 | 
			
		||||
	stream->direction = direction;
 | 
			
		||||
	stream->current_buffer_id = SPA_ID_INVALID;
 | 
			
		||||
	stream->busy_buffer_id = SPA_ID_INVALID;
 | 
			
		||||
	stream->ready_buffer_id = SPA_ID_INVALID;
 | 
			
		||||
	return 0;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
int spa_vulkan_compute_init_stream(struct vulkan_compute_state *s, struct vulkan_stream *stream,
 | 
			
		||||
		enum spa_direction direction, struct spa_dict *props)
 | 
			
		||||
{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue