Searched refs:cursor_bo (Results 1 - 18 of 18) sorted by relevance

/xsrc/external/mit/xf86-video-qxl/dist/src/
H A Dqxl_cursor.c35 push_cursor (qxl_screen_t *qxl, struct qxl_bo *cursor_bo) argument
37 qxl->bo_funcs->write_command (qxl, QXL_CMD_CURSOR, cursor_bo);
91 struct qxl_bo *cursor_bo = qxl->bo_funcs->bo_alloc(qxl, sizeof(struct QXLCursor) + size, "cursor data"); local in function:qxl_load_cursor_argb
92 struct QXLCursor *cursor = qxl->bo_funcs->bo_map(cursor_bo);
126 qxl->bo_funcs->bo_unmap(cursor_bo);
135 qxl->bo_funcs->bo_output_bo_reloc(qxl, offsetof(struct QXLCursorCmd, u.set.shape), cmd_bo, cursor_bo);
141 qxl->bo_funcs->bo_decref(qxl, cursor_bo);
H A Dqxl_drmmode.h58 struct qxl_bo *cursor_bo; member in struct:__anon275521630208
H A Dqxl_drmmode.c275 uint32_t handle = qxl_kms_bo_get_handle(drmmode_crtc->cursor_bo);
359 drmmode_crtc->cursor_bo = qxl->bo_funcs->bo_alloc(qxl, cursor_size, "cursor");
360 if (!drmmode_crtc->cursor_bo) {
365 drmmode_crtc->cursor_ptr = qxl->bo_funcs->bo_map(drmmode_crtc->cursor_bo);
/xsrc/external/mit/xf86-video-vmware/dist/vmwgfx/
H A Dvmwgfx_crtc.c63 struct vmwgfx_dmabuf *cursor_bo; member in struct:crtc_private
317 if (!crtcp->cursor_bo)
337 if (!crtcp->cursor_bo) {
339 crtcp->cursor_bo = vmwgfx_dmabuf_alloc(ms->fd, size);
340 if (!crtcp->cursor_bo) {
345 crtcp->cursor_handle = crtcp->cursor_bo->handle;
348 ptr = vmwgfx_dmabuf_map(crtcp->cursor_bo);
351 vmwgfx_dmabuf_unmap(crtcp->cursor_bo);
390 if (crtcp->cursor_bo)
412 if (crtcp->cursor_bo) {
[all...]
/xsrc/external/mit/xf86-video-openchrome/dist/src/
H A Dvia_kms.h60 struct buffer_object *cursor_bo; member in struct:__anonc755062c0208
H A Dvia_kms.c273 uint32_t handle = drmmode_crtc->cursor_bo->handle;
286 uint32_t handle = drmmode_crtc->cursor_bo->handle, *ptr;
289 ptr = drm_bo_map(crtc->scrn, drmmode_crtc->cursor_bo);
290 memset(ptr, 0x00, drmmode_crtc->cursor_bo->size);
291 memcpy(ptr, image, drmmode_crtc->cursor_bo->size);
292 drm_bo_unmap(crtc->scrn, drmmode_crtc->cursor_bo);
H A Dvia_display.c318 VIASETREG(PRIM_HI_FBOFFSET, iga->cursor_bo->offset);
322 VIASETREG(HI_FBOFFSET, iga->cursor_bo->offset);
588 VIASETREG(HI_FBOFFSET, iga->cursor_bo->offset);
4010 dst = drm_bo_map(pScrn, iga->cursor_bo);
4011 memset(dst, 0x00, iga->cursor_bo->size);
4012 memcpy(dst, image, iga->cursor_bo->size);
4013 drm_bo_unmap(pScrn, iga->cursor_bo);
4376 dst = drm_bo_map(pScrn, iga->cursor_bo);
4380 drm_bo_unmap(pScrn, iga->cursor_bo);
4432 dst = drm_bo_map(pScrn, iga->cursor_bo);
[all...]
H A Dvia_driver.c1725 if (iga->cursor_bo)
1726 drm_bo_free(pScrn, iga->cursor_bo);
1899 iga->cursor_bo = drm_bo_alloc(pScrn, cursorSize, 16, TTM_PL_FLAG_VRAM);
/xsrc/external/mit/xf86-video-ati/dist/src/
H A Ddrmmode_display.h73 struct radeon_bo *cursor_bo; member in struct:__anon92ff548d0408
H A Dradeon_kms.c1326 if (info->cursor_bo[c] == NULL) {
1327 info->cursor_bo[c] = radeon_bo_open(info->bufmgr, 0,
1330 if (!info->cursor_bo[c]) {
1335 if (radeon_bo_map(info->cursor_bo[c], 1)) {
1339 drmmode_set_cursor(pScrn, &info->drmmode, c, info->cursor_bo[c]);
1389 if (info->cursor_bo[c] != NULL) {
H A Ddrmmode_display.c479 ptr = (uint32_t *)(drmmode_crtc->cursor_bo->ptr);
501 uint32_t handle = drmmode_crtc->cursor_bo->handle;
1570 drmmode_crtc->cursor_bo = bo;
H A Dradeon.h1019 struct radeon_bo *cursor_bo[32]; member in struct:__anonb194aea90e08
/xsrc/external/mit/xf86-video-ati-kms/dist/src/
H A Ddrmmode_display.h97 struct radeon_bo *cursor_bo[2]; member in struct:__anon1b2324c50308
H A Dradeon_kms.c2786 if (!drmmode_crtc->cursor_bo[i]) {
2787 drmmode_crtc->cursor_bo[i] =
2791 if (!(drmmode_crtc->cursor_bo[i])) {
2796 if (radeon_bo_map(drmmode_crtc->cursor_bo[i], 1))
2866 if (drmmode_crtc->cursor_bo[0])
H A Ddrmmode_display.c1144 ptr = (uint32_t *)(drmmode_crtc->cursor_bo[id]->ptr);
1237 arg.handle = drmmode_crtc->cursor_bo[drmmode_crtc->cursor_id]->handle;
/xsrc/external/mit/xorg-server/dist/hw/xfree86/drivers/modesetting/
H A Ddrmmode_display.h174 struct dumb_bo *cursor_bo; member in struct:__anonaff371e40708
H A Ddrmmode_display.c1655 uint32_t handle = drmmode_crtc->cursor_bo->handle;
1708 ptr = (uint32_t *) (drmmode_crtc->cursor_bo->ptr);
4195 drmmode_crtc->cursor_bo =
4232 ret = dumb_bo_map(drmmode->fd, drmmode_crtc->cursor_bo);
4256 dumb_bo_destroy(drmmode->fd, drmmode_crtc->cursor_bo);
/xsrc/external/mit/libdrm/dist/tests/modetest/
H A Dmodetest.c127 struct bo *cursor_bo; member in struct:device::__anon6416134e0108
1864 dev->mode.cursor_bo = bo;
1886 if (dev->mode.cursor_bo)
1887 bo_destroy(dev->mode.cursor_bo);

Completed in 37 milliseconds