Lines Matching refs:cursor

58 	pMgx->cursor.which = WSDISPLAY_CURSOR_DOALL;
59 pMgx->cursor.image = src;
60 pMgx->cursor.mask = src + pMgx->maskoffset;
61 if(ioctl(pMgx->psdp->fd, WSDISPLAYIO_SCURSOR, &pMgx->cursor) == -1)
70 pMgx->cursor.which = WSDISPLAY_CURSOR_DOCUR;
71 pMgx->cursor.enable = 1;
72 if(ioctl(pMgx->psdp->fd, WSDISPLAYIO_SCURSOR, &pMgx->cursor) == -1)
81 pMgx->cursor.which = WSDISPLAY_CURSOR_DOCUR;
82 pMgx->cursor.enable = 0;
83 if(ioctl(pMgx->psdp->fd, WSDISPLAYIO_SCURSOR, &pMgx->cursor) == -1)
93 pMgx->cursor.which = WSDISPLAY_CURSOR_DOPOS | WSDISPLAY_CURSOR_DOHOT;
104 pMgx->cursor.pos.x = x;
105 pMgx->cursor.hot.x = xoff;
106 pMgx->cursor.pos.y = y;
107 pMgx->cursor.hot.y = yoff;
109 if(ioctl(pMgx->psdp->fd, WSDISPLAYIO_SCURSOR, &pMgx->cursor) == -1)
119 pMgx->cursor.which = WSDISPLAY_CURSOR_DOCMAP;
120 pMgx->cursor.cmap.red = r;
121 pMgx->cursor.cmap.green = g;
122 pMgx->cursor.cmap.blue = b;
129 pMgx->cursor.cmap.index = 0;
130 pMgx->cursor.cmap.count = 2;
131 if(ioctl(pMgx->psdp->fd, WSDISPLAYIO_SCURSOR, &pMgx->cursor) == -1)
142 pMgx->cursor.pos.x = 0;
143 pMgx->cursor.pos.y = 0;
144 pMgx->cursor.enable = 0;
150 if(ioctl(pMgx->psdp->fd, WSDISPLAYIO_GCURMAX, &pMgx->cursor.size) == -1) {
151 xf86Msg(X_WARNING, "No HW cursor support found\n");
155 xf86Msg(X_INFO, "HW cursor enabled\n");
157 infoPtr->MaxWidth = pMgx->cursor.size.x;
158 infoPtr->MaxHeight = pMgx->cursor.size.y;
159 pMgx->maskoffset = ( pMgx->cursor.size.x >> 3) * pMgx->cursor.size.y;
161 pMgx->cursor.hot.x = 0;
162 pMgx->cursor.hot.y = 0;
163 pMgx->cursor.which = WSDISPLAY_CURSOR_DOHOT | WSDISPLAY_CURSOR_DOCUR |
165 if(ioctl(pMgx->psdp->fd, WSDISPLAYIO_SCURSOR, &pMgx->cursor) == -1)