summaryrefslogtreecommitdiff
path: root/src/modules/evas/engines/gl_generic/evas_engine.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-01-04 17:48:48 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-01-05 15:43:44 +0900
commit66961126916f6ab61ba6549f7ad96399bdf773af (patch)
treefc4ca23f0250e51927cd7b0f7b721761c28f3131 /src/modules/evas/engines/gl_generic/evas_engine.c
parenta02c81005905486ebefc4dbab566807f2759d33b (diff)
Evas filters: Add GL buffer backed by RGBA_Image
Dumb implementation of a "smart" buffer capable of wrapping an RGBA_Image but that can still be rendered on screen (ie, an Evas_GL_Image is attached to it).
Diffstat (limited to '')
-rw-r--r--src/modules/evas/engines/gl_generic/evas_engine.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/evas/engines/gl_generic/evas_engine.c b/src/modules/evas/engines/gl_generic/evas_engine.c
index 27aae7fe1b..fc9caf04fc 100644
--- a/src/modules/evas/engines/gl_generic/evas_engine.c
+++ b/src/modules/evas/engines/gl_generic/evas_engine.c
@@ -7,7 +7,7 @@
7#include "evas_ector_buffer.eo.h" 7#include "evas_ector_buffer.eo.h"
8#include "evas_ector_gl_buffer.eo.h" 8#include "evas_ector_gl_buffer.eo.h"
9#include "evas_ector_gl_image_buffer.eo.h" 9#include "evas_ector_gl_image_buffer.eo.h"
10#include "../software_generic/evas_ector_software_buffer.eo.h" 10#include "evas_ector_gl_rgbaimage_buffer.eo.h"
11 11
12#if defined HAVE_DLSYM && ! defined _WIN32 12#if defined HAVE_DLSYM && ! defined _WIN32
13# include <dlfcn.h> /* dlopen,dlclose,etc */ 13# include <dlfcn.h> /* dlopen,dlclose,etc */
@@ -2475,10 +2475,10 @@ eng_ector_buffer_wrap(void *data EINA_UNUSED, Evas *e, void *engine_image, Eina_
2475 EINA_SAFETY_ON_NULL_RETURN_VAL(engine_image, NULL); 2475 EINA_SAFETY_ON_NULL_RETURN_VAL(engine_image, NULL);
2476 if (is_rgba_image) 2476 if (is_rgba_image)
2477 { 2477 {
2478 Image_Entry *ie = engine_image; 2478 RGBA_Image *im = engine_image;
2479 2479
2480 buf = eo_add(EVAS_ECTOR_SOFTWARE_BUFFER_CLASS, e, 2480 buf = eo_add(EVAS_ECTOR_GL_RGBAIMAGE_BUFFER_CLASS, e,
2481 evas_ector_buffer_engine_image_set(e, ie)); 2481 evas_ector_buffer_engine_image_set(e, im));
2482 } 2482 }
2483 else 2483 else
2484 { 2484 {