From: YoungJun Cho Date: Wed, 2 Nov 2016 14:01:16 +0000 (+0900) Subject: ut: stubs: synchronize tbm_surface_internal.h modification X-Git-Tag: accepted/tizen/3.0/common/20161116.143332~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F52%2F95252%2F2;p=platform%2Fcore%2Fuifw%2Flibtdm.git ut: stubs: synchronize tbm_surface_internal.h modification This patch synchronizes tbm_surface_internal.h modification with libtbm one. Change-Id: Ie134209554a88e872bb7871add0269c110ed1abe Signed-off-by: YoungJun Cho --- diff --git a/ut/stubs/tbm_surface_internal.h b/ut/stubs/tbm_surface_internal.h index 367adf6..6c85b77 100644 --- a/ut/stubs/tbm_surface_internal.h +++ b/ut/stubs/tbm_surface_internal.h @@ -143,7 +143,7 @@ void tbm_surface_internal_unref(tbm_surface_h surface); * @brief Gets the number of buffer objects associated with the tbm_surface. * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif * @param[in] surface : the tbm_surface_h - * @return the number of buffer objects associated with the tbm_surface_h, otherwise -1. + * @return the number of buffer objects associated with the tbm_surface_h, otherwise 0. * @par Example @code #include @@ -196,7 +196,7 @@ tbm_bo tbm_surface_internal_get_bo(tbm_surface_h surface, int bo_idx); * @brief Gets the size of the surface. * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif * @param[in] surface : the tbm_surface_h - * @return the size of tbm_surface, otherwise -1. + * @return the size of tbm_surface, otherwise 0. * @par Example @code #include @@ -211,7 +211,7 @@ tbm_bo tbm_surface_internal_get_bo(tbm_surface_h surface, int bo_idx); tbm_surface_destroy (surface); @endcode */ -int tbm_surface_internal_get_size(tbm_surface_h surface); +unsigned int tbm_surface_internal_get_size(tbm_surface_h surface); /** * @brief Gets size, offset and pitch data of plane by the plane_index. @@ -287,7 +287,7 @@ int tbm_surface_internal_get_bpp(tbm_format format); * @since_tizen 2.4 * @param[in] surface : the tbm_surface_h * @param[in] plane_idx : the bo index in the tbm_surface - * @return bo index of plane, otherwise -1. + * @return bo index of plane, otherwise 0. * @par Example @code #include