mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	backend/drm: Update to new cursor API
This commit is contained in:
		
							parent
							
								
									ecb4faeed6
								
							
						
					
					
						commit
						2fcb2b95fc
					
				
					 5 changed files with 86 additions and 165 deletions
				
			
		| 
						 | 
				
			
			@ -261,10 +261,10 @@ struct gbm_bo *copy_drm_surface_mgpu(struct wlr_drm_surface *dest,
 | 
			
		|||
 | 
			
		||||
bool init_drm_plane_surfaces(struct wlr_drm_plane *plane,
 | 
			
		||||
		struct wlr_drm_backend *drm, int32_t width, uint32_t height,
 | 
			
		||||
		uint32_t format) {
 | 
			
		||||
		uint32_t format, uint32_t flags) {
 | 
			
		||||
	if (!drm->parent) {
 | 
			
		||||
		return init_drm_surface(&plane->surf, &drm->renderer, width, height,
 | 
			
		||||
			format, GBM_BO_USE_SCANOUT);
 | 
			
		||||
			format, GBM_BO_USE_SCANOUT | flags);
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	if (!init_drm_surface(&plane->surf, &drm->parent->renderer,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue