summaryrefslogtreecommitdiff
path: root/legacy/evas/src/lib/engines/common/evas_draw_main.c
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2003-09-09 05:51:03 +0000
committerCarsten Haitzler <raster@rasterman.com>2003-09-09 05:51:03 +0000
commit246fd318464527aae9d666e7709e9d2584d40578 (patch)
tree9c5f3d386106d03b8b6651435c1771d76515d68f /legacy/evas/src/lib/engines/common/evas_draw_main.c
parent9606e485e5c7df4da224b215d1acfdcfa5151478 (diff)
open gl is fulyl functional now - it coudl defnitely do with optimizations
with texture upload. it does NOt check error returns anywhere from gl... this may mean issues with LOTs of images, LARGE images etc. need to fix that later SVN revision: 7432
Diffstat (limited to '')
-rw-r--r--legacy/evas/src/lib/engines/common/evas_draw_main.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/legacy/evas/src/lib/engines/common/evas_draw_main.c b/legacy/evas/src/lib/engines/common/evas_draw_main.c
index 674ae0a77f..54a222ec2b 100644
--- a/legacy/evas/src/lib/engines/common/evas_draw_main.c
+++ b/legacy/evas/src/lib/engines/common/evas_draw_main.c
@@ -21,6 +21,19 @@ evas_common_draw_context_free(RGBA_Draw_Context *dc)
21} 21}
22 22
23void 23void
24evas_common_draw_context_font_ext_set(RGBA_Draw_Context *dc,
25 void *data,
26 void *(*gl_new) (void *data, RGBA_Font_Glyph *fg),
27 void (*gl_free) (void *ext_dat),
28 void (*gl_draw) (void *data, void *dest, void *context, RGBA_Font_Glyph *fg, int x, int y))
29{
30 dc->font_ext.data = data;
31 dc->font_ext.func.gl_new = gl_new;
32 dc->font_ext.func.gl_free = gl_free;
33 dc->font_ext.func.gl_draw = gl_draw;
34}
35
36void
24evas_common_draw_context_clip_clip(RGBA_Draw_Context *dc, int x, int y, int w, int h) 37evas_common_draw_context_clip_clip(RGBA_Draw_Context *dc, int x, int y, int w, int h)
25{ 38{
26 if (dc->clip.use) 39 if (dc->clip.use)