Drop surface::copy
authorKristian Høgsberg <krh@bitplanet.net>
Tue, 8 Jun 2010 19:33:55 +0000 (15:33 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Tue, 8 Jun 2010 19:33:55 +0000 (15:33 -0400)
compositor.c
wayland-client.c
wayland-client.h
wayland-protocol.c
wayland.h

index 2a521ee..21e5ea0 100644 (file)
@@ -703,15 +703,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,
               int32_t x, int32_t y, int32_t width, int32_t height)
@@ -723,7 +714,6 @@ const static struct wl_surface_interface surface_interface = {
        surface_destroy,
        surface_attach,
        surface_map,
-       surface_copy,
        surface_damage
 };
 
index 8cabbb2..912d682 100644 (file)
@@ -584,15 +584,6 @@ wl_surface_map(struct wl_surface *surface,
 }
 
 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)
 {
index 13b4776..186fcc6 100644 (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);
 
index 464af2b..7d3b83a 100644 (file)
@@ -61,7 +61,6 @@ static const struct wl_message surface_methods[] = {
        { "destroy", "" },
        { "attach", "uuuuo" },
        { "map", "iiii" },
-       { "copy", "iiuuiiii" },
        { "damage", "iiii" }
 };
 
index 293a1b5..434a46b 100644 (file)
--- a/wayland.h
+++ b/wayland.h
@@ -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);
 };