internal static extern IntPtr gbm_bo_map(ref gbm_bo bo, uint x, uint y, uint width, uint height, TransferFlags flags, ref uint stride, out IntPtr data);
internal static extern void gbm_bo_unmap(ref gbm_bo bo, IntPtr data);
internal static extern uint gbm_bo_get_stride(ref gbm_bo bo);
internal static extern void gbm_bo_set_user_data(ref gbm_bo bo, ref uint data, DestroyUserDataCallback callback);
internal static extern int gbm_bo_get_width(ref gbm_bo bo);
internal static extern int gbm_bo_get_height(ref gbm_bo bo);
internal static extern ulong gbm_bo_get_handle(ref gbm_bo bo);
internal static extern Device gbm_bo_get_device(ref gbm_bo bo);
internal static extern void destryBO(ref gbm_bo bo);