Lines Matching full:window

72                    WindowPtr            window,  in present_check_flip()  argument
80 ScreenPtr screen = window->drawable.pScreen; in present_check_flip()
101 /* Make sure the window hasn't been redirected with Composite */ in present_check_flip()
102 window_pixmap = screen->GetWindowPixmap(window); in present_check_flip()
108 /* Check for full-screen window */ in present_check_flip()
109 if (!RegionEqual(&window->clipList, &root->winSize)) { in present_check_flip()
113 /* Source pixmap must align with window exactly */ in present_check_flip()
123 /* Does the window match the pixmap exactly? */ in present_check_flip()
124 if (window->drawable.x != 0 || window->drawable.y != 0 || in present_check_flip()
126 window->drawable.x != pixmap->screen_x || window->drawable.y != pixmap->screen_y || in present_check_flip()
128 window->drawable.width != pixmap->drawable.width || in present_check_flip()
129 window->drawable.height != pixmap->drawable.height) { in present_check_flip()
135 if (!(*screen_priv->info->check_flip2) (crtc, window, pixmap, sync_flip, reason)) { in present_check_flip()
136 …DebugPresent(("\td %08" PRIx32 " -> %08" PRIx32 "\n", window->drawable.id, pixmap ? pixmap->drawab… in present_check_flip()
140 if (!(*screen_priv->info->check_flip) (crtc, window, pixmap, sync_flip)) { in present_check_flip()
141 …DebugPresent(("\td %08" PRIx32 " -> %08" PRIx32 "\n", window->drawable.id, pixmap ? pixmap->drawab… in present_check_flip()
163 present_scmd_get_crtc(present_screen_priv_ptr screen_priv, WindowPtr window) in present_scmd_get_crtc() argument
168 return (*screen_priv->info->get_crtc)(window); in present_scmd_get_crtc()
192 present_flush(WindowPtr window) in present_flush() argument
194 ScreenPtr screen = window->drawable.pScreen; in present_flush()
203 (*screen_priv->info->flush) (window); in present_flush()
208 WindowPtr window, in present_queue_vblank() argument
226 present_window_to_crtc_msc(WindowPtr window, RRCrtcPtr crtc, uint64_t window_msc, uint64_t new_msc) in present_window_to_crtc_msc() argument
228 present_window_priv_ptr window_priv = present_get_window_priv(window, TRUE); in present_window_to_crtc_msc()
240 …if (present_get_ust_msc(window->drawable.pScreen, window_priv->crtc, &old_ust, &old_msc) != Succes… in present_window_to_crtc_msc()
307 flip_window = screen_priv->flip_pending->window; in present_restore_screen_pixmap()
367 vblank->window ? vblank->window->drawable.id : 0)); in present_flip_notify()
377 screen_priv->flip_window = vblank->window; in present_flip_notify()
438 * 'window' is being reconfigured. Check to see if it is involved
442 present_check_flip_window (WindowPtr window) in present_check_flip_window() argument
444 ScreenPtr screen = window->drawable.pScreen; in present_check_flip_window()
446 present_window_priv_ptr window_priv = present_window_priv(window); in present_check_flip_window()
451 /* If this window hasn't ever been used with Present, it can't be in present_check_flip_window()
464 if (flip_pending->window == window) { in present_check_flip_window()
465 if (!present_check_flip(flip_pending->crtc, window, flip_pending->pixmap, in present_check_flip_window()
473 if (window == screen_priv->flip_window) { in present_check_flip_window()
474 …if (!present_check_flip(screen_priv->flip_crtc, window, screen_priv->flip_pixmap, screen_priv->fli… in present_check_flip_window()
481 …if (vblank->queued && vblank->flip && !present_check_flip(vblank->crtc, window, vblank->pixmap, vb… in present_check_flip_window()
491 present_scmd_can_window_flip(WindowPtr window) in present_scmd_can_window_flip() argument
493 ScreenPtr screen = window->drawable.pScreen; in present_scmd_can_window_flip()
508 /* Make sure the window hasn't been redirected with Composite */ in present_scmd_can_window_flip()
509 window_pixmap = screen->GetWindowPixmap(window); in present_scmd_can_window_flip()
515 /* Check for full-screen window */ in present_scmd_can_window_flip()
516 if (!RegionEqual(&window->clipList, &root->winSize)) { in present_scmd_can_window_flip()
520 /* Does the window match the pixmap exactly? */ in present_scmd_can_window_flip()
521 if (window->drawable.x != 0 || window->drawable.y != 0) { in present_scmd_can_window_flip()
541 WindowPtr window = vblank->window; in present_execute() local
542 ScreenPtr screen = window->drawable.pScreen; in present_execute()
548 if (vblank->flip && vblank->pixmap && vblank->window) { in present_execute()
564 if (vblank->pixmap && vblank->window) { in present_execute()
570 vblank->pixmap->drawable.id, vblank->window->drawable.id)); in present_execute()
583 /* Fix window pixmaps: in present_execute()
584 * 1) Restore previous flip window pixmap in present_execute()
585 * 2) Set current flip window pixmap to the new pixmap in present_execute()
587 if (screen_priv->flip_window && screen_priv->flip_window != window) in present_execute()
591 present_set_tree_pixmap(vblank->window, NULL, vblank->pixmap); in present_execute()
598 RegionIntersect(damage, damage, &window->clipList); in present_execute()
600 damage = &window->clipList; in present_execute()
602 DamageDamageRegion(&vblank->window->drawable, damage); in present_execute()
614 vblank, crtc_msc, vblank->pixmap->drawable.id, vblank->window->drawable.id)); in present_execute()
619 if (window == screen_priv->flip_pending->window) in present_execute()
625 if (window == screen_priv->flip_window) in present_execute()
634 &present_get_window_priv(window, TRUE)->vblank); in present_execute()
643 present_scmd_pixmap(WindowPtr window, in present_scmd_pixmap() argument
665 ScreenPtr screen = window->drawable.pScreen; in present_scmd_pixmap()
666 present_window_priv_ptr window_priv = present_get_window_priv(window, TRUE); in present_scmd_pixmap()
681 target_crtc = present_get_crtc(window); in present_scmd_pixmap()
686 target_msc = present_window_to_crtc_msc(window, target_crtc, window_msc, crtc_msc); in present_scmd_pixmap()
720 vblank->pixmap->drawable.id, vblank->window->drawable.id, in present_scmd_pixmap()
723 present_pixmap_idle(vblank->pixmap, vblank->window, vblank->serial, vblank->idle_fence); in present_scmd_pixmap()
735 vblank = present_vblank_create(window, in present_scmd_pixmap()
761 ret = present_queue_vblank(screen, window, target_crtc, vblank->event_id, vblank->exec_msc); in present_scmd_pixmap()
774 present_scmd_abort_vblank(ScreenPtr screen, WindowPtr window, RRCrtcPtr crtc, uint64_t event_id, ui… in present_scmd_abort_vblank() argument
809 /* Reset window pixmaps back to the screen pixmap */ in present_scmd_flip_destroy()