summaryrefslogtreecommitdiff
path: root/src/sna/sna.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-10-22 22:35:17 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2012-10-22 22:35:17 +0100
commit5c3ea9cf6900855502fcd56214a1b9e180265ff5 (patch)
tree9ecf367bb71faaf336f0fcd63e3d9ebb39dbb849 /src/sna/sna.h
parent4dfc83359d006a4e410e3280003b49683309afc3 (diff)
sna: Update DRI buffer if attached to the framebuffer for TearFree flips
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna.h')
-rw-r--r--src/sna/sna.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sna/sna.h b/src/sna/sna.h
index dc18fee1..d44dfeb5 100644
--- a/src/sna/sna.h
+++ b/src/sna/sna.h
@@ -368,6 +368,7 @@ static inline void sna_dri_vblank_handler(struct sna *sna, struct drm_event_vbla
static inline void sna_dri_destroy_window(WindowPtr win) { }
static inline void sna_dri_close(struct sna *sna, ScreenPtr pScreen) { }
#endif
+void sna_dri_pixmap_update_bo(struct sna *sna, PixmapPtr pixmap);
extern int sna_crtc_to_pipe(xf86CrtcPtr crtc);
extern int sna_crtc_to_plane(xf86CrtcPtr crtc);