|  |  | @ -100,20 +100,6 @@ struct wlr_renderer; | 
			
		
	
		
		
			
				
					
					|  |  |  | struct wlr_surface *wlr_surface_create(struct wl_resource *res, |  |  |  | struct wlr_surface *wlr_surface_create(struct wl_resource *res, | 
			
		
	
		
		
			
				
					
					|  |  |  | 		struct wlr_renderer *renderer); |  |  |  | 		struct wlr_renderer *renderer); | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | /**
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |  * Gets a matrix you can pass into wlr_render_with_matrix to display this |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |  * surface. `matrix` is the output matrix, `projection` is the wlr_output |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |  * projection matrix, and `transform` is any additional transformations you want |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |  * to perform on the surface (or NULL/the identity matrix if you don't). |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |  * `transform` is used before the surface is scaled, so its geometry extends |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |  * from 0 to 1 in both dimensions. |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |  */ |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | void wlr_surface_get_matrix(struct wlr_surface *surface, |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 		float mat[static 9], |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 		const float projection[static 9], |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 		const float transform[static 9]); |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | /**
 |  |  |  | /**
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  * Set the lifetime role for this surface. Returns 0 on success or -1 if the |  |  |  |  * Set the lifetime role for this surface. Returns 0 on success or -1 if the | 
			
		
	
		
		
			
				
					
					|  |  |  |  * role cannot be set. |  |  |  |  * role cannot be set. | 
			
		
	
	
		
		
			
				
					|  |  | 
 |