From: SooChan Lim Date: Fri, 12 Jan 2018 04:22:06 +0000 (+0900) Subject: hwc: change the type of zpos X-Git-Tag: accepted/tizen/unified/20180115.074424~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F11%2F166811%2F1;p=platform%2Fadaptation%2Fbroadcom%2Flibtdm-vc4.git hwc: change the type of zpos Change-Id: I13a8e92da6f6778aafe614a1a88b0251a3185921 --- diff --git a/src/tdm_vc4.h b/src/tdm_vc4.h index d0077ac..76ec43f 100644 --- a/src/tdm_vc4.h +++ b/src/tdm_vc4.h @@ -68,7 +68,7 @@ tdm_error vc4_layer_set_buffer(tdm_layer *layer, tbm_surface_h buffer); tdm_error vc4_layer_unset_buffer(tdm_layer *layer); tdm_error vc4_layer_get_buffer_flags(tdm_layer *layer, unsigned int *flags); tbm_surface_queue_h vc4_hwc_window_get_tbm_buffer_queue(tdm_hwc_window *hwc_window, tdm_error *error); -tdm_error vc4_hwc_window_set_zpos(tdm_hwc_window *hwc_window, uint32_t zpos); +tdm_error vc4_hwc_window_set_zpos(tdm_hwc_window *hwc_window, int32_t zpos); tdm_error vc4_hwc_window_set_composition_type(tdm_hwc_window *hwc_window, tdm_hwc_window_composition composition_type); tdm_error vc4_hwc_window_set_buffer_damage(tdm_hwc_window *hwc_window, tdm_hwc_region damage); diff --git a/src/tdm_vc4_display.c b/src/tdm_vc4_display.c index 946c269..eab5d27 100644 --- a/src/tdm_vc4_display.c +++ b/src/tdm_vc4_display.c @@ -2331,7 +2331,7 @@ vc4_hwc_window_get_tbm_buffer_queue(tdm_hwc_window *hwc_window, tdm_error *error } tdm_error -vc4_hwc_window_set_zpos(tdm_hwc_window *hwc_window, uint32_t zpos) +vc4_hwc_window_set_zpos(tdm_hwc_window *hwc_window, int32_t zpos) { tdm_vc4_hwc_window_data *vc4_hwc_window = hwc_window; tdm_vc4_output_data *vc4_output;