tpl: Added frontend API "tpl_surface_set_reset_cb" 71/90471/4 accepted/tizen/common/20161005.165649 submit/tizen/20161005.133318
authorjoonbum.ko <joonbum.ko@samsung.com>
Tue, 27 Sep 2016 09:41:29 +0000 (18:41 +0900)
committerGwan-gyeong Mun <kk.moon@samsung.com>
Wed, 5 Oct 2016 12:55:06 +0000 (05:55 -0700)
commit6e4b86832ee5726001be04da57da8ce614c87fb4
tree70e9ea30d0000b96c999fed1979ac5dc65207625
parent851992fc72282446ebf374c642af4361b3652f5a
tpl: Added frontend API "tpl_surface_set_reset_cb"

 - This API can set function of reset_cb to tpl_surface.
 - When the tbm_surface_queue_reset is occured, if there is reset_cb which is registered by frontend, tpl_surface calls that function of reset_cb with reset_data.

 - tpl_surface_validate() also can notify info of surface's "reset/resized states" to frontend  as before.
  But if you want to know the surface reset state without render call, it is better that registers callback of reset, using above API.

Change-Id: Ib762856ad1db306c435013218c1a4be2b24ef1c9
Signed-off-by: joonbum.ko <joonbum.ko@samsung.com>
src/tpl.h
src/tpl_internal.h
src/tpl_surface.c
src/tpl_wayland_egl.c