Lines Matching refs:bo

57     struct gbm_bo *bo = KMSDRM_gbm_bo_create(viddata->gbm, w, h, bo_format,  in KMSDRM_IsCursorSizeSupported()  local
60 if (!bo) { in KMSDRM_IsCursorSizeSupported()
65 bo_handle = KMSDRM_gbm_bo_get_handle(bo).u32; in KMSDRM_IsCursorSizeSupported()
72 KMSDRM_gbm_bo_destroy(bo); in KMSDRM_IsCursorSizeSupported()
77 if (bo) { in KMSDRM_IsCursorSizeSupported()
78 KMSDRM_gbm_bo_destroy(bo); in KMSDRM_IsCursorSizeSupported()
210 curdata->bo = KMSDRM_gbm_bo_create(viddata->gbm, usable_cursor_w, usable_cursor_h, bo_format, in KMSDRM_CreateCursor()
213 if (!curdata->bo) { in KMSDRM_CreateCursor()
218 bo_stride = KMSDRM_gbm_bo_get_stride(curdata->bo); in KMSDRM_CreateCursor()
250 if (KMSDRM_gbm_bo_write(curdata->bo, buffer, bufsize)) { in KMSDRM_CreateCursor()
267 ret = KMSDRM_gbm_bo_write(curdata->bo, surface->pixels, bufsize); in KMSDRM_CreateCursor()
291 if (curdata->bo) { in KMSDRM_CreateCursor()
292 KMSDRM_gbm_bo_destroy(curdata->bo); in KMSDRM_CreateCursor()
362 if (!curdata || !curdata->bo) { in KMSDRM_ShowCursor()
366 bo_handle = KMSDRM_gbm_bo_get_handle(curdata->bo).u32; in KMSDRM_ShowCursor()
395 if (curdata->bo) { in KMSDRM_FreeCursor()
397 drm_fd = KMSDRM_gbm_device_get_fd(KMSDRM_gbm_bo_get_device(curdata->bo)); in KMSDRM_FreeCursor()
402 KMSDRM_gbm_bo_destroy(curdata->bo); in KMSDRM_FreeCursor()
403 curdata->bo = NULL; in KMSDRM_FreeCursor()
432 if (curdata->bo) { in KMSDRM_WarpMouseGlobal()
436 drm_fd = KMSDRM_gbm_device_get_fd(KMSDRM_gbm_bo_get_device(curdata->bo)); in KMSDRM_WarpMouseGlobal()
491 drm_fd = KMSDRM_gbm_device_get_fd(KMSDRM_gbm_bo_get_device(curdata->bo)); in KMSDRM_MoveCursor()