diff options
author | Chris Michael <cpmichael@osg.samsung.com> | 2016-04-01 07:56:54 -0400 |
---|---|---|
committer | Chris Michael <cpmichael@osg.samsung.com> | 2016-04-01 07:56:54 -0400 |
commit | e84b2e50f733bae57fa78ed459d66f85e2aa9947 (patch) | |
tree | c5fc6e7d8b382f9b594a1d0138f5e19bc60c52f4 | |
parent | 2035931ba712a75fe1a26a5f2aca6e7c60da70db (diff) | |
download | efl-e84b2e50f733bae57fa78ed459d66f85e2aa9947.tar.gz |
evas-software-generic: remove native.func.data variable and data argument of native calblacks.
Evas Image should be independent of render engine.
So remove native.func.data member of RGBA_Image, Evas_GL_Image
struct. And remove data argument,too.
ref f10672dd7429dd98dd3b7d88d9c3c63aac392a40
@fix
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
-rw-r--r-- | src/modules/evas/engines/software_generic/evas_native_tbm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/evas/engines/software_generic/evas_native_tbm.c b/src/modules/evas/engines/software_generic/evas_native_tbm.c index c17d77dda6..752d750d75 100644 --- a/src/modules/evas/engines/software_generic/evas_native_tbm.c +++ b/src/modules/evas/engines/software_generic/evas_native_tbm.c @@ -205,7 +205,7 @@ _evas_video_nv12(unsigned char *evas_data, const unsigned char *source_data, uns } static void -_native_bind_cb(void *data EINA_UNUSED, void *image, int x EINA_UNUSED, int y EINA_UNUSED, int w EINA_UNUSED, int h EINA_UNUSED) +_native_bind_cb(void *image, int x EINA_UNUSED, int y EINA_UNUSED, int w EINA_UNUSED, int h EINA_UNUSED) { RGBA_Image *im = image; Native *n = im->native.data; @@ -224,7 +224,7 @@ _native_bind_cb(void *data EINA_UNUSED, void *image, int x EINA_UNUSED, int y EI } static void -_native_unbind_cb(void *data EINA_UNUSED, void *image) +_native_unbind_cb(void *image) { RGBA_Image *im = image; Native *n = im->native.data; @@ -239,7 +239,7 @@ _native_unbind_cb(void *data EINA_UNUSED, void *image) } static void -_native_free_cb(void *data EINA_UNUSED, void *image) +_native_free_cb(void *image) { RGBA_Image *im = image; Native *n = im->native.data; |