summaryrefslogtreecommitdiff
path: root/src/modules/evas/engines/gl_generic/evas_ector_gl_image_buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/evas/engines/gl_generic/evas_ector_gl_image_buffer.c')
-rw-r--r--src/modules/evas/engines/gl_generic/evas_ector_gl_image_buffer.c14
1 files changed, 4 insertions, 10 deletions
diff --git a/src/modules/evas/engines/gl_generic/evas_ector_gl_image_buffer.c b/src/modules/evas/engines/gl_generic/evas_ector_gl_image_buffer.c
index dc68f1c..09e6a08 100644
--- a/src/modules/evas/engines/gl_generic/evas_ector_gl_image_buffer.c
+++ b/src/modules/evas/engines/gl_generic/evas_ector_gl_image_buffer.c
@@ -88,13 +88,7 @@ _evas_ector_gl_image_buffer_evas_ector_buffer_engine_image_set(Eo *obj, Evas_Ect
88 } 88 }
89 89
90 pd->image = ENFN->image_ref(ENDT, im); 90 pd->image = ENFN->image_ref(ENDT, im);
91 eo_do(obj, ector_gl_buffer_base_attach(im->tex->pt->texture, 91 ector_gl_buffer_base_attach(obj, im->tex->pt->texture, im->tex->pt->fb, (Efl_Gfx_Colorspace) evas_gl_common_gl_format_to_colorspace(im->tex->pt->format), im->tex->w, im->tex->h, im->tex->x, im->tex->y, im->tex->pt->w, im->tex->pt->h, l, r, t, b);
92 im->tex->pt->fb,
93 (Efl_Gfx_Colorspace) evas_gl_common_gl_format_to_colorspace(im->tex->pt->format),
94 im->tex->w, im->tex->h,
95 im->tex->x, im->tex->y,
96 im->tex->pt->w, im->tex->pt->h,
97 l, r, t, b));
98 } 92 }
99 else 93 else
100 { 94 {
@@ -239,7 +233,7 @@ _evas_ector_gl_image_buffer_ector_generic_buffer_span_free(Eo *obj, Evas_Ector_G
239EOLIAN static Eo_Base * 233EOLIAN static Eo_Base *
240_evas_ector_gl_image_buffer_eo_base_constructor(Eo *obj, Evas_Ector_GL_Image_Buffer_Data *pd) 234_evas_ector_gl_image_buffer_eo_base_constructor(Eo *obj, Evas_Ector_GL_Image_Buffer_Data *pd)
241{ 235{
242 eo_do_super(obj, MY_CLASS, obj = eo_constructor()); 236 obj = eo_constructor(eo_super(obj, MY_CLASS));
243 pd->base = eo_data_ref(obj, ECTOR_GL_BUFFER_BASE_MIXIN); 237 pd->base = eo_data_ref(obj, ECTOR_GL_BUFFER_BASE_MIXIN);
244 pd->base->generic = eo_data_ref(obj, ECTOR_GENERIC_BUFFER_MIXIN); 238 pd->base->generic = eo_data_ref(obj, ECTOR_GENERIC_BUFFER_MIXIN);
245 pd->base->generic->eo = obj; 239 pd->base->generic->eo = obj;
@@ -252,7 +246,7 @@ _evas_ector_gl_image_buffer_eo_base_finalize(Eo *obj, Evas_Ector_GL_Image_Buffer
252 EINA_SAFETY_ON_NULL_RETURN_VAL(pd->base, NULL); 246 EINA_SAFETY_ON_NULL_RETURN_VAL(pd->base, NULL);
253 EINA_SAFETY_ON_NULL_RETURN_VAL(pd->image, NULL); 247 EINA_SAFETY_ON_NULL_RETURN_VAL(pd->image, NULL);
254 pd->base->generic->immutable = EINA_TRUE; 248 pd->base->generic->immutable = EINA_TRUE;
255 return eo_do_super_ret(obj, MY_CLASS, obj, eo_finalize()); 249 return eo_finalize(eo_super(obj, MY_CLASS));
256} 250}
257 251
258EOLIAN static void 252EOLIAN static void
@@ -264,7 +258,7 @@ _evas_ector_gl_image_buffer_eo_base_destructor(Eo *obj, Evas_Ector_GL_Image_Buff
264 eo_data_unref(obj, pd->base); 258 eo_data_unref(obj, pd->base);
265 ENFN->image_free(ENDT, pd->image); 259 ENFN->image_free(ENDT, pd->image);
266 eo_xunref(pd->evas, obj); 260 eo_xunref(pd->evas, obj);
267 eo_do_super(obj, MY_CLASS, eo_destructor()); 261 eo_destructor(eo_super(obj, MY_CLASS));
268} 262}
269 263
270#include "evas_ector_gl_image_buffer.eo.c" 264#include "evas_ector_gl_image_buffer.eo.c"