ut: stubs: synchronize tbm_surface_internal.h modification 52/95252/2
authorYoungJun Cho <yj44.cho@samsung.com>
Wed, 2 Nov 2016 14:01:16 +0000 (23:01 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Mon, 7 Nov 2016 06:23:44 +0000 (22:23 -0800)
This patch synchronizes tbm_surface_internal.h modification
with libtbm one.

Change-Id: Ie134209554a88e872bb7871add0269c110ed1abe
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
ut/stubs/tbm_surface_internal.h

index 367adf6..6c85b77 100644 (file)
@@ -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 <tbm_surface.h>
@@ -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 <tbm_surface.h>
@@ -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 <tbm_surface.h>