Searched refs:ScreenPriv (Results 1 – 7 of 7) sorted by relevance
| /OK3568_Linux_fs/external/xserver/hw/xfree86/ramdac/ |
| H A D | xf86CursorRD.c | 58 xf86CursorScreenPtr ScreenPriv; in xf86InitCursor() local 67 ScreenPriv = calloc(1, sizeof(xf86CursorScreenRec)); in xf86InitCursor() 68 if (!ScreenPriv) in xf86InitCursor() 71 dixSetPrivate(&pScreen->devPrivates, xf86CursorScreenKey, ScreenPriv); in xf86InitCursor() 73 ScreenPriv->SWCursor = TRUE; in xf86InitCursor() 74 ScreenPriv->isUp = FALSE; in xf86InitCursor() 75 ScreenPriv->CurrentCursor = NULL; in xf86InitCursor() 76 ScreenPriv->CursorInfoPtr = infoPtr; in xf86InitCursor() 77 ScreenPriv->PalettedCursor = FALSE; in xf86InitCursor() 78 ScreenPriv->pInstalledMap = NULL; in xf86InitCursor() [all …]
|
| H A D | xf86HWCurs.c | 26 xf86RecolorCursor_locked(xf86CursorScreenPtr ScreenPriv, CursorPtr pCurs); 181 xf86CursorScreenPtr ScreenPriv = in xf86ScreenSetCursor() local 188 if (!ScreenPriv) { /* NULL if Option "SWCursor" */ in xf86ScreenSetCursor() 192 infoPtr = ScreenPriv->CursorInfoPtr; in xf86ScreenSetCursor() 231 xf86RecolorCursor_locked (ScreenPriv, pCurs); in xf86ScreenSetCursor() 241 xf86CursorScreenPtr ScreenPriv = in xf86SetCursor() local 249 x -= ScreenPriv->HotX; in xf86SetCursor() 250 y -= ScreenPriv->HotY; in xf86SetCursor() 279 xf86CursorScreenPtr ScreenPriv = in xf86SetTransparentCursor() local 282 xf86CursorInfoPtr infoPtr = ScreenPriv->CursorInfoPtr; in xf86SetTransparentCursor() [all …]
|
| /OK3568_Linux_fs/external/xserver/hw/xquartz/xpr/ |
| H A D | xprCursor.c | 225 QuartzCursorScreenPtr ScreenPriv = CURSOR_PRIV(pScreen); in QuartzSetCursor() local 231 if (ScreenPriv->cursorVisible) { in QuartzSetCursor() 233 ScreenPriv->cursorVisible = FALSE; in QuartzSetCursor() 239 if (!ScreenPriv->cursorVisible) { in QuartzSetCursor() 241 ScreenPriv->cursorVisible = TRUE; in QuartzSetCursor() 324 QuartzCursorScreenPtr ScreenPriv = CURSOR_PRIV(pScreen); in QuartzCursorQueryBestSize() local 332 (*ScreenPriv->QueryBestSize)(class, width, height, pScreen); in QuartzCursorQueryBestSize() 343 QuartzCursorScreenPtr ScreenPriv; in QuartzInitCursor() local 353 ScreenPriv = calloc(1, sizeof(QuartzCursorScreenRec)); in QuartzInitCursor() 354 if (ScreenPriv == NULL) in QuartzInitCursor() [all …]
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/common/ |
| H A D | xf86xv.c | 231 XF86XVScreenPtr ScreenPriv; in xf86XVScreenInit() local 248 ScreenPriv = malloc(sizeof(XF86XVScreenRec)); in xf86XVScreenInit() 249 dixSetPrivate(&pScreen->devPrivates, &XF86XVScreenPrivateKey, ScreenPriv); in xf86XVScreenInit() 251 if (!ScreenPriv) in xf86XVScreenInit() 256 ScreenPriv->DestroyWindow = pScreen->DestroyWindow; in xf86XVScreenInit() 257 ScreenPriv->WindowExposures = pScreen->WindowExposures; in xf86XVScreenInit() 258 ScreenPriv->PostValidateTree = PostValidateTreeUndefined; in xf86XVScreenInit() 259 ScreenPriv->ClipNotify = pScreen->ClipNotify; in xf86XVScreenInit() 260 ScreenPriv->CloseScreen = pScreen->CloseScreen; in xf86XVScreenInit() 261 ScreenPriv->EnterVT = pScrn->EnterVT; in xf86XVScreenInit() [all …]
|
| /OK3568_Linux_fs/external/xserver/hw/kdrive/src/ |
| H A D | kxv.c | 116 KdXVScreenPtr ScreenPriv; in KdXVScreenInit() local 137 ScreenPriv = malloc(sizeof(KdXVScreenRec)); in KdXVScreenInit() 138 dixSetPrivate(&pScreen->devPrivates, &KdXVScreenPrivateKey, ScreenPriv); in KdXVScreenInit() 140 if (!ScreenPriv) in KdXVScreenInit() 143 ScreenPriv->DestroyWindow = pScreen->DestroyWindow; in KdXVScreenInit() 144 ScreenPriv->WindowExposures = pScreen->WindowExposures; in KdXVScreenInit() 145 ScreenPriv->ClipNotify = pScreen->ClipNotify; in KdXVScreenInit() 146 ScreenPriv->CloseScreen = pScreen->CloseScreen; in KdXVScreenInit() 763 KdXVScreenPtr ScreenPriv = GET_KDXV_SCREEN(pScreen); in KdXVDestroyWindow() local 784 pScreen->DestroyWindow = ScreenPriv->DestroyWindow; in KdXVDestroyWindow() [all …]
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/modes/ |
| H A D | xf86Cursors.c | 385 xf86CursorScreenPtr ScreenPriv = in xf86_crtc_transform_cursor_position() local 391 *x = *x - crtc->x + ScreenPriv->HotX; in xf86_crtc_transform_cursor_position() 392 *y = *y - crtc->y + ScreenPriv->HotY; in xf86_crtc_transform_cursor_position() 431 cursor_info->MaxHeight, ScreenPriv->HotX, in xf86_crtc_transform_cursor_position() 432 ScreenPriv->HotY, &dx, &dy); in xf86_crtc_transform_cursor_position()
|
| /OK3568_Linux_fs/external/xserver/ |
| H A D | ChangeLog | 12128 ramdac: Check ScreenPriv != NULL in xf86ScreenSetCursor() 12130 Similar to change cba5a10f, xf86ScreenSetCursor() would dereference ScreenPriv 12131 without NULL checking it. If Option "SWCursor" is specified, ScreenPriv == NULL. 12137 ScreenPriv == NULL and pCurs == NullCursor, because otherwise xf86SetCursor() 63743 kxv.c:1181:19: warning: variable 'ScreenPriv' set but not used 147784 In the last chunk, ScreenPriv fields were being assigned without need, so
|