#ifdef TBM_BUFMGR_INIT_TIME
/* get the end tv */
- gettimeofday(&end_tv, NULL);
+ gettimeofday(&end_tv, NULL);
TBM_LOG_I("tbm_bufmgr_init time: %ld ms", ((end_tv.tv_sec * 1000 + end_tv.tv_usec / 1000) - (start_tv.tv_sec * 1000 + start_tv.tv_usec / 1000)));
#endif
#define TBM_LOG_I(fmt, ...) {\
if (bDlog) {\
- LOGD("[TBM:I] " fmt, ##__VA_ARGS__);\
+ LOGI("[TBM:I] " fmt, ##__VA_ARGS__);\
} \
else {\
fprintf(stderr, "[TBM:I(%d)(%s:%d)] " fmt, getpid(), __func__, __LINE__, ##__VA_ARGS__);\
#define WL_HIDE_DEPRECATED
+#include "config.h"
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define WL_HIDE_DEPRECATED
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <stddef.h>
-#include <unistd.h>
-#include <fcntl.h>
-#include <errno.h>
+#include "config.h"
#include <xf86drm.h>
**************************************************************************/
#include "config.h"
+
#include "tbm_bufmgr.h"
#include "tbm_bufmgr_int.h"
#include "tbm_surface_internal.h"
**************************************************************************/
#include "config.h"
+
#include <stdio.h>
#include <time.h>
#include <sys/time.h>
**************************************************************************/
+#include "config.h"
+
#include "tbm_bufmgr_int.h"
#include "list.h"
**************************************************************************/
+#include "config.h"
+
#include "tbm_bufmgr_int.h"
#include "tbm_sync.h"
int errnum = errno;
char buf[ERRNO_BUF_SIZE];
- if (strerror_r(errnum, buf, ERRNO_BUF_SIZE) == 0)
+ if (strerror_r(errnum, buf, ERRNO_BUF_SIZE) == 0) {
TBM_LOG_E("errno : %d(%s)\n", errnum, buf);
- else
+ return;
+ } else {
TBM_LOG_E("errno : %d()\n", errnum);
+ return;
+ }
}
static inline void