[PATCH] xserver: remove PIXPRIV tests

Eamon Walsh ewalsh at tycho.nsa.gov
Tue Mar 6 17:28:14 PST 2007


Daniel Stone wrote:
> On Tue, Mar 06, 2007 at 04:20:22PM -0800, Eric Anholt wrote:
>   
>> On Tue, 2007-03-06 at 19:04 -0500, Eamon Walsh wrote:
>>     
>>> PIXPRIV has been hardwired to 1 since at least 1 Jul 2005 ("Adding initial build system").
>>>
>>> Patch for master.
>>>       
>> I'm in favor of this.
>>     
>
> Huzzah for the shopkeep!
>   

Patch applied, +1 missed occurrence.

PIXPRIV remains in the build system; nothing under driver/ refers to it but
I guess in theory some external driver might.  The below patch would 
fully remove it.

---
 configure.ac             |    1 -
 include/dix-config.h.in  |    3 ---
 include/xorg-config.h.in |    3 ---
 include/xorg-server.h.in |    3 ---
 4 files changed, 0 insertions(+), 10 deletions(-)

diff --git a/configure.ac b/configure.ac
index fe77709..028483a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -973,7 +973,6 @@ AC_DEFINE(XTEST, 1, [Support XTest extension])
 AC_DEFINE(XSYNC, 1, [Support XSync extension])
 AC_DEFINE(XCMISC, 1, [Support XCMisc extension])
 AC_DEFINE(BIGREQS, 1, [Support BigRequests extension])
-AC_DEFINE(PIXPRIV, 1, [Support pixmap privates])
 
 if test "x$WDTRACE" != "xno" ; then
   DIX_LIB='$(top_builddir)/dix/dix.O'
diff --git a/include/dix-config.h.in b/include/dix-config.h.in
index 62e109b..e8617f2 100644
--- a/include/dix-config.h.in
+++ b/include/dix-config.h.in
@@ -258,9 +258,6 @@
 /* Internal define for Xinerama */
 #undef PANORAMIX
 
-/* Support pixmap privates */
-#undef PIXPRIV
-
 /* Overall prefix */
 #undef PROJECTROOT
 
diff --git a/include/xorg-config.h.in b/include/xorg-config.h.in
index b9643a2..97d53a2 100644
--- a/include/xorg-config.h.in
+++ b/include/xorg-config.h.in
@@ -57,9 +57,6 @@
 /* Solaris 8 or later? */
 #undef __SOL8__
 
-/* Whether to use pixmap privates */
-#undef PIXPRIV
-
 /* Define to 1 if you have the `walkcontext' function (used on Solaris for
    xorg_backtrace in hw/xfree86/common/xf86Events.c */
 #undef HAVE_WALKCONTEXT
diff --git a/include/xorg-server.h.in b/include/xorg-server.h.in
index 7b2a4d1..5ef622c 100644
--- a/include/xorg-server.h.in
+++ b/include/xorg-server.h.in
@@ -70,9 +70,6 @@
 /* Internal define for Xinerama */
 #undef PANORAMIX
 
-/* Support pixmap privates */
-#undef PIXPRIV
-
 /* Support RANDR extension */
 #undef RANDR
 
-- 1.4.4.2




More information about the xorg mailing list