2012-12-05 13:15:42 -08:00
|
|
|
#include "ecore_evas_wayland_private.h"
|
2012-01-11 05:02:27 -08:00
|
|
|
|
|
|
|
#ifdef BUILD_ECORE_EVAS_WAYLAND_EGL
|
2011-12-26 15:27:20 -08:00
|
|
|
# include <stdlib.h>
|
|
|
|
# include <string.h>
|
|
|
|
# include <unistd.h>
|
2012-12-05 13:15:42 -08:00
|
|
|
|
2015-04-28 05:24:48 -07:00
|
|
|
#ifdef EAPI
|
|
|
|
# undef EAPI
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef _WIN32
|
|
|
|
# ifdef DLL_EXPORT
|
|
|
|
# define EAPI __declspec(dllexport)
|
|
|
|
# else
|
|
|
|
# define EAPI
|
|
|
|
# endif /* ! DLL_EXPORT */
|
|
|
|
#else
|
|
|
|
# ifdef __GNUC__
|
|
|
|
# if __GNUC__ >= 4
|
|
|
|
# define EAPI __attribute__ ((visibility("default")))
|
|
|
|
# else
|
|
|
|
# define EAPI
|
|
|
|
# endif
|
|
|
|
# else
|
|
|
|
# define EAPI
|
|
|
|
# endif
|
|
|
|
#endif /* ! _WIN32 */
|
|
|
|
|
2012-02-28 13:56:39 -08:00
|
|
|
/* external functions */
|
2011-12-26 15:27:20 -08:00
|
|
|
EAPI Ecore_Evas *
|
2016-11-02 11:13:07 -07:00
|
|
|
ecore_evas_wayland_egl_new_internal(const char *disp_name, unsigned int parent, int x, int y, int w, int h, Eina_Bool frame)
|
2011-12-26 15:27:20 -08:00
|
|
|
{
|
|
|
|
LOGFN(__FILE__, __LINE__, __FUNCTION__);
|
|
|
|
|
2016-11-02 11:13:07 -07:00
|
|
|
return _ecore_evas_wl_common_new_internal(disp_name, parent,
|
|
|
|
x, y, w, h, frame,
|
|
|
|
"wayland_egl");
|
2011-12-26 15:27:20 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|