Home | History | Annotate | Download | only in composite

Lines Matching refs:cs

58     CompScreenPtr cs = GetCompScreen(pScreen);
61 free(cs->alternateVisuals);
63 pScreen->CloseScreen = cs->CloseScreen;
64 pScreen->InstallColormap = cs->InstallColormap;
65 pScreen->ChangeWindowAttributes = cs->ChangeWindowAttributes;
66 pScreen->ReparentWindow = cs->ReparentWindow;
67 pScreen->ConfigNotify = cs->ConfigNotify;
68 pScreen->MoveWindow = cs->MoveWindow;
69 pScreen->ResizeWindow = cs->ResizeWindow;
70 pScreen->ChangeBorderWidth = cs->ChangeBorderWidth;
72 pScreen->ClipNotify = cs->ClipNotify;
73 pScreen->UnrealizeWindow = cs->UnrealizeWindow;
74 pScreen->RealizeWindow = cs->RealizeWindow;
75 pScreen->DestroyWindow = cs->DestroyWindow;
76 pScreen->CreateWindow = cs->CreateWindow;
77 pScreen->CopyWindow = cs->CopyWindow;
78 pScreen->PositionWindow = cs->PositionWindow;
79 pScreen->SourceValidate = cs->SourceValidate;
81 free(cs);
93 CompScreenPtr cs = GetCompScreen(pScreen);
96 for (a = 0; a < cs->numAlternateVisuals; a++)
97 if (pVisual->vid == cs->alternateVisuals[a])
99 pScreen->InstallColormap = cs->InstallColormap;
101 cs->InstallColormap = pScreen->InstallColormap;
122 CompScreenPtr cs = GetCompScreen(pScreen);
125 pScreen->ChangeWindowAttributes = cs->ChangeWindowAttributes;
143 CompScreenPtr cs = GetCompScreen(pScreen);
145 pScreen->SourceValidate = cs->SourceValidate;
150 cs->SourceValidate = pScreen->SourceValidate;
189 compRegisterAlternateVisuals(CompScreenPtr cs, VisualID * vids, int nVisuals)
193 p = reallocarray(cs->alternateVisuals,
194 cs->numAlternateVisuals + nVisuals, sizeof(VisualID));
198 memcpy(&p[cs->numAlternateVisuals], vids, sizeof(VisualID) * nVisuals);
200 cs->alternateVisuals = p;
201 cs->numAlternateVisuals += nVisuals;
210 CompScreenPtr cs = GetCompScreen(pScreen);
212 return compRegisterAlternateVisuals(cs, vids, nVisuals);
220 CompScreenPtr cs = GetCompScreen(pScreen);
223 p = reallocarray(cs->implicitRedirectExceptions,
224 cs->numImplicitRedirectExceptions + 1, sizeof(p[0]));
228 p[cs->numImplicitRedirectExceptions].parentVisual = parentVisual;
229 p[cs->numImplicitRedirectExceptions].winVisual = winVisual;
231 cs->implicitRedirectExceptions = p;
232 cs->numImplicitRedirectExceptions++;
250 compAddAlternateVisual(ScreenPtr pScreen, CompScreenPtr cs,
314 compRegisterAlternateVisuals(cs, &visual->vid, 1);
320 compAddAlternateVisuals(ScreenPtr pScreen, CompScreenPtr cs)
325 ret |= compAddAlternateVisual(pScreen, cs, altVisuals + alt);
333 CompScreenPtr cs;
344 cs = (CompScreenPtr) malloc(sizeof(CompScreenRec));
345 if (!cs)
348 cs->overlayWid = FakeClientID(0);
349 cs->pOverlayWin = NULL;
350 cs->pOverlayClients = NULL;
352 cs->pendingScreenUpdate = FALSE;
354 cs->numAlternateVisuals = 0;
355 cs->alternateVisuals = NULL;
356 cs->numImplicitRedirectExceptions = 0;
357 cs->implicitRedirectExceptions = NULL;
359 if (!compAddAlternateVisuals(pScreen, cs)) {
360 free(cs);
367 cs->PositionWindow = pScreen->PositionWindow;
370 cs->CopyWindow = pScreen->CopyWindow;
373 cs->CreateWindow = pScreen->CreateWindow;
376 cs->DestroyWindow = pScreen->DestroyWindow;
379 cs->RealizeWindow = pScreen->RealizeWindow;
382 cs->UnrealizeWindow = pScreen->UnrealizeWindow;
385 cs->ClipNotify = pScreen->ClipNotify;
388 cs->ConfigNotify = pScreen->ConfigNotify;
391 cs->MoveWindow = pScreen->MoveWindow;
394 cs->ResizeWindow = pScreen->ResizeWindow;
397 cs->ChangeBorderWidth = pScreen->ChangeBorderWidth;
400 cs->ReparentWindow = pScreen->ReparentWindow;
403 cs->InstallColormap = pScreen->InstallColormap;
406 cs->ChangeWindowAttributes = pScreen->ChangeWindowAttributes;
409 cs->CloseScreen = pScreen->CloseScreen;
412 cs->SourceValidate = pScreen->SourceValidate;
415 dixSetPrivate(&pScreen->devPrivates, CompScreenPrivateKey, cs);