Lines Matching refs:pScreen

56 compCloseScreen(ScreenPtr pScreen)  in compCloseScreen()  argument
58 CompScreenPtr cs = GetCompScreen(pScreen); in compCloseScreen()
63 pScreen->CloseScreen = cs->CloseScreen; in compCloseScreen()
64 pScreen->InstallColormap = cs->InstallColormap; in compCloseScreen()
65 pScreen->ChangeWindowAttributes = cs->ChangeWindowAttributes; in compCloseScreen()
66 pScreen->ReparentWindow = cs->ReparentWindow; in compCloseScreen()
67 pScreen->ConfigNotify = cs->ConfigNotify; in compCloseScreen()
68 pScreen->MoveWindow = cs->MoveWindow; in compCloseScreen()
69 pScreen->ResizeWindow = cs->ResizeWindow; in compCloseScreen()
70 pScreen->ChangeBorderWidth = cs->ChangeBorderWidth; in compCloseScreen()
72 pScreen->ClipNotify = cs->ClipNotify; in compCloseScreen()
73 pScreen->UnrealizeWindow = cs->UnrealizeWindow; in compCloseScreen()
74 pScreen->RealizeWindow = cs->RealizeWindow; in compCloseScreen()
75 pScreen->DestroyWindow = cs->DestroyWindow; in compCloseScreen()
76 pScreen->CreateWindow = cs->CreateWindow; in compCloseScreen()
77 pScreen->CopyWindow = cs->CopyWindow; in compCloseScreen()
78 pScreen->PositionWindow = cs->PositionWindow; in compCloseScreen()
80 pScreen->GetImage = cs->GetImage; in compCloseScreen()
81 pScreen->GetSpans = cs->GetSpans; in compCloseScreen()
82 pScreen->SourceValidate = cs->SourceValidate; in compCloseScreen()
85 dixSetPrivate(&pScreen->devPrivates, CompScreenPrivateKey, NULL); in compCloseScreen()
86 ret = (*pScreen->CloseScreen) (pScreen); in compCloseScreen()
95 ScreenPtr pScreen = pColormap->pScreen; in compInstallColormap() local
96 CompScreenPtr cs = GetCompScreen(pScreen); in compInstallColormap()
102 pScreen->InstallColormap = cs->InstallColormap; in compInstallColormap()
103 (*pScreen->InstallColormap) (pColormap); in compInstallColormap()
104 cs->InstallColormap = pScreen->InstallColormap; in compInstallColormap()
105 pScreen->InstallColormap = compInstallColormap; in compInstallColormap()
126 ScreenPtr pScreen = pWin->drawable.pScreen; in compChangeWindowAttributes() local
127 CompScreenPtr cs = GetCompScreen(pScreen); in compChangeWindowAttributes()
130 pScreen->ChangeWindowAttributes = cs->ChangeWindowAttributes; in compChangeWindowAttributes()
131 ret = pScreen->ChangeWindowAttributes(pWin, mask); in compChangeWindowAttributes()
134 pScreen->backingStoreSupport != NotUseful) in compChangeWindowAttributes()
137 pScreen->ChangeWindowAttributes = compChangeWindowAttributes; in compChangeWindowAttributes()
148 ScreenPtr pScreen = pDrawable->pScreen; in compGetImage() local
149 CompScreenPtr cs = GetCompScreen(pScreen); in compGetImage()
151 pScreen->GetImage = cs->GetImage; in compGetImage()
154 (*pScreen->GetImage) (pDrawable, sx, sy, w, h, format, planemask, pdstLine); in compGetImage()
155 cs->GetImage = pScreen->GetImage; in compGetImage()
156 pScreen->GetImage = compGetImage; in compGetImage()
163 ScreenPtr pScreen = pDrawable->pScreen; in compGetSpans() local
164 CompScreenPtr cs = GetCompScreen(pScreen); in compGetSpans()
166 pScreen->GetSpans = cs->GetSpans; in compGetSpans()
169 (*pScreen->GetSpans) (pDrawable, wMax, ppt, pwidth, nspans, pdstStart); in compGetSpans()
170 cs->GetSpans = pScreen->GetSpans; in compGetSpans()
171 pScreen->GetSpans = compGetSpans; in compGetSpans()
179 ScreenPtr pScreen = pDrawable->pScreen; in compSourceValidate() local
180 CompScreenPtr cs = GetCompScreen(pScreen); in compSourceValidate()
182 pScreen->SourceValidate = cs->SourceValidate; in compSourceValidate()
185 if (pScreen->SourceValidate) in compSourceValidate()
186 (*pScreen->SourceValidate) (pDrawable, x, y, width, height, in compSourceValidate()
188 cs->SourceValidate = pScreen->SourceValidate; in compSourceValidate()
189 pScreen->SourceValidate = compSourceValidate; in compSourceValidate()
197 compFindVisuallessDepth(ScreenPtr pScreen, int d) in compFindVisuallessDepth() argument
201 for (i = 0; i < pScreen->numDepths; i++) { in compFindVisuallessDepth()
202 DepthPtr depth = &pScreen->allowedDepths[i]; in compFindVisuallessDepth()
245 CompositeRegisterAlternateVisuals(ScreenPtr pScreen, VisualID * vids, in CompositeRegisterAlternateVisuals() argument
248 CompScreenPtr cs = GetCompScreen(pScreen); in CompositeRegisterAlternateVisuals()
254 CompositeRegisterImplicitRedirectionException(ScreenPtr pScreen, in CompositeRegisterImplicitRedirectionException() argument
258 CompScreenPtr cs = GetCompScreen(pScreen); in CompositeRegisterImplicitRedirectionException()
288 compAddAlternateVisual(ScreenPtr pScreen, CompScreenPtr cs, in compAddAlternateVisual() argument
301 if (alt->depth >= pScreen->rootDepth && alt->depth != 32) in compAddAlternateVisual()
304 depth = compFindVisuallessDepth(pScreen, alt->depth); in compAddAlternateVisual()
309 pPictFormat = PictureMatchFormat(pScreen, alt->depth, alt->format); in compAddAlternateVisual()
313 if (ResizeVisualArray(pScreen, 1, depth) == FALSE) { in compAddAlternateVisual()
317 visual = pScreen->visuals + (pScreen->numVisuals - 1); /* the new one */ in compAddAlternateVisual()
358 compAddAlternateVisuals(ScreenPtr pScreen, CompScreenPtr cs) in compAddAlternateVisuals() argument
363 ret |= compAddAlternateVisual(pScreen, cs, altVisuals + alt); in compAddAlternateVisuals()
369 compScreenInit(ScreenPtr pScreen) in compScreenInit() argument
380 if (GetCompScreen(pScreen)) in compScreenInit()
397 if (!compAddAlternateVisuals(pScreen, cs)) { in compScreenInit()
403 pScreen->backingStoreSupport = WhenMapped; in compScreenInit()
405 cs->PositionWindow = pScreen->PositionWindow; in compScreenInit()
406 pScreen->PositionWindow = compPositionWindow; in compScreenInit()
408 cs->CopyWindow = pScreen->CopyWindow; in compScreenInit()
409 pScreen->CopyWindow = compCopyWindow; in compScreenInit()
411 cs->CreateWindow = pScreen->CreateWindow; in compScreenInit()
412 pScreen->CreateWindow = compCreateWindow; in compScreenInit()
414 cs->DestroyWindow = pScreen->DestroyWindow; in compScreenInit()
415 pScreen->DestroyWindow = compDestroyWindow; in compScreenInit()
417 cs->RealizeWindow = pScreen->RealizeWindow; in compScreenInit()
418 pScreen->RealizeWindow = compRealizeWindow; in compScreenInit()
420 cs->UnrealizeWindow = pScreen->UnrealizeWindow; in compScreenInit()
421 pScreen->UnrealizeWindow = compUnrealizeWindow; in compScreenInit()
423 cs->ClipNotify = pScreen->ClipNotify; in compScreenInit()
424 pScreen->ClipNotify = compClipNotify; in compScreenInit()
426 cs->ConfigNotify = pScreen->ConfigNotify; in compScreenInit()
427 pScreen->ConfigNotify = compConfigNotify; in compScreenInit()
429 cs->MoveWindow = pScreen->MoveWindow; in compScreenInit()
430 pScreen->MoveWindow = compMoveWindow; in compScreenInit()
432 cs->ResizeWindow = pScreen->ResizeWindow; in compScreenInit()
433 pScreen->ResizeWindow = compResizeWindow; in compScreenInit()
435 cs->ChangeBorderWidth = pScreen->ChangeBorderWidth; in compScreenInit()
436 pScreen->ChangeBorderWidth = compChangeBorderWidth; in compScreenInit()
438 cs->ReparentWindow = pScreen->ReparentWindow; in compScreenInit()
439 pScreen->ReparentWindow = compReparentWindow; in compScreenInit()
441 cs->InstallColormap = pScreen->InstallColormap; in compScreenInit()
442 pScreen->InstallColormap = compInstallColormap; in compScreenInit()
444 cs->ChangeWindowAttributes = pScreen->ChangeWindowAttributes; in compScreenInit()
445 pScreen->ChangeWindowAttributes = compChangeWindowAttributes; in compScreenInit()
447 cs->CloseScreen = pScreen->CloseScreen; in compScreenInit()
448 pScreen->CloseScreen = compCloseScreen; in compScreenInit()
450 cs->GetImage = pScreen->GetImage; in compScreenInit()
451 pScreen->GetImage = compGetImage; in compScreenInit()
453 cs->GetSpans = pScreen->GetSpans; in compScreenInit()
454 pScreen->GetSpans = compGetSpans; in compScreenInit()
456 cs->SourceValidate = pScreen->SourceValidate; in compScreenInit()
457 pScreen->SourceValidate = compSourceValidate; in compScreenInit()
459 dixSetPrivate(&pScreen->devPrivates, CompScreenPrivateKey, cs); in compScreenInit()