| /xsrc/external/mit/libX11/dist/src/ |
| FillRct.c | 46 xRectangle *rect; local 63 rect = (xRectangle *) dpy->bufptr; 71 rect = (xRectangle *) NEXTPTR(req,xPolyFillRectangleReq); 73 rect->x = x; 74 rect->y = y; 75 rect->width = width; 76 rect->height = height;
|
| DrRect.c | 47 xRectangle *rect; local 64 rect = (xRectangle *) dpy->bufptr; 72 rect = (xRectangle *) NEXTPTR(req,xPolyRectangleReq); 75 rect->x = x; 76 rect->y = y; 77 rect->width = width; 78 rect->height = height;
|
| /xsrc/external/mit/pixman/dist/test/ |
| region-translate-test.c | 13 pixman_box32_t rect = { -LARGE, -LARGE, LARGE, LARGE }; local 16 pixman_region32_init_rects (&r1, &rect, 1); 17 pixman_region32_init_rect (&r2, rect.x1, rect.y1, rect.x2 - rect.x1, rect.y2 - rect.y1);
|
| /xsrc/external/mit/MesaGLUT/dist/src/glut/glx/ |
| win32_util.c | 88 RECT rect; local 94 rect.left = *x; rect.top = *y; 95 rect.right = *x + *width; rect.bottom = *y + *height; 100 AdjustWindowRect(&rect, WS_CLIPSIBLINGS | WS_CLIPCHILDREN | 106 if(rect.left < 0) { 109 *x = rect.left; 112 if(rect.top < 0) [all...] |
| /xsrc/external/mit/libXrender/dist/src/ |
| FillRect.c | 45 xRectangle *rect; local 51 rect = &rectdata; 72 rect = (xRectangle *) dpy->bufptr; 92 rect = (xRectangle *) NEXTPTR(req,xRenderFillRectanglesReq); 95 rect->x = (INT16) x; 96 rect->y = (INT16) y; 97 rect->width = (CARD16) width; 98 rect->height = (CARD16) height; 101 Data (dpy, (char *) rect, len);
|
| /xsrc/external/mit/xorg-server/dist/glamor/ |
| glamor_utils.c | 31 xRectangle *rect; local 34 rect = xallocarray(nbox, sizeof(xRectangle)); 35 if (!rect) 38 rect[n].x = box[n].x1; 39 rect[n].y = box[n].y1; 40 rect[n].width = box[n].x2 - box[n].x1; 41 rect[n].height = box[n].y2 - box[n].y1; 51 gc->ops->PolyFillRect(drawable, gc, nbox, rect); 54 free(rect); 64 xRectangle rect; local [all...] |
| /xsrc/external/mit/xorg-server.old/dist/hw/xwin/ |
| winmisc.c | 112 RECT rect; local 131 if (GetClientRect (hwnd, &rect) == FALSE) 138 if (FillRect (hdc, &rect, hbrush) == 0)
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/ |
| lp_rast_linear.c | 137 const struct lp_rast_rectangle *rect = arg.rectangle; local 138 const struct lp_rast_shader_inputs *inputs = &rect->inputs; 152 u_rect_find_intersection(&rect->box, &box); 236 lp_rast_linear_rect, /* rect */ 243 * - All primitives in bins are rect, tile, blit or clear.
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/targets/graw-gdi/ |
| graw_gdi.c | 71 RECT rect; local 97 SetRect(&rect, 0, 0, width, height); 98 AdjustWindowRectEx(&rect, style, FALSE, 0); 106 rect.right - rect.left, 107 rect.bottom - rect.top,
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/targets/graw-gdi/ |
| graw_gdi.c | 71 RECT rect; local 97 SetRect(&rect, 0, 0, width, height); 98 AdjustWindowRectEx(&rect, style, FALSE, 0); 106 rect.right - rect.left, 107 rect.bottom - rect.top,
|
| /xsrc/external/mit/mesa-demos/dist/src/egl/openvg/trivial/ |
| color_transform.c | 12 static VGPath rect; variable 35 rect = vgCreatePath(VG_PATH_FORMAT_STANDARD, 38 vgAppendPathData(rect, sizeof(cmd), cmd, val); 66 vgDrawPath(rect, VG_FILL_PATH);
|
| mask_render.c | 11 static VGPath rect; variable 32 rect = vgCreatePath(VG_PATH_FORMAT_STANDARD, 35 vgAppendPathData(rect, sizeof(cmd), cmd, val); 105 vgDrawPath(rect, VG_FILL_PATH);
|
| blend.c | 11 VGPath rect; variable 32 rect = vgCreatePath(VG_PATH_FORMAT_STANDARD, 35 vgAppendPathData(rect, sizeof(cmd), cmd, val); 65 vgDrawPath(rect, VG_FILL_PATH);
|
| /xsrc/external/mit/xorg-server/dist/dix/ |
| glyphcurs.c | 79 xRectangle rect; local 107 rect.x = 0; 108 rect.y = 0; 109 rect.width = cm->width; 110 rect.height = cm->height; 118 (*pGC->ops->PolyFillRect) ((DrawablePtr) ppix, pGC, 1, &rect);
|
| /xsrc/external/mit/xorg-server.old/dist/dix/ |
| glyphcurs.c | 81 xRectangle rect; local 112 rect.x = 0; 113 rect.y = 0; 114 rect.width = cm->width; 115 rect.height = cm->height; 123 (*pGC->ops->PolyFillRect)((DrawablePtr)ppix, pGC, 1, &rect);
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/ |
| st_atom_scissor.c | 126 const struct gl_scissor_rect *rect = &scissor->WindowRects[i]; local 127 new_rects[i].minx = MAX2(rect->X, 0); 128 new_rects[i].miny = MAX2(rect->Y, 0); 129 new_rects[i].maxx = MAX2(rect->X + rect->Width, 0); 130 new_rects[i].maxy = MAX2(rect->Y + rect->Height, 0);
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/ |
| st_atom_scissor.c | 123 const struct gl_scissor_rect *rect = &scissor->WindowRects[i]; local 124 new_rects[i].minx = MAX2(rect->X, 0); 125 new_rects[i].miny = MAX2(rect->Y, 0); 126 new_rects[i].maxx = MAX2(rect->X + rect->Width, 0); 127 new_rects[i].maxy = MAX2(rect->Y + rect->Height, 0);
|
| /xsrc/external/mit/mesa-demos/dist/src/redbook/ |
| tess.c | 123 GLdouble rect[4][3] = {{50.0, 50.0, 0.0}, local 151 gluTessVertex(tobj, rect[0], rect[0]); 152 gluTessVertex(tobj, rect[1], rect[1]); 153 gluTessVertex(tobj, rect[2], rect[2]); 154 gluTessVertex(tobj, rect[3], rect[3]);
|
| /xsrc/external/mit/xorg-server/dist/mi/ |
| mipolyrect.c | 62 DDXPointRec rect[5]; local 102 rect[0].x = x; 103 rect[0].y = y; 104 rect[1].x = x; 105 rect[1].y = y; 106 (*pGC->ops->Polylines) (pDraw, pGC, CoordModeOrigin, 2, rect); 156 rect[0].x = pR->x; 157 rect[0].y = pR->y; 159 MAXBOUND(rect[1].x, pR->x + (int) pR->width) 160 rect[1].y = rect[0].y [all...] |
| /xsrc/external/mit/xorg-server.old/dist/mi/ |
| mipolyrect.c | 63 DDXPointRec rect[5]; local 106 rect[0].x = x; 107 rect[0].y = y; 108 rect[1].x = x; 109 rect[1].y = y; 110 (*pGC->ops->Polylines)(pDraw, pGC, CoordModeOrigin, 2, rect); 168 rect[0].x = pR->x; 169 rect[0].y = pR->y; 171 MAXBOUND(rect[1].x, pR->x + (int) pR->width) 172 rect[1].y = rect[0].y [all...] |
| /xsrc/external/mit/xf86-video-ast/dist/src/ |
| ast_accel.c | 69 xRectangle rect; local 150 rect.x = pBox->x1 - pPriv->drw_x; 151 rect.y = pBox->y1 - pPriv->drw_y; 152 rect.width = pBox->x2 - pBox->x1; 153 rect.height = pBox->y2 - pBox->y1; 155 lSrcX = (ULONG)((float)rect.x * fScaleX + pPriv->src_x + 0.5f); 156 lSrcY = (ULONG)((float)rect.y * fScaleY + pPriv->src_y + 0.5f); 175 CopyCmd.dwRecHeightWidth = (ULONG) ((rect.width << 16) | rect.height);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/zink/ |
| zink_blit.c | 16 struct u_rect rect = { info->scissor.minx, info->scissor.maxx, local 18 zink_fb_clears_apply_or_discard(ctx, info->dst.resource, rect, discard_only);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/wgl/ |
| stw_ext_pbuffer.c | 83 RECT rect; local 196 rect.left = 0; 197 rect.top = 0; 198 rect.right = rect.left + iWidth; 199 rect.bottom = rect.top + iHeight; 211 AdjustWindowRectEx(&rect, dwStyle, FALSE, dwExStyle); 219 rect.right - rect.left, /* width * [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/wgl/ |
| stw_ext_pbuffer.c | 83 RECT rect; local 197 rect.left = 0; 198 rect.top = 0; 199 rect.right = rect.left + iWidth; 200 rect.bottom = rect.top + iHeight; 212 AdjustWindowRectEx(&rect, dwStyle, FALSE, dwExStyle); 220 rect.right - rect.left, /* width * [all...] |
| /xsrc/external/mit/mesa-demos/dist/src/tests/ |
| mapbufrange.c | 5 * On each redraw, update the geometry for just one rect in the VBO. 46 float *rect; local 58 rect = buf; 64 rect = buf + r * 24; 67 /* set rect verts/colors */ 68 memcpy(rect, RectData, sizeof(RectData)); 78 rect[i * 6 + 0] = xpos + x * cos(angle) + y * sin(angle); 79 rect[i * 6 + 1] = ypos + x * sin(angle) - y * cos(angle);
|