Evas sw_generic/x11: Fix calls to native_bind_cb/unbind_cb 32/52232/2
authorJoogab Yun <joogab.yun@samsung.com>
Fri, 20 Nov 2015 05:42:16 +0000 (14:42 +0900)
committerjoogab yun <joogab.yun@samsung.com>
Wed, 25 Nov 2015 06:14:11 +0000 (22:14 -0800)
commit9584dbc12aaf85403dab249f9d645a0085631d00
tree6e8e6f129ab32ebf6e8d51def57c8e2fc4a648eb
parent6f502b18e142f0304fddb8c36ce7edde9132b925
Evas sw_generic/x11: Fix calls to  native_bind_cb/unbind_cb

Summary:
In Evas-SW-Generic/X11, native_unbind_cb is not called sometimes, although
native_bind_cb was called.
Some native surface's cases, both native_bind_cb and native_unbind_cb should
be called for mapping and unmapping, eg. with tbm_surface.

@fix

Test Plan:
Evas Native Surface with pixmap sample.
Evas Native Surface with tbm(this sample can work in Tize Device)
elementary_test

Reviewers: raster, jpeg, cedric, spacegrapher

Subscribers: JoogabYun, scholb.kim, dkdk

Differential Revision: https://phab.enlightenment.org/D3317

From 84cb06784e6491277f3303276b1339c0207fca64 Mon Sep 17 00:00:00 2001
From: Wonsik Jung <sidein@samsung.com>

Change-Id: Ibb0d729ab085f0722649f7dfeaf134f2eac5326e
src/modules/evas/engines/software_generic/evas_engine.c
src/modules/evas/engines/software_x11/evas_engine.c
src/modules/evas/engines/software_x11/evas_xcb_image.c
src/modules/evas/engines/software_x11/evas_xlib_image.c