Lines Matching refs:pScreen
58 ScreenPtr pScreen = pWin->drawable.pScreen; in compCheckWindow() local
59 PixmapPtr pWinPixmap = (*pScreen->GetWindowPixmap) (pWin); in compCheckWindow()
61 pWin->parent ? (*pScreen->GetWindowPixmap) (pWin->parent) : 0; in compCheckWindow()
62 PixmapPtr pScreenPixmap = (*pScreen->GetScreenPixmap) (pScreen); in compCheckWindow()
83 compCheckTree(ScreenPtr pScreen) in compCheckTree() argument
85 WalkTree(pScreen, compCheckWindow, 0); in compCheckTree()
108 pWindow->drawable.pScreen->PaintWindow(pWindow, &exposed, PW_BORDER); in compRepaintBorder()
118 ScreenPtr pScreen = pWindow->drawable.pScreen; in compSetPixmapVisitWindow() local
122 (*pScreen->SetWindowPixmap) (pWindow, pVisit->pPixmap); in compSetPixmapVisitWindow()
145 compCheckTree(pWindow->drawable.pScreen); in compSetPixmap()
152 CompScreenPtr cs = GetCompScreen(pWin->drawable.pScreen); in compCheckRedirect()
169 ScreenPtr pScreen = pWin->drawable.pScreen; in compCheckRedirect() local
170 PixmapPtr pPixmap = (*pScreen->GetWindowPixmap) (pWin); in compCheckRedirect()
174 (*pScreen->DestroyPixmap) (pPixmap); in compCheckRedirect()
187 updateOverlayWindow(ScreenPtr pScreen) in updateOverlayWindow() argument
192 int w = pScreen->width; in updateOverlayWindow()
193 int h = pScreen->height; in updateOverlayWindow()
202 cs = GetCompScreen(pScreen); in updateOverlayWindow()
221 ScreenPtr pScreen = pWin->drawable.pScreen; in compPositionWindow() local
222 CompScreenPtr cs = GetCompScreen(pScreen); in compPositionWindow()
225 pScreen->PositionWindow = cs->PositionWindow; in compPositionWindow()
237 PixmapPtr pPixmap = (*pScreen->GetWindowPixmap) (pWin); in compPositionWindow()
249 if (!(*pScreen->PositionWindow) (pWin, x, y)) in compPositionWindow()
251 cs->PositionWindow = pScreen->PositionWindow; in compPositionWindow()
252 pScreen->PositionWindow = compPositionWindow; in compPositionWindow()
253 compCheckTree(pWin->drawable.pScreen); in compPositionWindow()
254 if (updateOverlayWindow(pScreen) != Success) in compPositionWindow()
262 ScreenPtr pScreen = pWin->drawable.pScreen; in compRealizeWindow() local
263 CompScreenPtr cs = GetCompScreen(pScreen); in compRealizeWindow()
266 pScreen->RealizeWindow = cs->RealizeWindow; in compRealizeWindow()
268 if (!(*pScreen->RealizeWindow) (pWin)) in compRealizeWindow()
270 cs->RealizeWindow = pScreen->RealizeWindow; in compRealizeWindow()
271 pScreen->RealizeWindow = compRealizeWindow; in compRealizeWindow()
272 compCheckTree(pWin->drawable.pScreen); in compRealizeWindow()
279 ScreenPtr pScreen = pWin->drawable.pScreen; in compUnrealizeWindow() local
280 CompScreenPtr cs = GetCompScreen(pScreen); in compUnrealizeWindow()
283 pScreen->UnrealizeWindow = cs->UnrealizeWindow; in compUnrealizeWindow()
285 if (!(*pScreen->UnrealizeWindow) (pWin)) in compUnrealizeWindow()
287 cs->UnrealizeWindow = pScreen->UnrealizeWindow; in compUnrealizeWindow()
288 pScreen->UnrealizeWindow = compUnrealizeWindow; in compUnrealizeWindow()
289 compCheckTree(pWin->drawable.pScreen); in compUnrealizeWindow()
301 ScreenPtr pScreen = pWin->drawable.pScreen; in compClipNotify() local
302 CompScreenPtr cs = GetCompScreen(pScreen); in compClipNotify()
316 pScreen->ClipNotify = cs->ClipNotify; in compClipNotify()
317 (*pScreen->ClipNotify) (pWin, dx, dy); in compClipNotify()
318 cs->ClipNotify = pScreen->ClipNotify; in compClipNotify()
319 pScreen->ClipNotify = compClipNotify; in compClipNotify()
324 compIsAlternateVisual(ScreenPtr pScreen, XID visual) in compIsAlternateVisual() argument
326 CompScreenPtr cs = GetCompScreen(pScreen); in compIsAlternateVisual()
336 compIsImplicitRedirectException(ScreenPtr pScreen, in compIsImplicitRedirectException() argument
339 CompScreenPtr cs = GetCompScreen(pScreen); in compIsImplicitRedirectException()
354 ScreenPtr pScreen = pWin->drawable.pScreen; in compImplicitRedirect() local
358 if (compIsImplicitRedirectException(pScreen, parentVisual, winVisual)) in compImplicitRedirect()
362 (compIsAlternateVisual(pScreen, winVisual) || in compImplicitRedirect()
363 compIsAlternateVisual(pScreen, parentVisual))) in compImplicitRedirect()
372 ScreenPtr pScreen = pWin->drawable.pScreen; in compFreeOldPixmap() local
378 (*pScreen->DestroyPixmap) (cw->pOldPixmap); in compFreeOldPixmap()
387 ScreenPtr pScreen = pWin->drawable.pScreen; in compMoveWindow() local
388 CompScreenPtr cs = GetCompScreen(pScreen); in compMoveWindow()
390 pScreen->MoveWindow = cs->MoveWindow; in compMoveWindow()
391 (*pScreen->MoveWindow) (pWin, x, y, pSib, kind); in compMoveWindow()
392 cs->MoveWindow = pScreen->MoveWindow; in compMoveWindow()
393 pScreen->MoveWindow = compMoveWindow; in compMoveWindow()
396 compCheckTree(pScreen); in compMoveWindow()
403 ScreenPtr pScreen = pWin->drawable.pScreen; in compResizeWindow() local
404 CompScreenPtr cs = GetCompScreen(pScreen); in compResizeWindow()
406 pScreen->ResizeWindow = cs->ResizeWindow; in compResizeWindow()
407 (*pScreen->ResizeWindow) (pWin, x, y, w, h, pSib); in compResizeWindow()
408 cs->ResizeWindow = pScreen->ResizeWindow; in compResizeWindow()
409 pScreen->ResizeWindow = compResizeWindow; in compResizeWindow()
412 compCheckTree(pWin->drawable.pScreen); in compResizeWindow()
418 ScreenPtr pScreen = pWin->drawable.pScreen; in compChangeBorderWidth() local
419 CompScreenPtr cs = GetCompScreen(pScreen); in compChangeBorderWidth()
421 pScreen->ChangeBorderWidth = cs->ChangeBorderWidth; in compChangeBorderWidth()
422 (*pScreen->ChangeBorderWidth) (pWin, bw); in compChangeBorderWidth()
423 cs->ChangeBorderWidth = pScreen->ChangeBorderWidth; in compChangeBorderWidth()
424 pScreen->ChangeBorderWidth = compChangeBorderWidth; in compChangeBorderWidth()
427 compCheckTree(pWin->drawable.pScreen); in compChangeBorderWidth()
433 ScreenPtr pScreen = pWin->drawable.pScreen; in compReparentWindow() local
434 CompScreenPtr cs = GetCompScreen(pScreen); in compReparentWindow()
437 pScreen->ReparentWindow = cs->ReparentWindow; in compReparentWindow()
464 compSetPixmap(pWin, (*pScreen->GetWindowPixmap) (pWin->parent), in compReparentWindow()
469 if (pScreen->ReparentWindow) in compReparentWindow()
470 (*pScreen->ReparentWindow) (pWin, pPriorParent); in compReparentWindow()
471 cs->ReparentWindow = pScreen->ReparentWindow; in compReparentWindow()
472 pScreen->ReparentWindow = compReparentWindow; in compReparentWindow()
478 compCheckTree(pWin->drawable.pScreen); in compReparentWindow()
484 ScreenPtr pScreen = pWin->drawable.pScreen; in compCopyWindow() local
485 CompScreenPtr cs = GetCompScreen(pScreen); in compCopyWindow()
489 PixmapPtr pPixmap = (*pScreen->GetWindowPixmap) (pWin); in compCopyWindow()
514 pGC = GetScratchGC(pPixmap->drawable.depth, pScreen); in compCopyWindow()
541 pScreen->CopyWindow = cs->CopyWindow; in compCopyWindow()
545 (*pScreen->CopyWindow) (pWin, ptOldOrg, prgnSrc); in compCopyWindow()
557 cs->CopyWindow = pScreen->CopyWindow; in compCopyWindow()
558 pScreen->CopyWindow = compCopyWindow; in compCopyWindow()
559 compCheckTree(pWin->drawable.pScreen); in compCopyWindow()
565 ScreenPtr pScreen = pWin->drawable.pScreen; in compCreateWindow() local
566 CompScreenPtr cs = GetCompScreen(pScreen); in compCreateWindow()
569 pScreen->CreateWindow = cs->CreateWindow; in compCreateWindow()
570 ret = (*pScreen->CreateWindow) (pWin); in compCreateWindow()
574 PixmapPtr parent_pixmap = (*pScreen->GetWindowPixmap)(pWin->parent); in compCreateWindow()
575 PixmapPtr window_pixmap = (*pScreen->GetWindowPixmap)(pWin); in compCreateWindow()
578 (*pScreen->SetWindowPixmap) (pWin, parent_pixmap); in compCreateWindow()
586 cs->CreateWindow = pScreen->CreateWindow; in compCreateWindow()
587 pScreen->CreateWindow = compCreateWindow; in compCreateWindow()
588 compCheckTree(pWin->drawable.pScreen); in compCreateWindow()
595 ScreenPtr pScreen = pWin->drawable.pScreen; in compDestroyWindow() local
596 CompScreenPtr cs = GetCompScreen(pScreen); in compDestroyWindow()
601 pScreen->DestroyWindow = cs->DestroyWindow; in compDestroyWindow()
608 PixmapPtr pPixmap = (*pScreen->GetWindowPixmap) (pWin); in compDestroyWindow()
611 (*pScreen->DestroyPixmap) (pPixmap); in compDestroyWindow()
613 ret = (*pScreen->DestroyWindow) (pWin); in compDestroyWindow()
614 cs->DestroyWindow = pScreen->DestroyWindow; in compDestroyWindow()
615 pScreen->DestroyWindow = compDestroyWindow; in compDestroyWindow()
662 ScreenPtr pScreen = pWin->drawable.pScreen; in compWindowUpdateAutomatic() local
664 PixmapPtr pSrcPixmap = (*pScreen->GetWindowPixmap) (pWin); in compWindowUpdateAutomatic()
757 (HasSaverWindow(pWin->drawable.pScreen))) { in CompositeRealChildHead()
773 cs = GetCompScreen(pWin->drawable.pScreen); in CompositeRealChildHead()
786 ScreenPtr pScreen = pWin->drawable.pScreen; in compConfigNotify() local
787 CompScreenPtr cs = GetCompScreen(pScreen); in compConfigNotify()
794 pScreen->ConfigNotify = cs->ConfigNotify; in compConfigNotify()
795 ret = (*pScreen->ConfigNotify) (pWin, x, y, w, h, bw, pSib); in compConfigNotify()
796 cs->ConfigNotify = pScreen->ConfigNotify; in compConfigNotify()
797 pScreen->ConfigNotify = compConfigNotify; in compConfigNotify()
806 compCheckTree(pScreen); in compConfigNotify()