wayland-egl-tizen: add a new API to increase serial and obtain it
Increment the window serial and then returns it.
The updated serial is copied to the buffer at the next eglSwapBuffers
and delivered to the server when wl_surface_commit.
* Important *
- This API should be called only from the thread that calls eglSwapBuffers
because it is not thread safe.
- It is recommended not to use it with wl_egl_window_tizen_set_window_serial
because set_window_seriaal can overwrite serial with a completely different value.
- If caller want to obtain the current serial without increasing it,
need to call get_window_serial
Change-Id: I780cccc175d2ef7d080805bc301ec92da1445e7c
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>