mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	output: make gamma size a size_t and gamma table const
This commit is contained in:
		
							parent
							
								
									1dd523c34c
								
							
						
					
					
						commit
						2beb68007e
					
				
					 7 changed files with 52 additions and 41 deletions
				
			
		| 
						 | 
				
			
			@ -28,11 +28,11 @@ struct wlr_drm_interface {
 | 
			
		|||
		struct wlr_drm_crtc *crtc, int x, int y);
 | 
			
		||||
	// Set the gamma lut on crtc
 | 
			
		||||
	bool (*crtc_set_gamma)(struct wlr_drm_backend *drm,
 | 
			
		||||
			struct wlr_drm_crtc *crtc, uint16_t *r, uint16_t *g, uint16_t *b,
 | 
			
		||||
			uint32_t size);
 | 
			
		||||
		struct wlr_drm_crtc *crtc, size_t size,
 | 
			
		||||
		uint16_t *r, uint16_t *g, uint16_t *b);
 | 
			
		||||
	// Get the gamma lut size of a crtc
 | 
			
		||||
	uint32_t (*crtc_get_gamma_size)(struct wlr_drm_backend *drm,
 | 
			
		||||
			struct wlr_drm_crtc *crtc);
 | 
			
		||||
	size_t (*crtc_get_gamma_size)(struct wlr_drm_backend *drm,
 | 
			
		||||
		struct wlr_drm_crtc *crtc);
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
extern const struct wlr_drm_interface atomic_iface;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue