X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Flibtbm.git;a=blobdiff_plain;f=src%2Ftbm_bufmgr_int.h;h=c5cba300d0f43e914b097e0dfa25f2be792f749f;hp=8a19f805d60b7849dcd01ba471b0c203929850fe;hb=e63541a42a8470996ae0dc2209b2febaaa71c390;hpb=53781fa7ced41df99ba1d3c4b10fa04d5247fcc3 diff --git a/src/tbm_bufmgr_int.h b/src/tbm_bufmgr_int.h index 8a19f80..c5cba30 100644 --- a/src/tbm_bufmgr_int.h +++ b/src/tbm_bufmgr_int.h @@ -64,6 +64,8 @@ extern tbm_bufmgr gBufMgr; extern int b_dump_queue; extern int trace_mask; +#define TBM_BO_MAGIC 0xBF011234 + #define C(b, m) (((b) >> (m)) & 0xFF) #define B(c, s) ((((unsigned int)(c)) & 0xff) << (s)) #define FOURCC(a, b, c, d) (B(d, 24) | B(c, 16) | B(b, 8) | B(a, 0)) @@ -347,7 +349,7 @@ void _tbm_bufmgr_mutex_lock(void); void _tbm_bufmgr_mutex_unlock(void); tbm_bo tbm_bufmgr_internal_find_bo(tbm_bufmgr bufmgr, tbm_bo bo); -tbm_bo tbm_bo_alloc_with_format(tbm_bufmgr bufmgr, int format, int bo_idx, int width, int bpp, int height, tbm_bo_memory_type flags, tbm_error_e *error); +tbm_bo tbm_bufmgr_internal_alloc_bo_with_format(tbm_bufmgr bufmgr, int format, int bo_idx, int width, int bpp, int height, tbm_bo_memory_type flags, tbm_error_e *error); tbm_bo tbm_bo_alloc_with_bo_data(tbm_bufmgr bufmgr, tbm_backend_bo_data *bo_data, int flags); /* tbm_module functions */