Home
last modified time | relevance | path

Searched refs:nRects (Results 1 – 11 of 11) sorted by relevance

/OK3568_Linux_fs/external/xserver/hw/xnest/
H A DGC.c191 xnestChangeClip(GCPtr pGC, int type, void *pValue, int nRects) in xnestChangeClip() argument
206 nRects = RegionNumRects((RegionPtr) pValue); in xnestChangeClip()
207 pRects = xallocarray(nRects, sizeof(*pRects)); in xnestChangeClip()
209 for (i = nRects; i-- > 0;) { in xnestChangeClip()
216 pRects, nRects, Unsorted); in xnestChangeClip()
235 (XRectangle *) pValue, nRects, Unsorted); in xnestChangeClip()
241 (XRectangle *) pValue, nRects, YSorted); in xnestChangeClip()
247 (XRectangle *) pValue, nRects, YXSorted); in xnestChangeClip()
253 (XRectangle *) pValue, nRects, YXBanded); in xnestChangeClip()
266 pGC->clientClip = RegionFromRects(nRects, (xRectangle *) pValue, type); in xnestChangeClip()
H A DXNGC.h38 void xnestChangeClip(GCPtr pGC, int type, void *pValue, int nRects);
/OK3568_Linux_fs/external/xserver/hw/xwin/
H A Dwinmultiwindowshape.c85 int nRects; in winReshapeMultiWindow() local
122 nRects = RegionNumRects(&rrNewShape); in winReshapeMultiWindow()
126 if (nRects > 0) { in winReshapeMultiWindow()
163 for (pRects = pShape, pEnd = pShape + nRects; pRects < pEnd; pRects++) { in winReshapeMultiWindow()
H A Dwinwindow.c316 int nRects; in winReshapeRootless() local
349 nRects = RegionNumRects(&rrNewShape); in winReshapeRootless()
352 if (nRects > 0) { in winReshapeRootless()
357 for (pRects = pShape, pEnd = pShape + nRects; pRects < pEnd; pRects++) { in winReshapeRootless()
H A Dwinwin32rootless.c137 int nRects; in winMWExtWMCreateRgnFromRegion() local
144 nRects = RegionNumRects(pShape); in winMWExtWMCreateRgnFromRegion()
154 for (pEnd = pRects + nRects; pRects < pEnd; pRects++) { in winMWExtWMCreateRgnFromRegion()
/OK3568_Linux_fs/external/xserver/Xext/
H A Dxace.c237 int nRects; in XaceCensorImage() local
248 nRects = RegionNumRects(&censorRegion); in XaceCensorImage()
249 if (nRects > 0) { /* we have something to censor */ in XaceCensorImage()
261 pRects = malloc(nRects * sizeof(xRectangle)); in XaceCensorImage()
266 for (pBox = RegionRects(&censorRegion), i = 0; i < nRects; i++, pBox++) { in XaceCensorImage()
296 pScratchGC, nRects, pRects); in XaceCensorImage()
/OK3568_Linux_fs/external/xserver/hw/dmx/
H A Ddmxgc.c388 int i, nRects; in dmxChangeClip() local
399 nRects = RegionNumRects((RegionPtr) pGC->clientClip); in dmxChangeClip()
400 pRects = xallocarray(nRects, sizeof(*pRects)); in dmxChangeClip()
403 for (i = 0; i < nRects; i++) { in dmxChangeClip()
412 pRects, nRects, Unsorted); in dmxChangeClip()
H A Ddmxpict.c927 int nRects; in dmxChangePictureClip() local
929 nRects = nBox; in dmxChangePictureClip()
930 pRects = pRect = xallocarray(nRects, sizeof(*pRect)); in dmxChangePictureClip()
943 0, 0, pRects, nRects); in dmxChangePictureClip()
/OK3568_Linux_fs/external/xserver/miext/rootless/
H A DrootlessGC.c97 int nRects, xRectangle *pRects);
883 int nRects, xRectangle *pRects) in RootlessPolyRectangle() argument
889 pGC->ops->PolyRectangle(dst, pGC, nRects, pRects); in RootlessPolyRectangle()
891 if (nRects > 0) { in RootlessPolyRectangle()
901 while (nRects--) { in RootlessPolyRectangle()
1084 int nRects = nRectsInit; in RootlessPolyFillRect() local
1091 while (--nRects) { in RootlessPolyFillRect()
/OK3568_Linux_fs/external/xserver/miext/damage/
H A Ddamage.c1030 GCPtr pGC, int nRects, xRectangle *pRects) in damagePolyRectangle() argument
1034 if (nRects && checkGCDamage(pDrawable, pGC)) { in damagePolyRectangle()
1037 int nRectsTmp = nRects; in damagePolyRectangle()
1082 (*pGC->ops->PolyRectangle) (pDrawable, pGC, nRects, pRects); in damagePolyRectangle()
1195 GCPtr pGC, int nRects, xRectangle *pRects) in damagePolyFillRect() argument
1198 if (nRects && checkGCDamage(pDrawable, pGC)) { in damagePolyFillRect()
1201 int nRectsTmp = nRects; in damagePolyFillRect()
1224 (*pGC->ops->PolyFillRect) (pDrawable, pGC, nRects, pRects); in damagePolyFillRect()
/OK3568_Linux_fs/external/xserver/hw/xquartz/xpr/
H A DdriWrap.c291 int nRects, xRectangle *pRects) in DRIPolyRectangle() argument
299 pGC->ops->PolyRectangle(dst, pGC, nRects, pRects); in DRIPolyRectangle()