[PATCH 0/3] dix: more lookup function consolidation, macro removal

Eamon Walsh ewalsh at tycho.nsa.gov
Mon Jan 29 16:02:21 PST 2007


A few more patches continuing the work mentioned here:
http://lists.freedesktop.org/archives/xorg/2006-December/020587.html

Patch 1: moves old functions to a separate file, dix/deprecated.c.

Patch 2: consolidates four resource lookup functions into a single one, 
dixLookupResource().

Patch 3: removes the VALIDATE_DRAWABLE_AND_GC macro, replacing it with a 
function.  Someone familiar with the Double Buffer Extension should 
review this patch.  I could find no evidence that the NEED_DBE_BUF_BITS 
macro is set in any current build configuration (there is no way to set 
it in the build system), so I removed a bunch of stuff conditional on it.

For brevity, these patches don't include changing all the callers over 
to the new functions and updating the DIX documentation, which will be done.


-- 

Eamon Walsh <ewalsh at tycho.nsa.gov>
National Security Agency




More information about the xorg mailing list