Evas sw_generic/x11: Fix calls to native_bind_cb/unbind_cb
authorWonsik Jung <sidein@samsung.com>
Wed, 11 Nov 2015 04:22:25 +0000 (13:22 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Wed, 11 Nov 2015 05:36:20 +0000 (14:36 +0900)
commit84cb06784e6491277f3303276b1339c0207fca64
treec65583b525d4f0d0b0217991baa212a2f535e06d
parent64890d260f9ee9607aa21e52761bba226a7b0bd1
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
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