diff options
author | Keith Packard <keithp@keithp.com> | 2013-07-11 16:11:57 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-10-31 16:59:18 -0700 |
commit | 5c5c1b77982a9af7279a90bc3c2be48adaa9c778 (patch) | |
tree | 98dbaa447cea20b00708347d6805ba5da43cdc7e /mi/miinitext.c | |
parent | 563138298868f62501875d3016f03469dcffaad0 (diff) |
present: Add Present extension
Provides both a software implementation using timers and driver hooks
to base everything on vblank intervals.
Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'mi/miinitext.c')
-rw-r--r-- | mi/miinitext.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mi/miinitext.c b/mi/miinitext.c index e49948bb5..636618282 100644 --- a/mi/miinitext.c +++ b/mi/miinitext.c @@ -287,7 +287,10 @@ static ExtensionModule staticExtensions[] = { #ifdef DPMSExtension {DPMSExtensionInit, DPMSExtensionName, &noDPMSExtension}, #endif + {present_extension_init, PRESENT_NAME, NULL}, +#ifdef DRI3 {dri3_extension_init, DRI3_NAME, NULL}, +#endif #ifdef RES {ResExtensionInit, XRES_NAME, &noResExtension}, #endif |