[
#include <SDL/SDL_opengles.h>
#include <EGL/egl.h>
-#include <X11/Xlib.h>
-#include <X11/Xatom.h>
-#include <X11/Xutil.h>
-#include <X11/extensions/Xrender.h>
-#include <X11/Xresource.h>
])
if test "x${have_egl}" = "xyes" ; then
AC_CHECK_LIB(GLESv2, glTexImage2D, [have_glesv2="yes"], , -lEGL -lm $gl_pt_lib)
../modules/engines/gl_x11/libevas_engine_gl_x11.la
EVAS_STATIC_LIBADD += @evas_engine_gl_common_libs@ @evas_engine_gl_x11_libs@
endif
+if EVAS_STATIC_BUILD_GL_SDL
+SUBDIRS += \
+ ../modules/engines/gl_common \
+ ../modules/engines/gl_sdl
+EVAS_STATIC_MODULE += \
+ ../modules/engines/gl_sdl/libevas_engine_gl_sdl.la
+EVAS_STATIC_LIBADD += @evas_engine_gl_common_libs@ @evas_engine_gl_sdl_libs@
+endif
if EVAS_STATIC_BUILD_QUARTZ
SUBDIRS += ../modules/engines/quartz/
EVAS_STATIC_MODULE += ../modules/engines/quartz/libevas_engine_quartz.la
EVAS_EINA_STATIC_MODULE_DEFINE(engine, fb);
EVAS_EINA_STATIC_MODULE_DEFINE(engine, gl_glew);
EVAS_EINA_STATIC_MODULE_DEFINE(engine, gl_x11);
+EVAS_EINA_STATIC_MODULE_DEFINE(engine, gl_sdl);
EVAS_EINA_STATIC_MODULE_DEFINE(engine, quartz);
EVAS_EINA_STATIC_MODULE_DEFINE(engine, software_16);
EVAS_EINA_STATIC_MODULE_DEFINE(engine, software_16_ddraw);
#ifdef EVAS_STATIC_BUILD_GL_X11
EVAS_EINA_STATIC_MODULE_USE(engine, gl_x11),
#endif
+#ifdef EVAS_STATIC_BUILD_GL_SDL
+ EVAS_EINA_STATIC_MODULE_USE(engine, gl_sdl),
+#endif
#ifdef EVAS_STATIC_BUILD_QUARTZ
EVAS_EINA_STATIC_MODULE_USE(engine, quartz),
#endif
Evas_Module *em;
if ((unsigned int)type > 3) return EINA_FALSE;
- if (module->version != EVAS_MODULE_API_VERSION) return EINA_FALSE;
if (!module) return EINA_FALSE;
+ if (module->version != EVAS_MODULE_API_VERSION) return EINA_FALSE;
em = eina_hash_find(evas_modules[type], module->name);
if (em) return EINA_FALSE;
re = (Render_Engine *)data;
evas_gl_common_context_flush(re->gl_context);
- evas_gl_common_context_newframe(re->win->gl_context);
+ evas_gl_common_context_newframe(re->gl_context);
/* get the upate rect surface - return engine data as dummy */
if (!re->draw.redraw)
{
{
}
-static void
+static void *
eng_image_native_set(void *data, void *image, void *native)
{
+ return NULL;
}
static void *