add start of new compositor

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2014-10-14 13:52:26 -04:00
parent 054b87dc0d
commit 6a06b8d7f2
1 changed files with 33 additions and 0 deletions

33
src/bin/e_comp_wl.c Normal file
View File

@ -0,0 +1,33 @@
#define E_COMP_WL
#include "e.h"
#define COMPOSITOR_VERSION 3
#define E_COMP_WL_PIXMAP_CHECK \
if (e_pixmap_type_get(ec->pixmap) != E_PIXMAP_TYPE_WL) return
/* public functions */
EAPI Eina_Bool
e_comp_wl_init(void)
{
return EINA_FALSE;
}
EAPI struct wl_signal
e_comp_wl_surface_create_signal_get(E_Comp *comp)
{
return comp->wl_comp_data->signals.surface.create;
}
/* internal functions */
EINTERN void
e_comp_wl_shutdown(void)
{
}
EINTERN struct wl_resource *
e_comp_wl_surface_create(struct wl_client *client, int version, uint32_t id)
{
return NULL;
}