surface: revert the code of return params of getting width/height
[platform/core/uifw/libtbm.git] / src / tbm_bufmgr.h
index b8b7392..250274e 100644 (file)
@@ -33,8 +33,9 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 #define _TBM_BUFMGR_H_
 
 #include <tbm_type.h>
-#include <tbm_type_int.h>
+#include <tbm_type_common.h>
 #include <tbm_bo.h>
+#include <tbm_error.h>
 
 /**
  * \file tbm_bufmgr.h
@@ -219,6 +220,15 @@ void tbm_bufmgr_debug_dump_set_scale(double scale);
  */
 int tbm_bufmgr_debug_get_ref_count(void);
 
+/**
+ * @brief set or unset the trace_mask to print out the trace logs.
+ * @since_tizen 5.0
+ * @param[in] bufmgr : the buffer manager
+ * @param[in] mask : enum value for the trace log
+ * @param[in] set : set the mask when set is 1, otherwise unset the mask when set is 0
+ */
+void tbm_bufmgr_debug_set_trace_mask(tbm_bufmgr bufmgr, tbm_bufmgr_debug_trace_mask mask, int set);
+
 #ifdef __cplusplus
 }
 #endif