e_comp_object: add e_comp_object_native_usable_get() 30/197430/1 accepted/tizen/5.0/unified/20190115.173203 submit/tizen_5.0/20190114.085223
authorJuyeon Lee <juyeonne.lee@samsung.com>
Fri, 11 Jan 2019 06:52:04 +0000 (15:52 +0900)
committerJuyeon Lee <juyeonne.lee@samsung.com>
Fri, 11 Jan 2019 06:52:08 +0000 (15:52 +0900)
commit827f82e29fe4324f4cb24bc5b0b0036e5acf7c8c
treea0010e44330d3511c01ce380cfb1cbfbe9e53390
parent5ef5e605997ee33d126ae1678f9fc1d2f41dfae9
e_comp_object: add e_comp_object_native_usable_get()

API e_comp_object_native_usable_get returns if cw->obj is drawable using ns
when a client attaching and committing NULL buffer, its pixmap is changed unusable
and at the same time, server make the client unmap and emit hide effect
to run hide effect, moudules can refer if a window still holds native surface
by using this api

Change-Id: I8556401dfef907cde2b13839d94fc64bc0a18187
src/bin/e_comp_object.c
src/bin/e_comp_object.h