wayland_egl: Added new APIs related with wl_surface_set_buffer_transform. 24/134224/1
authorjoonbum.ko <joonbum.ko@samsung.com>
Tue, 11 Apr 2017 07:07:37 +0000 (16:07 +0900)
committerjoonbum.ko <joonbum.ko@samsung.com>
Thu, 15 Jun 2017 08:51:23 +0000 (17:51 +0900)
commit6a85a832601403b487e996f744ee39816618963e
tree0a9615448b8bc6983987e946bbcb1825af04871b
parent53ad3dd935abe10491ef2e397f2320b074452a1d
wayland_egl: Added new APIs related with wl_surface_set_buffer_transform.

 - If wayland_egl provides the following function, the client can set
  the correct transform value, and tpl_wayland_egl can pass the transform value
  to the server at the appropriate time (befor wl_surface_attach).

 - New wayland_egl API:
  void
  wl_egl_window_set_buffer_transform(struct wl_egl_window *egl_window,
     int wl_output_transform)
 - egl_window cannot be NULL.
 - wl_output_transform is a value of WL_OUTPUT_TRANSFORM enum.
   (See wayland.xml)

Change-Id: Ibf4d1b8eee90ee75f519a6ad6bb680299d780d26
Signed-off-by: joonbum.ko <joonbum.ko@samsung.com>
src/tpl_wayland_egl.c
src/wayland-egl/wayland-egl-priv.h
src/wayland-egl/wayland-egl.c