hwc: change the type of the zpos 01/166801/1
authorSooChan Lim <sc1.lim@samsung.com>
Thu, 11 Jan 2018 10:21:09 +0000 (19:21 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Thu, 11 Jan 2018 10:21:09 +0000 (19:21 +0900)
Change-Id: Ibc014c34f2414cf7b186b7c740a085b21d8cfed7

include/tdm.h
include/tdm_backend.h
src/tdm_hwc_window.c
utests/src/ut_tdm_hwc_window.cpp

index 38128429f050f67664d8c7f79402e262da64dfb0..18ef948aedcf6de0ec0c97111125123bb5629af3 100644 (file)
@@ -983,7 +983,7 @@ tdm_hwc_window_get_tbm_buffer_queue(tdm_hwc_window *hwc_window, tdm_error *error
  * @since 2.0.0
  */
 tdm_error
-tdm_hwc_window_set_zpos(tdm_hwc_window *hwc_window, uint32_t zpos);
+tdm_hwc_window_set_zpos(tdm_hwc_window *hwc_window, int32_t zpos);
 
 /**
  * @brief Sets the desired composition type of the given window.
index 99eff2947c3c6bba63395b35a8406b860a3a3686..fa36479da58e0d99a4b2b9d82cbf0db203966020 100644 (file)
@@ -842,7 +842,7 @@ typedef struct _tdm_func_window {
         * @param[in] z the new Z order
         * @return #TDM_ERROR_NONE if success. Otherwise, error value.
         */
-       tdm_error (*hwc_window_set_zpos)(tdm_hwc_window *hwc_window, uint32_t zpos);
+       tdm_error (*hwc_window_set_zpos)(tdm_hwc_window *hwc_window, int32_t zpos);
 
        /**
         * @brief Sets the desired composition type of the given window.
index 88a8e9d5b4edbc0a01458f40e073931483655dd0..9fb69b69297f57f14d7471cbcaee6f127a6697f7 100644 (file)
@@ -104,7 +104,7 @@ tdm_hwc_window_get_tbm_buffer_queue(tdm_hwc_window *hwc_window, tdm_error *error
 }
 
 EXTERN tdm_error
-tdm_hwc_window_set_zpos(tdm_hwc_window *hwc_window, uint32_t zpos)
+tdm_hwc_window_set_zpos(tdm_hwc_window *hwc_window, int32_t zpos)
 {
        tdm_func_hwc_window *func_hwc_window = NULL;
 
index ffea35f0923d14134295e21a8887017e8f5ce0f6..48472d3617aa2081db27451c7dcf54accf20f709 100644 (file)
@@ -446,7 +446,7 @@ TEST_F(TDMHwcWindow, GetBufferQueueSuccessful)
        }
 }
 
-/* tdm_error tdm_hwc_window_set_zpos(tdm_hwc_window *hwc_window, uint32_t zpos); */
+/* tdm_error tdm_hwc_window_set_zpos(tdm_hwc_window *hwc_window, int32_t zpos); */
 TEST_F(TDMHwcWindow, SetZposFailNull)
 {
        error = tdm_hwc_window_set_zpos(NULL, 1);