mirror of
				https://gitlab.freedesktop.org/wayland/wayland.git
				synced 2025-11-03 09:01:42 -05:00 
			
		
		
		
	Drop surface::copy
This commit is contained in:
		
							parent
							
								
									0b8646bbd3
								
							
						
					
					
						commit
						38bb716383
					
				
					 5 changed files with 0 additions and 26 deletions
				
			
		
							
								
								
									
										10
									
								
								compositor.c
									
										
									
									
									
								
							
							
						
						
									
										10
									
								
								compositor.c
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -702,15 +702,6 @@ surface_map(struct wl_client *client,
 | 
			
		|||
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static void
 | 
			
		||||
surface_copy(struct wl_client *client,
 | 
			
		||||
	     struct wl_surface *surface,
 | 
			
		||||
	     int32_t dst_x, int32_t dst_y,
 | 
			
		||||
	     uint32_t name, uint32_t stride,
 | 
			
		||||
	     int32_t x, int32_t y, int32_t width, int32_t height)
 | 
			
		||||
{
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static void
 | 
			
		||||
surface_damage(struct wl_client *client,
 | 
			
		||||
	       struct wl_surface *surface,
 | 
			
		||||
| 
						 | 
				
			
			@ -723,7 +714,6 @@ const static struct wl_surface_interface surface_interface = {
 | 
			
		|||
	surface_destroy,
 | 
			
		||||
	surface_attach,
 | 
			
		||||
	surface_map,
 | 
			
		||||
	surface_copy,
 | 
			
		||||
	surface_damage
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -583,15 +583,6 @@ wl_surface_map(struct wl_surface *surface,
 | 
			
		|||
			 WL_SURFACE_MAP, x, y, width, height);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
WL_EXPORT void
 | 
			
		||||
wl_surface_copy(struct wl_surface *surface, int32_t dst_x, int32_t dst_y,
 | 
			
		||||
		uint32_t name, uint32_t stride,
 | 
			
		||||
		int32_t x, int32_t y, int32_t width, int32_t height)
 | 
			
		||||
{
 | 
			
		||||
	wl_proxy_marshal(&surface->proxy, WL_SURFACE_COPY,
 | 
			
		||||
			 dst_x, dst_y, name, stride, x, y, width, height);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
WL_EXPORT void
 | 
			
		||||
wl_surface_damage(struct wl_surface *surface,
 | 
			
		||||
		  int32_t x, int32_t y, int32_t width, int32_t height)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -89,9 +89,6 @@ void wl_surface_attach(struct wl_surface *surface, uint32_t name,
 | 
			
		|||
		       struct wl_visual *visual);
 | 
			
		||||
void wl_surface_map(struct wl_surface *surface,
 | 
			
		||||
		    int32_t x, int32_t y, int32_t width, int32_t height);
 | 
			
		||||
void wl_surface_copy(struct wl_surface *surface, int32_t dst_x, int32_t dst_y,
 | 
			
		||||
		     uint32_t name, uint32_t stride,
 | 
			
		||||
		     int32_t x, int32_t y, int32_t width, int32_t height);
 | 
			
		||||
void wl_surface_damage(struct wl_surface *surface,
 | 
			
		||||
		       int32_t x, int32_t y, int32_t width, int32_t height);
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -61,7 +61,6 @@ static const struct wl_message surface_methods[] = {
 | 
			
		|||
	{ "destroy", "" },
 | 
			
		||||
	{ "attach", "uuuuo" },
 | 
			
		||||
	{ "map", "iiii" },
 | 
			
		||||
	{ "copy", "iiuuiiii" },
 | 
			
		||||
	{ "damage", "iiii" }
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -111,9 +111,6 @@ struct wl_surface_interface {
 | 
			
		|||
	void (*map)(struct wl_client *client,
 | 
			
		||||
		    struct wl_surface *surface,
 | 
			
		||||
		    int32_t x, int32_t y, int32_t width, int32_t height);
 | 
			
		||||
	void (*copy)(struct wl_client *client, struct wl_surface *surface,
 | 
			
		||||
		     int32_t dst_x, int32_t dst_y, uint32_t name, uint32_t stride,
 | 
			
		||||
		     int32_t x, int32_t y, int32_t width, int32_t height);
 | 
			
		||||
	void (*damage)(struct wl_client *client, struct wl_surface *surface,
 | 
			
		||||
		       int32_t x, int32_t y, int32_t width, int32_t height);
 | 
			
		||||
};
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue