devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=66a42b79945fc468fe5706ed108617364626db06

commit 66a42b79945fc468fe5706ed108617364626db06
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Wed Jul 8 15:03:16 2015 -0400

    e-comp-wl: Add screenshooter structure to comp_wl_data and add additional 
fields we need in E_Comp_Wl_Output
    
    Signed-off-by: Chris Michael <cp.mich...@samsung.com>
---
 src/bin/e_comp_wl.h | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/src/bin/e_comp_wl.h b/src/bin/e_comp_wl.h
index e662634..ce0b8f7 100644
--- a/src/bin/e_comp_wl.h
+++ b/src/bin/e_comp_wl.h
@@ -211,6 +211,13 @@ struct _E_Comp_Wl_Data
         char *area;
      } xkb;
 
+   struct
+     {
+        struct wl_global *global;
+        struct wl_client *client;
+        void (*read_pixels)(E_Comp_Wl_Output *output, void *pixels);
+     } screenshooter;
+
    Eina_List *outputs;
 
    Ecore_Fd_Handler *fd_hdlr;
@@ -288,6 +295,11 @@ struct _E_Comp_Wl_Output
    unsigned int subpixel;
    unsigned int transform;
    double scale;
+
+   /* added for screenshot ability */
+   struct wl_output *wl_output;
+   struct wl_buffer *buffer;
+   void *data;
 };
 
 E_API Eina_Bool e_comp_wl_init(void);

-- 


Reply via email to