| /xsrc/external/mit/libXmu/dist/src/ |
| DrRndRect.c | 117 XRectangle rects[3]; local 160 rects[0].x = x + ew; 161 rects[0].y = y; 162 rects[0].width = w - ew2; 163 rects[0].height = h; 165 rects[1].x = x; 166 rects[1].y = y + eh; 167 rects[1].width = ew; 168 rects[1].height = h - eh2; 170 rects[2].x = x + w - ew [all...] |
| /xsrc/external/mit/x11perf/dist/ |
| do_rects.c | 27 static XRectangle *rects; variable 50 rects = malloc(p->objects * sizeof(XRectangle)); 64 rects[i].x = x; 65 rects[i].y = y; 66 rects[i].width = rects[i].height = size; 89 XFillRectangles(xp->d, xp->w, pgc, rects, p->objects); 102 XDrawRectangles (xp->d, xp->w, pgc, rects, p->objects); 114 free(rects);
|
| /xsrc/external/mit/mesa-demos/dist/src/redbook/ |
| tesswind.c | 61 static GLdouble rects[12][3] = local 94 gluTessVertex(tobj, rects[i], rects[i]); 98 gluTessVertex(tobj, rects[i], rects[i]); 102 gluTessVertex(tobj, rects[i], rects[i]); 111 gluTessVertex(tobj, rects[i], rects[i]); 115 gluTessVertex(tobj, rects[i], rects[i]) [all...] |
| /xsrc/external/mit/xf86-video-vmware/dist/vmwgfx/ |
| vmwgfx_ctrl.c | 215 struct drm_vmw_rect *rects; local 219 rects = calloc(number, sizeof(*rects)); 220 if (!rects) 224 rects[i].x = extents[i].x_org; 225 rects[i].y = extents[i].y_org; 226 rects[i].w = extents[i].width; 227 rects[i].h = extents[i].height; 231 ret = vmwgfx_update_gui_layout(ms->fd, number, rects); 233 free(rects); [all...] |
| vmwgfx_drmi.c | 90 struct drm_vmw_rect *rects, *r; local 95 rects = malloc(alloc_clips * sizeof(*rects)); 96 if (!rects) { 107 memset(rects, 0, alloc_clips * sizeof(*rects)); 111 arg.clips_ptr = (unsigned long) rects; 117 for (i = 0, r = rects; i < cur_clips; ++i, ++r, ++clips) { 143 free(rects); 158 struct drm_vmw_rect *rects, *r local [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/nv50/ |
| nv50_stateobj.h | 67 unsigned rects; member in struct:nv50_window_rect_stateobj
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/nvc0/ |
| nvc0_stateobj.h | 66 unsigned rects; member in struct:nvc0_window_rect_stateobj
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/nv50/ |
| nv50_stateobj.h | 67 unsigned rects; member in struct:nv50_window_rect_stateobj
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/nvc0/ |
| nvc0_stateobj.h | 66 unsigned rects; member in struct:nvc0_window_rect_stateobj
|
| /xsrc/external/mit/libXext/dist/src/ |
| XShape.c | 209 for (pr = xr, pb = r->rects, i = r->numRects; --i >= 0; pr++, pb++) { 239 XRectangle *rects, 265 Data16 (dpy, (short *) rects, nbytes); 445 XRectangle *rects; local 464 rects = NULL; 468 rects = Xmallocarray (rep.nrects, sizeof (XRectangle)); 471 rects = NULL; 473 if (!xrects || !rects) { 475 Xfree (rects); 477 rects = NULL [all...] |
| /xsrc/external/mit/libXfixes/dist/src/ |
| Region.c | 320 XRectangle *rects; local 346 rects = Xmalloc ((size_t) nrects * sizeof (XRectangle)); 350 rects = NULL; 353 if (!rects) 361 _XRead16 (dpy, (short *) rects, nread); 370 return rects;
|
| /xsrc/external/mit/libX11/dist/include/X11/ |
| Xregion.h | 78 BOX *rects; member in struct:_XRegion
|
| /xsrc/external/mit/libX11/dist/src/ |
| PolyReg.c | 394 * If indeed these things (POINTS, RECTS) are the same, 406 register BOX *rects; 412 BOX *prevRects = reg->rects; 418 if (!(reg->rects = Xreallocarray(reg->rects, numRects, sizeof(BOX)))) { 425 rects = reg->rects - 1; 437 if (numRects && pts->x == rects->x1 && pts->y == rects->y2 && 438 pts[1].x == rects->x2 & 401 register BOX *rects; local [all...] |
| /xsrc/external/mit/xorg-server/dist/fb/ |
| fbpixmap.c | 140 BoxPtr FirstRect, rects, prectLineStart; local 150 rects = FirstRect; 164 irectLineStart = rects - FirstRect; 198 ADDRECT(pReg, rects, FirstRect, 223 ADDRECT(pReg, rects, FirstRect, 234 ADDRECT(pReg, rects, FirstRect, 244 if (crects == ((rects - FirstRect) - irectLineStart)) { 263 rects -= crects;
|
| /xsrc/external/mit/xorg-server/dist/hw/xquartz/xpr/ |
| xprFrame.c | 93 xprDamageRects(RootlessFrameID wid, int nrects, const BoxRec *rects, 407 xprDamageRects(RootlessFrameID wid, int nrects, const BoxRec *rects, 410 xp_mark_window(x_cvt_vptr_to_uint(wid), nrects, rects, shift_x, shift_y); local
|
| /xsrc/external/mit/xorg-server/dist/test/damage/ |
| primitives.c | 310 struct xcb_rectangle_t rects[] = { {1, 2, 3, 4}, local 313 ARRAY_SIZE(rects), rects); 319 struct xcb_rectangle_t rects[] = { {1, 2, 3, 4}, local 322 ARRAY_SIZE(rects), rects);
|
| /xsrc/external/mit/xorg-server.old/dist/fb/ |
| fbpixmap.c | 150 BoxPtr FirstRect, rects, prectLineStart; local 160 rects = FirstRect; 175 irectLineStart = rects - FirstRect; 218 ADDRECT(pReg, rects, FirstRect, 249 ADDRECT(pReg, rects, FirstRect, 261 ADDRECT(pReg, rects, FirstRect, 272 if(crects == ((rects - FirstRect) - irectLineStart)) 295 rects -= crects;
|
| /xsrc/external/mit/xorg-server.old/dist/hw/xquartz/xpr/ |
| xprFrame.c | 82 static void xprDamageRects(RootlessFrameID wid, int nrects, const BoxRec *rects, 404 xprDamageRects(RootlessFrameID wid, int nrects, const BoxRec *rects, 409 xp_mark_window(x_cvt_vptr_to_uint(wid), nrects, rects, shift_x, shift_y); local
|
| /xsrc/external/mit/xgc/dist/ |
| tests.c | 255 XRectangle *rects; local 264 rects = (XRectangle *) malloc(sizeof(XRectangle) * num_rects); 267 rects[i].x = rects[i].y = 200 - i; 268 rects[i].width = rects[i].height = 2 * i; 269 perimeter += rects[i].width * 2 + rects[i].height * 2; 270 area += rects[i].width * rects[i].height [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeonsi/ |
| si_state_viewport.c | 628 struct pipe_scissor_state *rects = sctx->window_rectangles; local 650 radeon_emit(S_028210_TL_X(rects[i].minx) | S_028210_TL_Y(rects[i].miny)); 651 radeon_emit(S_028214_BR_X(rects[i].maxx) | S_028214_BR_Y(rects[i].maxy)); 658 const struct pipe_scissor_state *rects) 665 memcpy(sctx->window_rectangles, rects, sizeof(*rects) * num_rectangles);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/radeonsi/ |
| si_state_viewport.c | 552 struct pipe_scissor_state *rects = sctx->window_rectangles; local 572 radeon_emit(cs, S_028210_TL_X(rects[i].minx) | 573 S_028210_TL_Y(rects[i].miny)); 574 radeon_emit(cs, S_028214_BR_X(rects[i].maxx) | 575 S_028214_BR_Y(rects[i].maxy)); 582 const struct pipe_scissor_state *rects) 589 memcpy(sctx->window_rectangles, rects, 590 sizeof(*rects) * num_rectangles);
|
| /xsrc/external/mit/ctwm/dist/ |
| win_decorations.c | 1324 XRectangle rects [2]; local 1340 rects [0].x = x + width - thick; 1341 rects [0].y = y; 1342 rects [0].width = thick; 1343 rects [0].height = height; 1344 rects [1].x = x; 1345 rects [1].y = y + width - thick; 1346 rects [1].width = width - thick; 1347 rects [1].height = thick; 1348 XSetClipRectangles(dpy, Scr->BorderGC, 0, 0, rects, 2, Unsorted) [all...] |
| /xsrc/external/mit/libXft/dist/src/ |
| xftdraw.c | 938 _Xconst XRectangle *rects, 950 !memcmp (XftClipRects (draw->clip.rect), rects, (size_t)n * sizeof (XRectangle))) 965 memcpy (XftClipRects (new), rects, (size_t)n * sizeof (XRectangle)); local
|
| /xsrc/external/mit/xf86-video-intel/dist/src/sna/ |
| sna_tiling.c | 54 struct sna_composite_rectangles rects_embedded[16], *rects; member in struct:sna_tile_state 65 if (tile->rects == tile->rects_embedded) { 74 a = realloc(tile->rects, 80 tile->rects = a; 84 tile->rects[tile->rect_count++] = *r; 178 const struct sna_composite_rectangles *r = &tile->rects[n]; 270 if (tile->rects != tile->rects_embedded) 271 free(tile->rects); 315 tile->rects = tile->rects_embedded; 340 if (tile->rects == tile->rects_embedded) [all...] |
| /xsrc/external/mit/xf86-video-intel-2014/dist/src/sna/ |
| sna_tiling.c | 54 struct sna_composite_rectangles rects_embedded[16], *rects; member in struct:sna_tile_state 65 if (tile->rects == tile->rects_embedded) { 74 a = realloc(tile->rects, 80 tile->rects = a; 84 tile->rects[tile->rect_count++] = *r; 178 const struct sna_composite_rectangles *r = &tile->rects[n]; 270 if (tile->rects != tile->rects_embedded) 271 free(tile->rects); 315 tile->rects = tile->rects_embedded; 340 if (tile->rects == tile->rects_embedded) [all...] |