diff options
Diffstat (limited to '')
-rw-r--r-- | libraries/evas/src/modules/engines/gl_sdl/evas_engine.h | 73 |
1 files changed, 0 insertions, 73 deletions
diff --git a/libraries/evas/src/modules/engines/gl_sdl/evas_engine.h b/libraries/evas/src/modules/engines/gl_sdl/evas_engine.h deleted file mode 100644 index 7d46720..0000000 --- a/libraries/evas/src/modules/engines/gl_sdl/evas_engine.h +++ /dev/null | |||
@@ -1,73 +0,0 @@ | |||
1 | #ifndef EVAS_ENGINE_H | ||
2 | #define EVAS_ENGINE_H | ||
3 | |||
4 | #define _EVAS_ENGINE_SDL_H | ||
5 | |||
6 | #include "config.h" | ||
7 | #include <SDL/SDL.h> | ||
8 | #if defined (GLES_VARIETY_S3C6410) || defined (GLES_VARIETY_SGX) | ||
9 | # include <EGL/egl.h> | ||
10 | # include <SDL/SDL_opengles.h> | ||
11 | # ifdef HAVE_SDL_FLAG_OPENGLES | ||
12 | # define EVAS_SDL_GL_FLAG SDL_OPENGLES | ||
13 | # else | ||
14 | # define EVAS_SDL_GL_FLAG SDL_OPENGL /* This probably won't work? */ | ||
15 | # endif | ||
16 | #else | ||
17 | # include <SDL/SDL_opengl.h> | ||
18 | # define EVAS_SDL_GL_FLAG SDL_OPENGL | ||
19 | #endif | ||
20 | #include "evas_common.h" | ||
21 | #include "evas_private.h" | ||
22 | #include "evas_gl_common.h" | ||
23 | #include "Evas.h" | ||
24 | #include "Evas_Engine_GL_SDL.h" | ||
25 | |||
26 | extern int _evas_engine_GL_SDL_log_dom ; | ||
27 | #ifdef ERR | ||
28 | # undef ERR | ||
29 | #endif | ||
30 | #define ERR(...) EINA_LOG_DOM_ERR(_evas_engine_GL_SDL_log_dom, __VA_ARGS__) | ||
31 | |||
32 | #ifdef DBG | ||
33 | # undef DBG | ||
34 | #endif | ||
35 | #define DBG(...) EINA_LOG_DOM_DBG(_evas_engine_GL_SDL_log_dom, __VA_ARGS__) | ||
36 | |||
37 | #ifdef INF | ||
38 | # undef INF | ||
39 | #endif | ||
40 | #define INF(...) EINA_LOG_DOM_INFO(_evas_engine_GL_SDL_log_dom, __VA_ARGS__) | ||
41 | |||
42 | #ifdef WRN | ||
43 | # undef WRN | ||
44 | #endif | ||
45 | #define WRN(...) EINA_LOG_DOM_WARN(_evas_engine_GL_SDL_log_dom, __VA_ARGS__) | ||
46 | |||
47 | #ifdef CRIT | ||
48 | # undef CRIT | ||
49 | #endif | ||
50 | #define CRIT(...) EINA_LOG_DOM_CRIT(_evas_engine_GL_SDL_log_dom, __VA_ARGS__) | ||
51 | |||
52 | typedef struct _Render_Engine Render_Engine; | ||
53 | struct _Render_Engine | ||
54 | { | ||
55 | Evas_Engine_Info_GL_SDL *info; | ||
56 | int w, h; | ||
57 | |||
58 | Evas_Engine_GL_Context *gl_context; | ||
59 | struct { | ||
60 | int redraw : 1; | ||
61 | int drew : 1; | ||
62 | int x1, y1, x2, y2; | ||
63 | } draw; | ||
64 | #if defined (GLES_VARIETY_S3C6410) || defined (GLES_VARIETY_SGX) | ||
65 | EGLContext egl_context[1]; | ||
66 | EGLSurface egl_surface[1]; | ||
67 | EGLConfig egl_config; | ||
68 | EGLDisplay egl_disp; | ||
69 | #endif | ||
70 | |||
71 | }; | ||
72 | |||
73 | #endif | ||