diff options
Diffstat (limited to 'src/sna/sna_present.c')
-rw-r--r-- | src/sna/sna_present.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/sna/sna_present.c b/src/sna/sna_present.c index d6638db3..1992b9b1 100644 --- a/src/sna/sna_present.c +++ b/src/sna/sna_present.c @@ -339,14 +339,6 @@ sna_present_abort_vblank(RRCrtcPtr crtc, uint64_t event_id, uint64_t msc) static void sna_present_flush(WindowPtr window) { - PixmapPtr pixmap = get_window_pixmap(window); - struct sna_pixmap *priv; - - DBG(("%s(pixmap=%ld)\n", __FUNCTION__, pixmap->drawable.serialNumber)); - - priv = sna_pixmap_move_to_gpu(pixmap, MOVE_READ | MOVE_ASYNC_HINT | __MOVE_FORCE); - if (priv && priv->gpu_bo) - kgem_scanout_flush(&to_sna_from_pixmap(pixmap)->kgem, priv->gpu_bo); } static bool |