summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/efl_canvas_surface.h
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-03-09 16:21:08 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-03-15 11:11:59 +0900
commit0c95b694742c712ec4c66e566f216f1b6c1b7079 (patch)
tree4826c248cf1f4490c1d5f78bfb9741838efd3510 /src/lib/evas/canvas/efl_canvas_surface.h
parent20b4d9dd6adb88f9dd0cd51fa849f0c360432279 (diff)
Evas.Image: Move native surfaces to Efl.Canvas.Surface
X11, TBM and Wayland support are implemented for now.
Diffstat (limited to 'src/lib/evas/canvas/efl_canvas_surface.h')
-rw-r--r--src/lib/evas/canvas/efl_canvas_surface.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/efl_canvas_surface.h b/src/lib/evas/canvas/efl_canvas_surface.h
new file mode 100644
index 0000000..4bd93e5
--- /dev/null
+++ b/src/lib/evas/canvas/efl_canvas_surface.h
@@ -0,0 +1,13 @@
1#define EFL_CANVAS_SURFACE_PROTECTED
2
3#include "evas_image_private.h"
4#include "efl_canvas_surface.eo.h"
5#include "efl_canvas_surface_tbm.eo.h"
6#include "efl_canvas_surface_x11.eo.h"
7#include "efl_canvas_surface_wayland.eo.h"
8
9typedef struct _Efl_Canvas_Surface_Data
10{
11 Evas_Native_Surface surf;
12 void *buffer;
13} Efl_Canvas_Surface_Data;