Drop surface::copy

This commit is contained in:
Kristian Høgsberg
2010-06-08 15:33:55 -04:00
parent 0b8646bbd3
commit 38bb716383
5 changed files with 0 additions and 26 deletions
-10
View File
@@ -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
};
-9
View File
@@ -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)
-3
View File
@@ -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);
-1
View File
@@ -61,7 +61,6 @@ static const struct wl_message surface_methods[] = {
{ "destroy", "" },
{ "attach", "uuuuo" },
{ "map", "iiii" },
{ "copy", "iiuuiiii" },
{ "damage", "iiii" }
};
-3
View File
@@ -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);
};