diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-11-15 11:06:04 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-11-16 22:14:15 +0000 |
commit | 78d4e99fc916e6477edb01c6f24b69ad73adc552 (patch) | |
tree | 276cdf30300ee11d0d3ad669e2091391cd77bbd8 /src/sna/sna.h | |
parent | aac022cbb3342e7027301a3f8c9add8929edbad6 (diff) |
sna: And keep unity happy
Rewrite the DRI layer to avoid the various bugs and shortcomings of the
Xserver and interfacing with mesa.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=38732
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=39044
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna.h')
-rw-r--r-- | src/sna/sna.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/sna/sna.h b/src/sna/sna.h index 52142cb9..573fe0eb 100644 --- a/src/sna/sna.h +++ b/src/sna/sna.h @@ -305,15 +305,15 @@ extern void sna_mode_fini(struct sna *sna); extern int sna_crtc_id(xf86CrtcPtr crtc); extern int sna_output_dpms_status(xf86OutputPtr output); -extern int sna_do_pageflip(struct sna *sna, - PixmapPtr pixmap, - void *data, - int ref_crtc_hw_id, - uint32_t *old_fb); +extern int sna_page_flip(struct sna *sna, + struct kgem_bo *bo, + void *data, + int ref_crtc_hw_id, + uint32_t *old_fb); extern PixmapPtr sna_set_screen_pixmap(struct sna *sna, PixmapPtr pixmap); -void sna_mode_delete_fb(struct sna *sna, PixmapPtr pixmap, uint32_t fb); +void sna_mode_delete_fb(struct sna *sna, uint32_t fb); static inline struct sna * to_sna(ScrnInfoPtr scrn) |