Fix deadlock problem
[platform/core/uifw/libtbm.git] / src / tbm_surface_internal.h
index e31c8d9..d836774 100644 (file)
@@ -350,6 +350,16 @@ void tbm_surface_internal_set_debug_pid(tbm_surface_h surface,
                                        unsigned int pid);
 
 /**
+ * @brief Set the string value to the tbm_surface for debugging.
+ * @since_tizen 3.0
+ * @param[in] surface : the tbm_surface_h
+ * @param[in] key : the key for debugging
+ * @param[in] value : the value for debugging
+ */
+int tbm_surface_internal_set_debug_data(tbm_surface_h surface,
+                                       char *key, char *value);
+
+/**
  * @brief Adds a user_data to the tbm surface.
  * @since_tizen 3.0
  * @param[in] surface : the tbm surface.
@@ -447,12 +457,6 @@ void tbm_surface_internal_dump_buffer(tbm_surface_h surface, const char *type);
 void tbm_surface_internal_dump_shm_buffer(void *ptr, int w, int h, int stride, const char *type);
 
 /**
- * @brief Dump all tbm surfaces
- * @param[in] path : the given dump path
- */
-void tbm_surface_internal_dump_all(char *path);
-
-/**
  * @brief check valid tbm surface.
  * @since_tizen 3.0
  * @param[in] surface : the tbm surface.