Home
last modified time | relevance | path

Searched refs:nrects (Results 1 – 25 of 25) sorted by relevance

/OK3568_Linux_fs/external/xserver/Xext/
H A Dshape.c239 int nrects, ctype, rc; in ProcShapeRectangles() local
268 nrects = ((stuff->length << 2) - sizeof(xShapeRectanglesReq)); in ProcShapeRectangles()
269 if (nrects & 4) in ProcShapeRectangles()
271 nrects >>= 3; in ProcShapeRectangles()
273 ctype = VerifyRectOrder(nrects, prects, (int) stuff->ordering); in ProcShapeRectangles()
276 srcRgn = RegionFromRects(nrects, prects, ctype); in ProcShapeRectangles()
948 int nrects, i, rc; in ProcShapeGetRectangles() local
970 nrects = 1; in ProcShapeGetRectangles()
998 nrects = RegionNumRects(region); in ProcShapeGetRectangles()
1000 rects = xallocarray(nrects, sizeof(xRectangle)); in ProcShapeGetRectangles()
[all …]
H A DpanoramiXprocs.c1571 int result, nrects, i, j; in PanoramiXPolyRectangle() local
1595 nrects = (client->req_len << 2) - sizeof(xPolyRectangleReq); in PanoramiXPolyRectangle()
1596 if (nrects & 4) in PanoramiXPolyRectangle()
1598 nrects >>= 3; in PanoramiXPolyRectangle()
1599 if (nrects > 0) { in PanoramiXPolyRectangle()
1600 origRecs = xallocarray(nrects, sizeof(xRectangle)); in PanoramiXPolyRectangle()
1602 nrects * sizeof(xRectangle)); in PanoramiXPolyRectangle()
1606 memcpy(&stuff[1], origRecs, nrects * sizeof(xRectangle)); in PanoramiXPolyRectangle()
1615 for (i = nrects; i--; rects++) { in PanoramiXPolyRectangle()
H A DpanoramiX.c297 XineramaChangeClip(GCPtr pGC, int type, void *pvalue, int nrects) in XineramaChangeClip() argument
300 (*pGC->funcs->ChangeClip) (pGC, type, pvalue, nrects); in XineramaChangeClip()
/OK3568_Linux_fs/external/xserver/mi/
H A Dmipolyrect.c58 miPolyRectangle(DrawablePtr pDraw, GCPtr pGC, int nrects, xRectangle *pRects) in miPolyRectangle() argument
87 ntmp = (nrects << 2); in miPolyRectangle()
95 for (i = 0; i < nrects; i++) { in miPolyRectangle()
155 for (i = 0; i < nrects; i++) { in miPolyRectangle()
H A Dmigc.c62 miChangeClip(GCPtr pGC, int type, void *pvalue, int nrects) in miChangeClip() argument
75 pGC->clientClip = RegionFromRects(nrects, (xRectangle *) pvalue, type); in miChangeClip()
H A Dmigc.h42 int nrects);
/OK3568_Linux_fs/external/xserver/dix/
H A Dgc.c960 VerifyRectOrder(int nrects, xRectangle *prects, int ordering) in VerifyRectOrder() argument
969 if (nrects > 1) { in VerifyRectOrder()
971 i < nrects; i++, prectP++, prectN++) in VerifyRectOrder()
977 if (nrects > 1) { in VerifyRectOrder()
979 i < nrects; i++, prectP++, prectN++) in VerifyRectOrder()
986 if (nrects > 1) { in VerifyRectOrder()
988 i < nrects; i++, prectP++, prectN++) in VerifyRectOrder()
1002 SetClipRects(GCPtr pGC, int xOrigin, int yOrigin, int nrects, in SetClipRects() argument
1008 newct = VerifyRectOrder(nrects, prects, ordering); in SetClipRects()
1011 size = nrects * sizeof(xRectangle); in SetClipRects()
[all …]
H A Dregion.c1315 RegionFromRects(int nrects, xRectangle *prect, int ctype) in RegionFromRects() argument
1328 if (!nrects) in RegionFromRects()
1330 if (nrects == 1) { in RegionFromRects()
1346 rgnSize = RegionSizeof(nrects); in RegionFromRects()
1353 for (i = nrects; --i >= 0; prect++) { in RegionFromRects()
1369 pData->size = nrects; in RegionFromRects()
H A Ddispatch.c1848 int nrects; in ProcPolyRectangle() local
1856 nrects = (client->req_len << 2) - sizeof(xPolyRectangleReq); in ProcPolyRectangle()
1857 if (nrects & 4) in ProcPolyRectangle()
1859 nrects >>= 3; in ProcPolyRectangle()
1860 if (nrects) in ProcPolyRectangle()
1862 nrects, (xRectangle *) &stuff[1]); in ProcPolyRectangle()
/OK3568_Linux_fs/external/xserver/hw/xfree86/dri/
H A Ddri.c1297 pDRIDrawablePriv->nrects = RegionNumRects(&pWin->clipList); in DRICreateDrawable()
1304 if (pDRIDrawablePriv->nrects) in DRICreateDrawable()
1354 if (pDRIDrawablePriv->nrects) in DRIDrawablePrivDestroy()
2100 int nrects = RegionNumRects(&pWin->clipList); in DRIClipNotify() local
2107 if (nrects && !pDRIDrawablePriv->nrects) in DRIClipNotify()
2109 else if (!nrects && pDRIDrawablePriv->nrects) in DRIClipNotify()
2114 pDRIDrawablePriv->nrects = nrects; in DRIClipNotify()
2121 nrects, RegionRects(&pWin->clipList)); in DRIClipNotify()
H A Ddristruct.h50 int nrects; member
/OK3568_Linux_fs/external/xserver/hw/xquartz/xpr/
H A DxprFrame.c97 xprDamageRects(RootlessFrameID wid, int nrects, const BoxRec *rects,
421 xprDamageRects(RootlessFrameID wid, int nrects, const BoxRec *rects, in xprDamageRects() argument
424 xp_mark_window(x_cvt_vptr_to_uint(wid), nrects, rects, shift_x, shift_y); in xprDamageRects()
/OK3568_Linux_fs/external/xserver/hw/dmx/
H A Ddmxgc.h58 extern void dmxChangeClip(GCPtr pGC, int type, void *pvalue, int nrects);
H A Ddmxgc.c381 dmxChangeClip(GCPtr pGC, int type, void *pvalue, int nrects) in dmxChangeClip() argument
391 pGC->funcs->ChangeClip(pGC, type, pvalue, nrects); in dmxChangeClip()
H A Ddmxgcops.h62 int nrects, xRectangle *pRects);
H A Ddmxgcops.c293 int nrects, xRectangle *pRects) in dmxPolyRectangle() argument
305 (XRectangle *) pRects, nrects); in dmxPolyRectangle()
/OK3568_Linux_fs/external/xserver/include/
H A Dgcstruct.h82 int nrects);
/OK3568_Linux_fs/external/xserver/miext/rootless/
H A Drootless.h225 (RootlessFrameID wid, int nrects, const BoxRec * rects,
H A DREADME.txt286 * nrects Number of damaged rectangles
292 (RootlessFrameID wid, int nrects, const BoxRec *rects,
H A DrootlessGC.c58 static void RootlessChangeClip(GCPtr pGC, int type, void *pvalue, int nrects);
371 RootlessChangeClip(GCPtr pGC, int type, void *pvalue, int nrects) in RootlessChangeClip() argument
374 pGC->funcs->ChangeClip(pGC, type, pvalue, nrects); in RootlessChangeClip()
/OK3568_Linux_fs/external/xserver/hw/xfree86/drivers/modesetting/
H A Ddriver.c1278 int nrects; in msUpdatePacked() local
1286 nrects = (tx2 - tx1) * (ty2 - ty1); in msUpdatePacked()
1287 if (!(prect = calloc(nrects, sizeof(xRectangle)))) in msUpdatePacked()
1290 nrects = 0; in msUpdatePacked()
1301 if (msUpdateIntersect(ms, pBuf, &box, prect + nrects)) { in msUpdatePacked()
1302 nrects++; in msUpdatePacked()
1308 tiles = RegionFromRects(nrects, prect, CT_NONE); in msUpdatePacked()
/OK3568_Linux_fs/external/xserver/exa/
H A Dexa.c478 exaChangeClip(GCPtr pGC, int type, void *pvalue, int nrects);
565 exaChangeClip(GCPtr pGC, int type, void *pvalue, int nrects) in exaChangeClip() argument
569 (*pGC->funcs->ChangeClip) (pGC, type, pvalue, nrects); in exaChangeClip()
/OK3568_Linux_fs/external/xserver/hw/xfree86/common/
H A Dxf86VGAarbiterPriv.h200 int nrects);
H A Dxf86VGAarbiter.c587 VGAarbiterChangeClip(GCPtr pGC, int type, void *pvalue, int nrects) in VGAarbiterChangeClip() argument
590 (*pGC->funcs->ChangeClip) (pGC, type, pvalue, nrects); in VGAarbiterChangeClip()
/OK3568_Linux_fs/external/xserver/miext/damage/
H A Ddamage.c415 damageChangeClip(GCPtr pGC, int type, void *pvalue, int nrects) in damageChangeClip() argument
418 (*pGC->funcs->ChangeClip) (pGC, type, pvalue, nrects); in damageChangeClip()