Lines Matching defs:pCurs

121     xf86DestroyCursorInfoRec(pVBox->pCurs);
122 pVBox->pCurs = NULL;
209 vbox_use_hw_cursor(ScreenPtr pScreen, CursorPtr pCurs)
223 vbox_realize_cursor(xf86CursorInfoPtr infoPtr, CursorPtr pCurs)
235 bitsp = pCurs->bits;
268 fc = color_to_byte (pCurs->foreBlue)
269 | (color_to_byte (pCurs->foreGreen) << 8)
270 | (color_to_byte (pCurs->foreRed) << 16);
272 bc = color_to_byte (pCurs->backBlue)
273 | (color_to_byte (pCurs->backGreen) << 8)
274 | (color_to_byte (pCurs->backRed) << 16);
343 vbox_use_hw_cursor_argb(ScreenPtr pScreen, CursorPtr pCurs)
350 if ( (pCurs->bits->height > VBOX_MAX_CURSOR_HEIGHT)
351 || (pCurs->bits->width > VBOX_MAX_CURSOR_WIDTH)
359 vbox_load_cursor_argb(ScrnInfoPtr pScrn, CursorPtr pCurs)
376 bitsp = pCurs->bits;
445 xf86CursorInfoPtr pCurs = NULL;
449 pVBox->pCurs = pCurs = xf86CreateCursorInfoRec();
450 if (!pCurs) {
456 pCurs->MaxWidth = VBOX_MAX_CURSOR_WIDTH;
457 pCurs->MaxHeight = VBOX_MAX_CURSOR_HEIGHT;
458 pCurs->Flags = HARDWARE_CURSOR_TRUECOLOR_AT_8BPP
463 pCurs->SetCursorColors = vbox_set_cursor_colors;
464 pCurs->SetCursorPosition = vbox_set_cursor_position;
465 pCurs->LoadCursorImage = vbox_load_cursor_image;
466 pCurs->HideCursor = vbox_hide_cursor;
467 pCurs->ShowCursor = vbox_show_cursor;
468 pCurs->UseHWCursor = vbox_use_hw_cursor;
469 pCurs->RealizeCursor = vbox_realize_cursor;
472 pCurs->UseHWCursorARGB = vbox_use_hw_cursor_argb;
473 pCurs->LoadCursorARGB = vbox_load_cursor_argb;
476 rc = xf86InitCursor(pScreen, pCurs);
481 if (!rc && (pCurs != NULL))
482 xf86DestroyCursorInfoRec(pCurs);