HomeSort by: relevance | last modified time | path
    Searched refs:rects (Results 1 - 25 of 201) sorted by relevancy

1 2 3 4 5 6 7 8 9

  /xsrc/external/mit/xorg-server/dist/render/
mirect.c 40 int nRect, xRectangle *rects, int xoff, int yoff)
73 rects[i].x -= xoff;
74 rects[i].y -= yoff;
77 (*pGC->ops->PolyFillRect) (pDst->pDrawable, pGC, nRect, rects);
82 rects[i].x += xoff;
83 rects[i].y += yoff;
92 xRenderColor * color, int nRect, xRectangle *rects)
102 miColorRects(pDst, pDst, color, nRect, rects, 0, 0);
105 color, nRect, rects,
115 rects->x, rects->y
    [all...]
  /xsrc/external/mit/xorg-server.old/dist/render/
mirect.c 41 xRectangle *rects,
79 rects[i].x -= xoff;
80 rects[i].y -= yoff;
83 (*pGC->ops->PolyFillRect) (pDst->pDrawable, pGC, nRect, rects);
89 rects[i].x += xoff;
90 rects[i].y += yoff;
101 xRectangle *rects)
115 miColorRects (pDst, pDst, color, nRect, rects, 0, 0);
118 color, nRect, rects,
169 rects->x
    [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/libX11/dist/src/
DrRects.c 37 XRectangle *rects,
58 Data16 (dpy, (short *) rects, len);
60 rects += n;
SetClMask.c 42 gc->rects = 0;
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...]
Region.c 145 if (! (temp->rects = Xmalloc(sizeof( BOX )))) {
179 region.rects = &region.extents;
223 pBox = pReg->rects;
268 for (pr = xr, pb = r->rects, i = r->numRects; --i >= 0; pr++, pb++) {
288 Xfree( (char *) r->rects );
308 pbox = pRegion->rects;
437 pNextRect = &pReg->rects[pReg->numRects];
455 MEMCHECK(pReg, pNextRect, pReg->rects);
522 if (dstrgn->rects)
524 BOX *prevRects = dstrgn->rects;
    [all...]
  /xsrc/external/mit/MesaLib/dist/include/EGL/
eglmesaext.h 38 typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSREGIONNOK) (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint* rects);
  /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/xorg-server/dist/glamor/
glamor_compositerects.c 52 xRectangle *rects,
66 boxes[j].x1 = rects[i].x + tx;
70 boxes[j].y1 = rects[i].y + ty;
74 boxes[j].x2 = bound(rects[i].x + tx, rects[i].width);
78 boxes[j].y2 = bound(rects[i].y + ty, rects[i].height);
104 int num_rects, xRectangle *rects)
120 num_rects, rects[0].x, rects[0].y, rects[0].width, rects[0].height)
    [all...]
  /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/MesaLib.old/dist/src/egl/drivers/dri2/
egl_dri2_fallbacks.h 62 const EGLint *rects, EGLint n_rects)
65 dri2_dpy->vtbl->set_damage_region(drv, disp, surf, rects, n_rects);
72 EGLint numRects, const EGLint *rects)
96 const EGLint *rects, EGLint n_rects)
  /xsrc/external/mit/MesaLib/dist/src/imgui/
imstb_rectpack.h 47 // 0.08 (2015-09-13) really fix bug with empty rects (w=0 or h=0)
48 // 0.07 (2015-09-13) fix bug with empty rects (w=0 or h=0)
88 STBRP_DEF int stbrp_pack_rects (stbrp_context *context, stbrp_rect *rects, int num_rects);
90 // 'stbrp_rect' defined below, stored in the array 'rects', and there
99 // You should not try to access the 'rects' array from another thread
549 STBRP_DEF int stbrp_pack_rects(stbrp_context *context, stbrp_rect *rects, int num_rects)
555 rects[i].was_packed = i;
559 STBRP_SORT(rects, num_rects, sizeof(rects[0]), rect_height_compare);
562 if (rects[i].w == 0 || rects[i].h == 0)
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/imgui/
imstb_rectpack.h 47 // 0.08 (2015-09-13) really fix bug with empty rects (w=0 or h=0)
48 // 0.07 (2015-09-13) fix bug with empty rects (w=0 or h=0)
88 STBRP_DEF int stbrp_pack_rects (stbrp_context *context, stbrp_rect *rects, int num_rects);
90 // 'stbrp_rect' defined below, stored in the array 'rects', and there
99 // You should not try to access the 'rects' array from another thread
549 STBRP_DEF int stbrp_pack_rects(stbrp_context *context, stbrp_rect *rects, int num_rects)
555 rects[i].was_packed = i;
559 STBRP_SORT(rects, num_rects, sizeof(rects[0]), rect_height_compare);
562 if (rects[i].w == 0 || rects[i].h == 0)
    [all...]
  /xsrc/external/mit/xf86-video-vmware/dist/vmwgfx/
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...]
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...]
  /xsrc/external/mit/MesaLib/dist/src/amd/vulkan/
radv_meta_blit2d.c 223 struct radv_meta_blit2d_rect *rects, enum blit2d_src_type src_type,
246 blit2d_bind_dst(cmd_buffer, dst, rects[r].dst_x + rects[r].width,
247 rects[r].dst_y + rects[r].height, depth_format, &dst_temps, aspect_mask);
250 rects[r].src_x,
251 rects[r].src_y,
252 rects[r].src_x + rects[r].width,
253 rects[r].src_y + rects[r].height
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/amd/vulkan/
radv_meta_blit2d.c 250 struct radv_meta_blit2d_rect *rects, enum blit2d_src_type src_type,
272 blit2d_bind_dst(cmd_buffer, dst, rects[r].dst_x + rects[r].width,
273 rects[r].dst_y + rects[r].height, depth_format, &dst_temps, aspect_mask);
276 rects[r].src_x,
277 rects[r].src_y,
278 rects[r].src_x + rects[r].width,
279 rects[r].src_y + rects[r].height
    [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.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/dist/Xext/
shape.c 947 xRectangle *rects; local
971 rects = malloc(sizeof(xRectangle));
972 if (!rects)
976 rects->x = -(int) wBorderWidth(pWin);
977 rects->y = -(int) wBorderWidth(pWin);
978 rects->width = pWin->drawable.width + wBorderWidth(pWin);
979 rects->height = pWin->drawable.height + wBorderWidth(pWin);
982 rects->x = 0;
983 rects->y = 0;
984 rects->width = pWin->drawable.width
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/broadcom/vulkan/
v3dv_meta_clear.c 1003 const VkClearRect *rects)
1039 /* Emit clear rects */
1056 .x = rects[i].rect.offset.x,
1057 .y = rects[i].rect.offset.y,
1058 .width = rects[i].rect.extent.width,
1059 .height = rects[i].rect.extent.height,
1064 v3dv_CmdSetScissor(cmd_buffer_handle, 0, 1, &rects[i].rect);
1067 for (uint32_t layer_offset = 0; layer_offset < rects[i].layerCount;
1069 uint32_t layer = rects[i].baseArrayLayer + layer_offset;
1076 assert(rects[i].baseArrayLayer == 0 && rects[i].layerCount == 1)
    [all...]
  /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/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/xorg-server.old/dist/hw/kdrive/ephyr/
hostx.c 1269 XRectangle *rects=NULL ; local
1273 EPHYR_LOG ("enter. num rects:%d\n", a_num_rects) ;
1275 rects = calloc (a_num_rects, sizeof (XRectangle)) ;
1277 rects[i].x = a_rects[i].x1 ;
1278 rects[i].y = a_rects[i].y1 ;
1279 rects[i].width = abs (a_rects[i].x2 - a_rects[i].x1);
1280 rects[i].height = abs (a_rects[i].y2 - a_rects[i].y1) ;
1282 rects[i].x, rects[i].y,
1283 rects[i].width, rects[i].height)
1304 XRectangle *rects=NULL ; local
    [all...]

Completed in 21 milliseconds

1 2 3 4 5 6 7 8 9