diff options
author | Michel Dänzer <michel@tungstengraphics.com> | 2007-02-02 17:41:18 +0100 |
---|---|---|
committer | Michel Dänzer <michel@tungstengraphics.com> | 2007-02-14 12:57:35 +0100 |
commit | 3bd8edb95fcbbb49e97a1a2bdd5c8eae4f83d3a8 (patch) | |
tree | c4336c7dbf79be082d846db28826b829ab8a4414 /configure.ac | |
parent | 1d22bad33b634aaf61976907cb2ceeec8a9ebe4d (diff) |
Revive i830 page flipping support.
Use the damage layer directly instead of via shadowfb.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index d45185ae..219fbe6a 100644 --- a/configure.ac +++ b/configure.ac @@ -94,6 +94,8 @@ if test "$DRI" != no; then [have_sarea_h="yes"], [have_sarea_h="no"]) AC_CHECK_FILE([${sdkdir}/dristruct.h], [have_dristruct_h="yes"], [have_dristruct_h="no"]) + AC_CHECK_FILE([${sdkdir}/damage.h], + [have_damage_h="yes"], [have_damage_h="no"]) fi AC_MSG_CHECKING([whether to include DRI support]) @@ -127,6 +129,9 @@ if test "$DRI" = yes; then if test "x$DRI_MM" = xyes; then AC_DEFINE(XF86DRI_MM,1,[Extended DRI memory management]) fi + if test "$have_damage_h" = yes; then + AC_DEFINE(DAMAGE,1,[Use Damage extension]) + fi fi AM_CONDITIONAL(VIDEO_DEBUG, test x$VIDEO_DEBUG = xyes) |