Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/mit/xorg/server/drivers/xf86-video-intel Enable Tea...



details:   https://anonhg.NetBSD.org/src/rev/b086ab4ea4f4
branches:  trunk
changeset: 450414:b086ab4ea4f4
user:      maya <maya%NetBSD.org@localhost>
date:      Sat Apr 13 09:29:49 2019 +0000

description:
Enable TearFree by default.

This avoids visual corruption that can be induced by, e.g.,
env LIBGL_ALWAYS_SOFTWARE=1 glmark2.

diffstat:

 external/mit/xorg/server/drivers/xf86-video-intel/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 2b4306142e42 -r b086ab4ea4f4 external/mit/xorg/server/drivers/xf86-video-intel/Makefile
--- a/external/mit/xorg/server/drivers/xf86-video-intel/Makefile        Sat Apr 13 08:41:36 2019 +0000
+++ b/external/mit/xorg/server/drivers/xf86-video-intel/Makefile        Sat Apr 13 09:29:49 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.30 2019/03/20 07:18:07 mrg Exp $
+#      $NetBSD: Makefile,v 1.31 2019/04/13 09:29:49 maya Exp $
 
 .include <bsd.own.mk>
 
@@ -179,6 +179,8 @@
 CPPFLAGS+=     -DUSE_BACKLIGHT=1
 CPPFLAGS+=     -DUSE_SNA=1
 CPPFLAGS+=     -DUSE_UXA=1
+# XXX without this we get visual corruption, but it doesn't seem to be tearing
+CPPFLAGS+=     -DTEARFREE
 
 # XXX This should not be hard-coded here...
 DRI_DRIVER_PATH=       /usr/X11R7/lib/modules/dri



Home | Main Index | Thread Index | Old Index