diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2009-10-03 01:57:19 -0700 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2009-10-03 01:57:19 -0700 |
commit | d329cfd0e54952240e1d20b5b9643eaf331f61e5 (patch) | |
tree | bb92eb40adaed03693517e376b1972fb2dff7d99 /src/drmmode_display.c | |
parent | 2703dce7811fe6955b060c7e9f0c4b297f254ef4 (diff) |
DRI2: add OML and SGI_video_sync supportdri2-swapbuffers
Add hooks to support OML functionality and older SGI_video_sync
functionality. Requires a server with support for the new hooks.
Diffstat (limited to 'src/drmmode_display.c')
-rw-r--r-- | src/drmmode_display.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/drmmode_display.c b/src/drmmode_display.c index e982a701..f52a59aa 100644 --- a/src/drmmode_display.c +++ b/src/drmmode_display.c @@ -1098,10 +1098,9 @@ drmmode_xf86crtc_resize (ScrnInfoPtr scrn, int width, int height) } Bool -drmmode_do_pageflip(DrawablePtr pDraw, dri_bo *new_front, dri_bo *old_front, +drmmode_do_pageflip(ScreenPtr pScreen, dri_bo *new_front, dri_bo *old_front, void *data) { - ScreenPtr pScreen = pDraw->pScreen; ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum]; I830Ptr pI830 = I830PTR(pScrn); xf86CrtcConfigPtr config = XF86_CRTC_CONFIG_PTR(pScrn); @@ -1180,8 +1179,6 @@ drmmode_page_flip_handler(int fd, return; drmModeRmFB(drmmode->fd, drmmode->old_fb_id); - - DRI2SwapComplete(drmmode->swap_data); } static void |