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.michael@samsung.com>
This commit is contained in:
Chris Michael 2015-07-08 15:03:16 -04:00
parent 411a5717c7
commit 66a42b7994
1 changed files with 12 additions and 0 deletions

View File

@ -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);