Source-Changes archive

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

CVS commit: [netbsd-7] xsrc/external/mit/xorg-server/dist



Module Name:    xsrc
Committed By:   snj
Date:           Mon Mar  9 08:38:43 UTC 2015

Modified Files:
        xsrc/external/mit/xorg-server/dist/exa [netbsd-7]: exa_unaccel.c
        xsrc/external/mit/xorg-server/dist/glx [netbsd-7]: glxdri.c
        xsrc/external/mit/xorg-server/dist/include [netbsd-7]: regionstr.h

Log Message:
Pull up following revision(s) (requested by mrg in ticket #575):
        external/mit/xorg-server/dist/exa/exa_unaccel.c: revision 1.3
        external/mit/xorg-server/dist/glx/glxdri.c: revision 1.6
        external/mit/xorg-server/dist/include/regionstr.h: revision 1.5
port a change back from newer xorg-server, which is needed
for xf86-video-ati 7.x.
http://lists.x.org/archives/xorg-devel/2011-March/020990.html
commit 43e47433cf55c98db5308a51c1c514c59901f598
Author: Soren Sandmann Pedersen <ssp at redhat.com>
Date:   Tue Mar 29 13:06:36 2011 -0400
    Add RegionInitBoxes(), and fix some buggy callers of RegionInit().
    The interface to RegionInit():
        RegionInit (RegionPtr pReg, BoxPtr rect, int size);
    is very confusing because it doesn't take a list of boxes, it takes
    *one* box, but if that box is NULL, it initializes an empty region
    with 'size' rectangles preallocated.
    Most callers of this function were correctly passing either NULL or
    just one box, but there were three confused cases, where the code
    seems to expect a region to be created from a list of boxes.
    This patch adds a new function RegionInitBoxes() and fixes those
    instances to call that instead.
    And yes, the pixman function to initialize a region from a list of
    boxes is called init_rects() because pixman is also awesome.
    V2: Make RegionInitBoxes() return a Bool indicating whether the call
        succeeded, and fix the callers to check this return value.
    Signed-off-by: Soren Sandmann <ssp at redhat.com>


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.2.4.1 \
    xsrc/external/mit/xorg-server/dist/exa/exa_unaccel.c
cvs rdiff -u -r1.5 -r1.5.10.1 xsrc/external/mit/xorg-server/dist/glx/glxdri.c
cvs rdiff -u -r1.1.1.3.10.1 -r1.1.1.3.10.2 \
    xsrc/external/mit/xorg-server/dist/include/regionstr.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index