Lines Matching refs:scrpriv
95 EphyrScrPriv *scrpriv = screen->driver; in ephyrScreenInitialize() local
115 scrpriv->server_depth = screen->fb.depth; in ephyrScreenInitialize()
173 scrpriv->randr = screen->randr; in ephyrScreenInitialize()
212 EphyrScrPriv *scrpriv = screen->driver; in ephyrMapFramebuffer() local
234 if ((scrpriv->randr & RR_Rotate_0) && !(scrpriv->randr & RR_Reflect_All)) { in ephyrMapFramebuffer()
235 scrpriv->shadow = FALSE; in ephyrMapFramebuffer()
243 scrpriv->shadow = TRUE; in ephyrMapFramebuffer()
248 scrpriv->randr & (RR_Rotate_90 | RR_Rotate_270)); in ephyrMapFramebuffer()
259 EphyrScrPriv *scrpriv = screen->driver; in ephyrSetScreenSizes() local
261 if (scrpriv->randr & (RR_Rotate_0 | RR_Rotate_180)) { in ephyrSetScreenSizes()
278 EphyrScrPriv *scrpriv = screen->driver; in ephyrUnmapFramebuffer() local
280 if (scrpriv->shadow) in ephyrUnmapFramebuffer()
309 EphyrScrPriv *scrpriv = screen->driver; in ephyrInternalDamageRedisplay() local
312 if (!scrpriv || !scrpriv->pDamage) in ephyrInternalDamageRedisplay()
315 pRegion = DamageRegion(scrpriv->pDamage); in ephyrInternalDamageRedisplay()
322 ephyr_glamor_damage_redisplay(scrpriv->glamor, pRegion); in ephyrInternalDamageRedisplay()
335 DamageEmpty(scrpriv->pDamage); in ephyrInternalDamageRedisplay()
354 EphyrScrPriv *scrpriv = screen->driver; in ephyrScreenBlockHandler() local
356 pScreen->BlockHandler = scrpriv->BlockHandler; in ephyrScreenBlockHandler()
358 scrpriv->BlockHandler = pScreen->BlockHandler; in ephyrScreenBlockHandler()
361 if (scrpriv->pDamage) in ephyrScreenBlockHandler()
376 EphyrScrPriv *scrpriv = screen->driver; in ephyrSetInternalDamage() local
379 scrpriv->pDamage = DamageCreate((DamageReportFunc) 0, in ephyrSetInternalDamage()
385 DamageRegister(&pPixmap->drawable, scrpriv->pDamage); in ephyrSetInternalDamage()
395 EphyrScrPriv *scrpriv = screen->driver; in ephyrUnsetInternalDamage() local
397 DamageDestroy(scrpriv->pDamage); in ephyrUnsetInternalDamage()
398 scrpriv->pDamage = NULL; in ephyrUnsetInternalDamage()
407 EphyrScrPriv *scrpriv = screen->driver; in ephyrRandRGetInfo() local
454 randr = KdSubRotation(scrpriv->randr, screen->randr); in ephyrRandRGetInfo()
467 EphyrScrPriv *scrpriv = screen->driver; in ephyrRandRSetConfig() local
486 oldscr = *scrpriv; in ephyrRandRSetConfig()
492 oldshadow = scrpriv->shadow; in ephyrRandRSetConfig()
506 scrpriv->randr = ephyrRandr; in ephyrRandRSetConfig()
513 scrpriv->win_width = screen->width; in ephyrRandRSetConfig()
514 scrpriv->win_height = screen->height; in ephyrRandRSetConfig()
516 ephyr_glamor_set_window_size(scrpriv->glamor, in ephyrRandRSetConfig()
517 scrpriv->win_width, in ephyrRandRSetConfig()
518 scrpriv->win_height); in ephyrRandRSetConfig()
533 if (scrpriv->shadow) { in ephyrRandRSetConfig()
535 scrpriv->randr, ephyrShadowUpdate, ephyrWindowLinear)) in ephyrRandRSetConfig()
564 KdSetSubpixelOrder(pScreen, scrpriv->randr); in ephyrRandRSetConfig()
577 *scrpriv = oldscr; in ephyrRandRSetConfig()
687 EphyrScrPriv *scrpriv = screen->driver; in ephyrFinishInitScreen() local
700 scrpriv->BlockHandler = pScreen->BlockHandler; in ephyrFinishInitScreen()
717 EphyrScrPriv *scrpriv = screen->driver; in ephyrCreateResources() local
720 pScreen, pScreen->myNum, scrpriv->shadow); in ephyrCreateResources()
722 if (scrpriv->shadow) in ephyrCreateResources()
724 scrpriv->randr, in ephyrCreateResources()
740 EphyrScrPriv *scrpriv = screen->driver; in ephyrScreenFini() local
742 if (scrpriv->shadow) { in ephyrScreenFini()
745 scrpriv->BlockHandler = NULL; in ephyrScreenFini()
850 EphyrScrPriv *scrpriv = screen->driver; in screen_from_window() local
852 if (scrpriv->win == w in screen_from_window()
853 || scrpriv->peer_win == w in screen_from_window()
854 || scrpriv->win_pre_existing == w) { in screen_from_window()
883 EphyrScrPriv *scrpriv = screen->driver; in ephyrProcessExpose() local
891 if (scrpriv) { in ephyrProcessExpose()
892 hostx_paint_rect(scrpriv->screen, 0, 0, 0, 0, in ephyrProcessExpose()
893 scrpriv->win_width, in ephyrProcessExpose()
894 scrpriv->win_height); in ephyrProcessExpose()
1033 EphyrScrPriv *scrpriv = screen->driver; in ephyrProcessKeyRelease() local
1047 scrpriv->win, in ephyrProcessKeyRelease()
1055 scrpriv->win, in ephyrProcessKeyRelease()
1059 scrpriv->win, in ephyrProcessKeyRelease()
1074 grabbed_screen = scrpriv->mynum; in ephyrProcessKeyRelease()
1103 EphyrScrPriv *scrpriv = screen->driver; in ephyrProcessConfigureNotify() local
1105 if (!scrpriv || in ephyrProcessConfigureNotify()
1106 (scrpriv->win_pre_existing == None && !EphyrWantResize)) { in ephyrProcessConfigureNotify()
1229 EphyrScrPriv *scrpriv = screen->driver; in ephyrPutColors() local
1249 if (scrpriv->pDamage) { in ephyrPutColors()
1258 DamageReportDamage(scrpriv->pDamage, ®ion); in ephyrPutColors()