wayland-egl: Added new API to set window serial. 40/188940/1
authorJoonbum Ko <joonbum.ko@samsung.com>
Wed, 12 Sep 2018 02:44:40 +0000 (11:44 +0900)
committerJoonbum Ko <joonbum.ko@samsung.com>
Wed, 12 Sep 2018 03:01:24 +0000 (12:01 +0900)
commita4d54e761710fa7e5c3270d8ef7de3ac9a8f3e4f
treedd12935302d819679b9da0d27af607309f07617e
parent5e1cf71d1e954c496bfda1293f30f70e2cfca1e7
wayland-egl: Added new API to set window serial.

 - New wayland-egl-tizen API :
 void
  wl_egl_window_tizen_set_window_serial(struct wl_egl_window *egl_window,
unsigned int serial)

 - If client use this new API, increaing wl_egl_window->serial will not
  work at dequeue, and buffer's serial value will be set to the serial
  that the client passed to this API.
'- The serial value client want to set must be incremented
  whenever there is a change related to the window.
 - This API should be called before the gl first draw call to ensure
  the correct one frame in the desired serial.

Change-Id: I66266fc58867b331ab253ce5682df10d70176851
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
src/wayland-egl/wayland-egl-priv.h
src/wayland-egl/wayland-egl-tizen.c
src/wayland-egl/wayland-egl-tizen.h