summaryrefslogtreecommitdiff
path: root/legacy/evas/src/modules/engines/gl_x11/evas_engine.c
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2010-01-25 14:44:02 +0000
committerCarsten Haitzler <raster@rasterman.com>2010-01-25 14:44:02 +0000
commitbe64dad971637eee0c4ffd7d0021258e08db0086 (patch)
tree1d37ec99e8c21ff6bb9a72a1ce9bbb635e91be7d /legacy/evas/src/modules/engines/gl_x11/evas_engine.c
parent7d25128c3d8e195e6ed3c2ecbe24905dcf2ffd2b (diff)
debug--
SVN revision: 45555
Diffstat (limited to '')
-rw-r--r--legacy/evas/src/modules/engines/gl_x11/evas_engine.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/legacy/evas/src/modules/engines/gl_x11/evas_engine.c b/legacy/evas/src/modules/engines/gl_x11/evas_engine.c
index 6184961465..fa17fc467c 100644
--- a/legacy/evas/src/modules/engines/gl_x11/evas_engine.c
+++ b/legacy/evas/src/modules/engines/gl_x11/evas_engine.c
@@ -1209,8 +1209,6 @@ eng_image_native_set(void *data, void *image, void *native)
1209 config_attrs[i++] = EGL_PIXMAP_BIT; 1209 config_attrs[i++] = EGL_PIXMAP_BIT;
1210 config_attrs[i++] = EGL_NONE; 1210 config_attrs[i++] = EGL_NONE;
1211 1211
1212 printf("glsym_eglBindTexImage = %p\n", glsym_eglBindTexImage);
1213 printf("glsym_eglReleaseTexImage = %p\n", glsym_eglReleaseTexImage);
1214 if (!eglChooseConfig(re->win->egl_disp, config_attrs, 1212 if (!eglChooseConfig(re->win->egl_disp, config_attrs,
1215 &egl_config, 1, &num_config)) 1213 &egl_config, 1, &num_config))
1216 { 1214 {
@@ -1228,7 +1226,10 @@ eng_image_native_set(void *data, void *image, void *native)
1228 n->egl_surface = eglCreatePixmapSurface(re->win->egl_disp, 1226 n->egl_surface = eglCreatePixmapSurface(re->win->egl_disp,
1229 egl_config, pm, 1227 egl_config, pm,
1230 NULL); 1228 NULL);
1231 printf("eglCreatePixmapSurface for 0x%x = %p\n", pm, n->egl_surface); 1229 if (!n->egl_surface)
1230 {
1231 printf("ERROR: eglCreatePixmapSurface() for 0x%x failed\n", pm);
1232 }
1232 evas_gl_common_image_native_enable(im); 1233 evas_gl_common_image_native_enable(im);
1233 } 1234 }
1234 } 1235 }
@@ -1601,7 +1602,6 @@ eng_image_draw(void *data, void *context, void *surface, void *image, int src_x,
1601 eng_window_use(re->win); 1602 eng_window_use(re->win);
1602 evas_gl_common_context_target_surface_set(re->win->gl_context, surface); 1603 evas_gl_common_context_target_surface_set(re->win->gl_context, surface);
1603 re->win->gl_context->dc = context; 1604 re->win->gl_context->dc = context;
1604 printf("draw img %p: %i %i, %ix%i\n", image, dst_x, dst_y, dst_w, dst_h);
1605 evas_gl_common_image_draw(re->win->gl_context, image, 1605 evas_gl_common_image_draw(re->win->gl_context, image,
1606 src_x, src_y, src_w, src_h, 1606 src_x, src_y, src_w, src_h,
1607 dst_x, dst_y, dst_w, dst_h, 1607 dst_x, dst_y, dst_w, dst_h,