From 4c61bf84b11e26e6f22648668c95ea760a379163 Mon Sep 17 00:00:00 2001 From: marha Date: Fri, 11 Jun 2010 12:14:52 +0000 Subject: xserver git update 11/6/2010 --- xorg-server/doc/xml/Xserver-spec.xml | 40 ++++++++++++++++++------------------ 1 file changed, 20 insertions(+), 20 deletions(-) (limited to 'xorg-server/doc') diff --git a/xorg-server/doc/xml/Xserver-spec.xml b/xorg-server/doc/xml/Xserver-spec.xml index 022023f5e..7249d4267 100644 --- a/xorg-server/doc/xml/Xserver-spec.xml +++ b/xorg-server/doc/xml/Xserver-spec.xml @@ -2101,7 +2101,7 @@ Making direct calls is faster on many architectures. BoxPtr rect; int size; - macro: RegionPtr REGION_CREATE(pScreen, rect, size) + macro: RegionPtr RegionCreate(rect, size) RegionCreate creates a region that describes ONE rectangle. The @@ -2122,7 +2122,7 @@ applicable. BoxPtr rect; int size; - macro: REGION_INIT(pScreen, pRegion, rect, size) + macro: RegionInit(pRegion, rect, size) Given an existing raw region structure (such as an local variable), this @@ -2136,7 +2136,7 @@ allocation overhead for the region structure itself. Bool pScreen->RegionCopy(dstrgn, srcrgn) RegionPtr dstrgn, srcrgn; - macro: Bool REGION_COPY(pScreen, dstrgn, srcrgn) + macro: Bool RegionCopy(dstrgn, srcrgn) RegionCopy copies the description of one region, srcrgn, to another @@ -2148,7 +2148,7 @@ dstrgn; returning TRUE if the copy succeeded, and FALSE otherwise. void pScreen->RegionDestroy( pRegion) RegionPtr pRegion; - macro: REGION_DESTROY(pScreen, pRegion) + macro: RegionDestroy(pRegion) RegionDestroy destroys a region and frees all allocated memory. @@ -2158,7 +2158,7 @@ RegionDestroy destroys a region and frees all allocated memory. void pScreen->RegionUninit (pRegion) RegionPtr pRegion; - macro: REGION_UNINIT(pScreen, pRegion) + macro: RegionUninit(pRegion) Frees everything except the region structure itself, useful when the @@ -2171,23 +2171,23 @@ it has been RegionInit'ed again. Bool pScreen->Intersect(newReg, reg1, reg2) RegionPtr newReg, reg1, reg2; - macro: Bool REGION_INTERSECT(pScreen, newReg, reg1, reg2) + macro: Bool RegionIntersect(newReg, reg1, reg2) Bool pScreen->Union(newReg, reg1, reg2) RegionPtr newReg, reg1, reg2; - macro: Bool REGION_UNION(pScreen, newReg, reg1, reg2) + macro: Bool RegionUnion(newReg, reg1, reg2) Bool pScreen->Subtract(newReg, regMinuend, regSubtrahend) RegionPtr newReg, regMinuend, regSubtrahend; - macro: Bool REGION_UNION(pScreen, newReg, regMinuend, regSubtrahend) + macro: Bool RegionUnion(newReg, regMinuend, regSubtrahend) Bool pScreen->Inverse(newReg, pReg, pBox) RegionPtr newReg, pReg; BoxPtr pBox; - macro: Bool REGION_INVERSE(pScreen, newReg, pReg, pBox) + macro: Bool RegionInverse(newReg, pReg, pBox) The above four calls all do basic logical operations on regions. They @@ -2213,7 +2213,7 @@ Each routine must return the value TRUE for success. RegionPtr pRegion; BoxPtr pBox; - macro: REGION_RESET(pScreen, pRegion, pBox) + macro: RegionReset(pRegion, pBox) RegionReset sets the region to describe @@ -2225,7 +2225,7 @@ one rectangle and reallocates it to a size of one rectangle, if applicable. TranslateRegion simply moves a region +x in the x direction and +y in the y @@ -2237,7 +2237,7 @@ direction. RegionPtr pRegion; BoxPtr pBox; - macro: int RECT_IN_REGION(pScreen, pRegion, pBox) + macro: int RegionContainsRect(pRegion, pBox) RectIn returns one of the defined constants rgnIN, rgnOUT, or rgnPART, @@ -2252,7 +2252,7 @@ These constants are defined in Xserver/include/region.h. int x, y; BoxPtr pBox; - macro: Bool POINT_IN_REGION(pScreen, pRegion, x, y, pBox) + macro: Bool RegionContainsPoint(pRegion, x, y, pBox) PointInRegion returns true if the point x, y is in the region. In @@ -2275,7 +2275,7 @@ returned box. Bool pScreen->RegionNotEmpty(pRegion) RegionPtr pRegion; - macro: Bool REGION_NOTEMPTY(pScreen, pRegion) + macro: Bool RegionNotEmpty(pRegion) RegionNotEmpty is a boolean function that returns @@ -2286,7 +2286,7 @@ true or false depending upon whether the region encloses any pixels. void pScreen->RegionEmpty(pRegion) RegionPtr pRegion; - macro: REGION_EMPTY(pScreen, pRegion) + macro: RegionEmpty(pRegion) RegionEmpty sets the region to be empty. @@ -2296,7 +2296,7 @@ RegionEmpty sets the region to be empty. BoxPtr pScreen->RegionExtents(pRegion) RegionPtr pRegion; - macro: REGION_EXTENTS(pScreen, pRegion) + macro: RegionExtents(pRegion) RegionExtents returns a rectangle that is the smallest @@ -2310,13 +2310,13 @@ in your region struct. RegionPtr pDstRgn; RegionPtr pRegion; - macro: Bool REGION_APPEND(pScreen, pDstRgn, pRegion) + macro: Bool RegionAppend(pDstRgn, pRegion) Bool pScreen->RegionValidate (pRegion, pOverlap) RegionPtr pRegion; Bool *pOverlap; - macro: Bool REGION_VALIDATE(pScreen, pRegion, pOverlap) + macro: Bool RegionValidate(pRegion, pOverlap) These functions provide an optimization for clip list generation and @@ -2332,7 +2332,7 @@ regions overlap; FALSE otherwise. RegionPtr pScreen->BitmapToRegion (pPixmap) PixmapPtr pPixmap; - macro: RegionPtr BITMAP_TO_REGION(pScreen, pPixmap) + macro: RegionPtr BitmapToRegion(pScreen, pPixmap) Given a depth-1 pixmap, this routine must create a valid region which @@ -2346,7 +2346,7 @@ areas filled with 0's. This routine returns NULL if out of memory. xRectangle *pRects; int ordering; - macro: RegionPtr RECTS_TO_REGION(pScreen, nrects, pRects, ordering) + macro: RegionPtr RegionFromRects(nrects, pRects, ordering) Given a client-supplied list of rectangles, produces a region which includes -- cgit v1.2.3