mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	backend/drm: add support for image description transfer function
This commit is contained in:
		
							parent
							
								
									dc258b2237
								
							
						
					
					
						commit
						b482e9089b
					
				
					 5 changed files with 52 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -159,6 +159,7 @@ struct wlr_drm_connector_state {
 | 
			
		|||
	int primary_in_fence_fd, out_fence_fd;
 | 
			
		||||
	bool vrr_enabled;
 | 
			
		||||
	uint32_t colorspace;
 | 
			
		||||
	uint32_t hdr_output_metadata;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
| 
						 | 
				
			
			@ -215,6 +216,7 @@ struct wlr_drm_connector {
 | 
			
		|||
 | 
			
		||||
	// Atomic modesetting only
 | 
			
		||||
	uint32_t colorspace;
 | 
			
		||||
	uint32_t hdr_output_metadata;
 | 
			
		||||
 | 
			
		||||
	int32_t refresh;
 | 
			
		||||
};
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -27,6 +27,7 @@ struct wlr_drm_connector_props {
 | 
			
		|||
 | 
			
		||||
	uint32_t crtc_id;
 | 
			
		||||
	uint32_t colorspace;
 | 
			
		||||
	uint32_t hdr_output_metadata;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
struct wlr_drm_crtc_props {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue