diff options
author | David Walter Seikel | 2013-01-13 17:29:19 +1000 |
---|---|---|
committer | David Walter Seikel | 2013-01-13 17:29:19 +1000 |
commit | 07274513e984f0b5544586c74508ccd16e7dcafa (patch) | |
tree | b32ff2a9136fbc1a4a6a0ed1e4d79cde0f5f16d9 /libraries/evas/src/modules/engines/gl_cocoa/evas_engine.h | |
parent | Added Irrlicht 1.8, but without all the Windows binaries. (diff) | |
download | SledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.zip SledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.tar.gz SledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.tar.bz2 SledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.tar.xz |
Remove EFL, since it's been released now.
Diffstat (limited to 'libraries/evas/src/modules/engines/gl_cocoa/evas_engine.h')
-rw-r--r-- | libraries/evas/src/modules/engines/gl_cocoa/evas_engine.h | 69 |
1 files changed, 0 insertions, 69 deletions
diff --git a/libraries/evas/src/modules/engines/gl_cocoa/evas_engine.h b/libraries/evas/src/modules/engines/gl_cocoa/evas_engine.h deleted file mode 100644 index a066d3e..0000000 --- a/libraries/evas/src/modules/engines/gl_cocoa/evas_engine.h +++ /dev/null | |||
@@ -1,69 +0,0 @@ | |||
1 | #ifndef __EVAS_ENGINE_H__ | ||
2 | #define __EVAS_ENGINE_H__ | ||
3 | |||
4 | #ifdef HAVE_CONFIG_H | ||
5 | # include <config.h> | ||
6 | #endif | ||
7 | |||
8 | #include <OpenGL/gl.h> | ||
9 | |||
10 | #include "evas_gl_common.h" | ||
11 | #include "Evas_Engine_GL_Cocoa.h" | ||
12 | |||
13 | extern int _evas_engine_gl_cocoa_log_dom; | ||
14 | |||
15 | #ifdef ERR | ||
16 | # undef ERR | ||
17 | #endif | ||
18 | #define ERR(...) EINA_LOG_DOM_ERR(_evas_engine_gl_cocoa_log_dom, __VA_ARGS__) | ||
19 | |||
20 | #ifdef DBG | ||
21 | # undef DBG | ||
22 | #endif | ||
23 | #define DBG(...) EINA_LOG_DOM_DBG(_evas_engine_gl_cocoa_log_dom, __VA_ARGS__) | ||
24 | |||
25 | #ifdef INF | ||
26 | # undef INF | ||
27 | #endif | ||
28 | #define INF(...) EINA_LOG_DOM_INFO(_evas_engine_gl_cocoa_log_dom, __VA_ARGS__) | ||
29 | |||
30 | #ifdef WRN | ||
31 | # undef WRN | ||
32 | #endif | ||
33 | #define WRN(...) EINA_LOG_DOM_WARN(_evas_engine_gl_cocoa_log_dom, __VA_ARGS__) | ||
34 | |||
35 | #ifdef CRIT | ||
36 | # undef CRIT | ||
37 | #endif | ||
38 | #define CRIT(...) EINA_LOG_DOM_CRIT(_evas_engine_gl_cocoa_log_dom, __VA_ARGS__) | ||
39 | |||
40 | typedef struct _Evas_GL_Cocoa_Window Evas_GL_Cocoa_Window; | ||
41 | |||
42 | struct _Evas_GL_Cocoa_Window | ||
43 | { | ||
44 | void* window; | ||
45 | void* view; | ||
46 | int width; | ||
47 | int height; | ||
48 | int depth; | ||
49 | Evas_Engine_GL_Context *gl_context; | ||
50 | struct { | ||
51 | int x1; | ||
52 | int y1; | ||
53 | int x2; | ||
54 | int y2; | ||
55 | int redraw : 1; | ||
56 | int drew : 1; | ||
57 | } draw; | ||
58 | }; | ||
59 | |||
60 | Evas_GL_Cocoa_Window *eng_window_new(void *window, | ||
61 | int width, | ||
62 | int height); | ||
63 | void eng_window_free(Evas_GL_Cocoa_Window *gw); | ||
64 | void eng_window_use(Evas_GL_Cocoa_Window *gw); | ||
65 | void eng_window_swap_buffers(Evas_GL_Cocoa_Window *gw); | ||
66 | void eng_window_vsync_set(int on); | ||
67 | void ng_window_resize(Evas_GL_Cocoa_Window *gw, int width, int height); | ||
68 | |||
69 | #endif /* __EVAS_ENGINE_H__ */ | ||