devilhorns pushed a commit to branch devs/devilhorns/wayland.

commit c0e35d643c84ec951f1de1ed35cdae0c93d8f203
Author: Chris Michael <[email protected]>
Date:   Thu Mar 7 08:20:28 2013 +0000

    Remove buffer_transform_set from the surface interface.
    
    Our compositor does not (currently) allow for rotating wayland
    clients, so we do not need to support buffer_transform function.
    
    Signed-off-by: Chris Michael <[email protected]>
---
 src/bin/e_comp_wl.c | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c
index 8c6e525..3567a11 100644
--- a/src/bin/e_comp_wl.c
+++ b/src/bin/e_comp_wl.c
@@ -19,7 +19,6 @@ static void _e_comp_wl_surface_cb_frame(struct wl_client 
*client, struct wl_reso
 static void _e_comp_wl_surface_cb_opaque_region_set(struct wl_client *client 
EINA_UNUSED, struct wl_resource *resource, struct wl_resource *region);
 static void _e_comp_wl_surface_cb_input_region_set(struct wl_client *client 
EINA_UNUSED, struct wl_resource *resource, struct wl_resource *region);
 static void _e_comp_wl_surface_cb_commit(struct wl_client *client EINA_UNUSED, 
struct wl_resource *resource);
-static void _e_comp_wl_surface_cb_buffer_transform_set(struct wl_client 
*client, struct wl_resource *resource, int transform);
 static void _e_comp_wl_surface_cb_pending_buffer_destroy(struct wl_listener 
*listener, void *data EINA_UNUSED);
 
 static void _e_comp_wl_region_cb_destroy(struct wl_client *client EINA_UNUSED, 
struct wl_resource *resource);
@@ -44,7 +43,7 @@ static const struct wl_surface_interface 
_e_wl_surface_interface =
    _e_comp_wl_surface_cb_opaque_region_set,
    _e_comp_wl_surface_cb_input_region_set,
    _e_comp_wl_surface_cb_commit,
-   _e_comp_wl_surface_cb_buffer_transform_set
+   NULL //_e_comp_wl_surface_cb_buffer_transform_set
 };
 
 static const struct wl_region_interface _e_wl_region_interface = 
@@ -494,13 +493,6 @@ _e_comp_wl_surface_cb_commit(struct wl_client *client 
EINA_UNUSED, struct wl_res
 }
 
 static void 
-_e_comp_wl_surface_cb_buffer_transform_set(struct wl_client *client, struct 
wl_resource *resource, int transform)
-{
-   LOGFN(__FILE__, __LINE__, __FUNCTION__);
-
-}
-
-static void 
 _e_comp_wl_surface_cb_pending_buffer_destroy(struct wl_listener *listener, 
void *data EINA_UNUSED)
 {
    E_Wayland_Surface *ews = NULL;

-- 

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev

Reply via email to