summaryrefslogtreecommitdiff
path: root/src/uxa/intel_driver.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-11-19 15:20:44 -0800
committerChris Wilson <chris@chris-wilson.co.uk>2014-06-02 08:32:11 +0100
commitff36e1f7546e0ac4d6e831e5cf8d1317792ed7af (patch)
tree0080bbe560a7e5fd2bbea66d479c010b9f465ae5 /src/uxa/intel_driver.c
parent14ff08c2827d36f7f08256dc57b84aaf80d17ab4 (diff)
uxa: Add Present extension support
Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Eric Anholt <eric@anholt.net> Conflicts: configure.ac src/uxa/intel.h src/uxa/intel_driver.c
Diffstat (limited to 'src/uxa/intel_driver.c')
-rw-r--r--src/uxa/intel_driver.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/uxa/intel_driver.c b/src/uxa/intel_driver.c
index 9e21742b..1952dcc4 100644
--- a/src/uxa/intel_driver.c
+++ b/src/uxa/intel_driver.c
@@ -877,6 +877,7 @@ I830ScreenInit(SCREEN_INIT_ARGS_DECL)
*/
intel->XvEnabled = TRUE;
+ if (!intel_init_initial_framebuffer(scrn))
return FALSE;
intel_batch_init(scrn);
@@ -936,6 +937,9 @@ I830ScreenInit(SCREEN_INIT_ARGS_DECL)
intel->dri3 = DRI_ACTIVE;
#endif
+ if (xf86ReturnOptValBool(intel->Options, OPTION_PRESENT, TRUE))
+ intel_present_screen_init(screen);
+
xf86SetBackingStore(screen);
xf86SetSilkenMouse(screen);
miDCInitialize(screen, xf86GetPointerScreenFuncs());