Lines Matching defs:stuff
268 pRenderClient->major_version = stuff->majorVersion;
269 pRenderClient->minor_version = stuff->minorVersion;
271 if ((stuff->majorVersion * 1000 + stuff->minorVersion) <
273 rep.majorVersion = stuff->majorVersion;
274 rep.minorVersion = stuff->minorVersion;
510 rc = dixLookupResourceByType((void **) &pFormat, stuff->format,
516 client->errorValue = stuff->format;
571 LEGAL_NEW_RESOURCE(stuff->pid, client);
572 rc = dixLookupDrawable(&pDrawable, stuff->drawable, client, 0,
577 rc = dixLookupResourceByType((void **) &pFormat, stuff->format,
585 if (Ones(stuff->mask) != len)
588 pPicture = CreatePicture(stuff->pid,
591 stuff->mask, (XID *) (stuff + 1), client, &error);
594 if (!AddResource(stuff->pid, PictureType, (void *) pPicture))
608 VERIFY_PICTURE(pPicture, stuff->picture, client, DixSetAttrAccess);
611 if (Ones(stuff->mask) != len)
614 return ChangePicture(pPicture, stuff->mask, (XID *) (stuff + 1),
626 VERIFY_PICTURE(pPicture, stuff->picture, client, DixSetAttrAccess);
635 stuff->xOrigin, stuff->yOrigin,
636 nr, (xRectangle *) &stuff[1]);
648 VERIFY_PICTURE(pPicture, stuff->picture, client, DixDestroyAccess);
649 FreeResource(stuff->picture, RT_NONE);
675 if (!PictOpValid(stuff->op)) {
676 client->errorValue = stuff->op;
679 VERIFY_PICTURE(pDst, stuff->dst, client, DixWriteAccess);
682 VERIFY_PICTURE(pSrc, stuff->src, client, DixReadAccess);
683 VERIFY_ALPHA(pMask, stuff->mask, client, DixReadAccess);
695 CompositePicture(stuff->op,
699 stuff->xSrc,
700 stuff->ySrc,
701 stuff->xMask,
702 stuff->yMask,
703 stuff->xDst, stuff->yDst, stuff->width, stuff->height);
723 if (!PictOpValid(stuff->op)) {
724 client->errorValue = stuff->op;
727 VERIFY_PICTURE(pSrc, stuff->src, client, DixReadAccess);
728 VERIFY_PICTURE(pDst, stuff->dst, client, DixWriteAccess);
733 if (stuff->maskFormat) {
734 rc = dixLookupResourceByType((void **) &pFormat, stuff->maskFormat,
746 CompositeTrapezoids(stuff->op, pSrc, pDst, pFormat,
747 stuff->xSrc, stuff->ySrc,
748 ntraps, (xTrapezoid *) &stuff[1]);
762 if (!PictOpValid(stuff->op)) {
763 client->errorValue = stuff->op;
766 VERIFY_PICTURE(pSrc, stuff->src, client, DixReadAccess);
767 VERIFY_PICTURE(pDst, stuff->dst, client, DixWriteAccess);
772 if (stuff->maskFormat) {
773 rc = dixLookupResourceByType((void **) &pFormat, stuff->maskFormat,
785 CompositeTriangles(stuff->op, pSrc, pDst, pFormat,
786 stuff->xSrc, stuff->ySrc,
787 ntris, (xTriangle *) &stuff[1]);
801 if (!PictOpValid(stuff->op)) {
802 client->errorValue = stuff->op;
805 VERIFY_PICTURE(pSrc, stuff->src, client, DixReadAccess);
806 VERIFY_PICTURE(pDst, stuff->dst, client, DixWriteAccess);
811 if (stuff->maskFormat) {
812 rc = dixLookupResourceByType((void **) &pFormat, stuff->maskFormat,
824 CompositeTriStrip(stuff->op, pSrc, pDst, pFormat,
825 stuff->xSrc, stuff->ySrc,
826 npoints, (xPointFixed *) &stuff[1]);
840 if (!PictOpValid(stuff->op)) {
841 client->errorValue = stuff->op;
844 VERIFY_PICTURE(pSrc, stuff->src, client, DixReadAccess);
845 VERIFY_PICTURE(pDst, stuff->dst, client, DixWriteAccess);
850 if (stuff->maskFormat) {
851 rc = dixLookupResourceByType((void **) &pFormat, stuff->maskFormat,
863 CompositeTriFan(stuff->op, pSrc, pDst, pFormat,
864 stuff->xSrc, stuff->ySrc,
865 npoints, (xPointFixed *) &stuff[1]);
898 LEGAL_NEW_RESOURCE(stuff->gsid, client);
899 rc = dixLookupResourceByType((void **) &format, stuff->format,
929 rc = XaceHook(XACE_RESOURCE_ACCESS, client, stuff->gsid, GlyphSetType,
933 if (!AddResource(stuff->gsid, GlyphSetType, (void *) glyphSet))
948 LEGAL_NEW_RESOURCE(stuff->gsid, client);
950 rc = dixLookupResourceByType((void **) &glyphSet, stuff->existing,
953 client->errorValue = stuff->existing;
957 if (!AddResource(stuff->gsid, GlyphSetType, (void *) glyphSet))
974 rc = dixLookupResourceByType((void **) &glyphSet, stuff->glyphset,
977 client->errorValue = stuff->glyphset;
980 FreeResource(stuff->glyphset, RT_NONE);
1014 dixLookupResourceByType((void **) &glyphSet, stuff->glyphset,
1017 client->errorValue = stuff->glyphset;
1022 nglyphs = stuff->nglyphs;
1042 gids = (CARD32 *) (stuff + 1);
1048 if (gi < ((xGlyphInfo *) stuff) ||
1049 gi > ((xGlyphInfo *) ((CARD32 *) stuff + client->req_len)) ||
1050 bits < ((CARD8 *) stuff) ||
1051 bits > ((CARD8 *) ((CARD32 *) stuff + client->req_len))) {
1213 rc = dixLookupResourceByType((void **) &glyphSet, stuff->glyphset,
1216 client->errorValue = stuff->glyphset;
1221 gids = (CARD32 *) (stuff + 1);
1256 switch (stuff->renderReqType) {
1268 if (!PictOpValid(stuff->op)) {
1269 client->errorValue = stuff->op;
1272 VERIFY_PICTURE(pSrc, stuff->src, client, DixReadAccess);
1273 VERIFY_PICTURE(pDst, stuff->dst, client, DixWriteAccess);
1278 if (stuff->maskFormat) {
1279 rc = dixLookupResourceByType((void **) &pFormat, stuff->maskFormat,
1287 rc = dixLookupResourceByType((void **) &glyphSet, stuff->glyphset,
1292 buffer = (CARD8 *) (stuff + 1);
1293 end = (CARD8 *) stuff + (client->req_len << 2);
1328 buffer = (CARD8 *) (stuff + 1);
1384 CompositeGlyphs(stuff->op,
1388 stuff->xSrc, stuff->ySrc, nlist, listsBase, glyphsBase);
1408 if (!PictOpValid(stuff->op)) {
1409 client->errorValue = stuff->op;
1412 VERIFY_PICTURE(pDst, stuff->dst, client, DixWriteAccess);
1421 CompositeRects(stuff->op,
1422 pDst, &stuff->color, things, (xRectangle *) &stuff[1]);
1472 LEGAL_NEW_RESOURCE(stuff->cid, client);
1474 VERIFY_PICTURE(pSrc, stuff->src, client, DixReadAccess);
1482 if (stuff->x > width || stuff->y > height)
1623 cm.xhot = stuff->x;
1624 cm.yhot = stuff->y;
1632 &pCursor, client, stuff->cid);
1635 if (!AddResource(stuff->cid, RT_CURSOR, (void *) pCursor)) {
1654 VERIFY_PICTURE(pPicture, stuff->picture, client, DixSetAttrAccess);
1655 return SetPictureTransform(pPicture, (PictTransform *) &stuff->transform);
1673 rc = dixLookupDrawable(&pDrawable, stuff->drawable, client, 0,
1768 VERIFY_PICTURE(pPicture, stuff->picture, client, DixSetAttrAccess);
1769 name = (char *) (stuff + 1);
1770 params = (xFixed *) (name + pad_to_int32(stuff->nbytes));
1771 nparams = ((xFixed *) stuff + client->req_len) - params;
1775 result = SetPictureFilter(pPicture, name, stuff->nbytes, params, nparams);
1792 LEGAL_NEW_RESOURCE(stuff->cid, client);
1804 elt = (xAnimCursorElt *) (stuff + 1);
1816 stuff->cid);
1821 if (AddResource(stuff->cid, RT_CURSOR, (void *) pCursor))
1835 VERIFY_PICTURE(pPicture, stuff->picture, client, DixWriteAccess);
1844 stuff->xOff, stuff->yOff, ntraps, (xTrap *) &stuff[1]);
1858 LEGAL_NEW_RESOURCE(stuff->pid, client);
1860 pPicture = CreateSolidPicture(stuff->pid, &stuff->color, &error);
1864 error = XaceHook(XACE_RESOURCE_ACCESS, client, stuff->pid, PictureType,
1868 if (!AddResource(stuff->pid, PictureType, (void *) pPicture))
1886 LEGAL_NEW_RESOURCE(stuff->pid, client);
1889 if (stuff->nStops > UINT32_MAX / (sizeof(xFixed) + sizeof(xRenderColor)))
1891 if (len != stuff->nStops * (sizeof(xFixed) + sizeof(xRenderColor)))
1894 stops = (xFixed *) (stuff + 1);
1895 colors = (xRenderColor *) (stops + stuff->nStops);
1897 pPicture = CreateLinearGradientPicture(stuff->pid, &stuff->p1, &stuff->p2,
1898 stuff->nStops, stops, colors,
1903 error = XaceHook(XACE_RESOURCE_ACCESS, client, stuff->pid, PictureType,
1907 if (!AddResource(stuff->pid, PictureType, (void *) pPicture))
1925 LEGAL_NEW_RESOURCE(stuff->pid, client);
1928 if (stuff->nStops > UINT32_MAX / (sizeof(xFixed) + sizeof(xRenderColor)))
1930 if (len != stuff->nStops * (sizeof(xFixed) + sizeof(xRenderColor)))
1933 stops = (xFixed *) (stuff + 1);
1934 colors = (xRenderColor *) (stops + stuff->nStops);
1937 CreateRadialGradientPicture(stuff->pid, &stuff->inner, &stuff->outer,
1938 stuff->inner_radius, stuff->outer_radius,
1939 stuff->nStops, stops, colors, &error);
1943 error = XaceHook(XACE_RESOURCE_ACCESS, client, stuff->pid, PictureType,
1947 if (!AddResource(stuff->pid, PictureType, (void *) pPicture))
1965 LEGAL_NEW_RESOURCE(stuff->pid, client);
1968 if (stuff->nStops > UINT32_MAX / (sizeof(xFixed) + sizeof(xRenderColor)))
1970 if (len != stuff->nStops * (sizeof(xFixed) + sizeof(xRenderColor)))
1973 stops = (xFixed *) (stuff + 1);
1974 colors = (xRenderColor *) (stops + stuff->nStops);
1977 CreateConicalGradientPicture(stuff->pid, &stuff->center, stuff->angle,
1978 stuff->nStops, stops, colors, &error);
1982 error = XaceHook(XACE_RESOURCE_ACCESS, client, stuff->pid, PictureType,
1986 if (!AddResource(stuff->pid, PictureType, (void *) pPicture))
1996 if (stuff->data < RenderNumberRequests)
1997 return (*ProcRenderVector[stuff->data]) (client);
2007 swaps(&stuff->length);
2008 swapl(&stuff->majorVersion);
2009 swapl(&stuff->minorVersion);
2010 return (*ProcRenderVector[stuff->renderReqType]) (client);
2018 swaps(&stuff->length);
2019 return (*ProcRenderVector[stuff->renderReqType]) (client);
2027 swaps(&stuff->length);
2028 swapl(&stuff->format);
2029 return (*ProcRenderVector[stuff->renderReqType]) (client);
2043 swaps(&stuff->length);
2044 swapl(&stuff->pid);
2045 swapl(&stuff->drawable);
2046 swapl(&stuff->format);
2047 swapl(&stuff->mask);
2048 SwapRestL(stuff);
2049 return (*ProcRenderVector[stuff->renderReqType]) (client);
2057 swaps(&stuff->length);
2058 swapl(&stuff->picture);
2059 swapl(&stuff->mask);
2060 SwapRestL(stuff);
2061 return (*ProcRenderVector[stuff->renderReqType]) (client);
2069 swaps(&stuff->length);
2070 swapl(&stuff->picture);
2071 swaps(&stuff->xOrigin);
2072 swaps(&stuff->yOrigin);
2073 SwapRestS(stuff);
2074 return (*ProcRenderVector[stuff->renderReqType]) (client);
2082 swaps(&stuff->length);
2083 swapl(&stuff->picture);
2084 return (*ProcRenderVector[stuff->renderReqType]) (client);
2092 swaps(&stuff->length);
2093 swapl(&stuff->src);
2094 swapl(&stuff->mask);
2095 swapl(&stuff->dst);
2096 swaps(&stuff->xSrc);
2097 swaps(&stuff->ySrc);
2098 swaps(&stuff->xMask);
2099 swaps(&stuff->yMask);
2100 swaps(&stuff->xDst);
2101 swaps(&stuff->yDst);
2102 swaps(&stuff->width);
2103 swaps(&stuff->height);
2104 return (*ProcRenderVector[stuff->renderReqType]) (client);
2119 swaps(&stuff->length);
2120 swapl(&stuff->src);
2121 swapl(&stuff->dst);
2122 swapl(&stuff->maskFormat);
2123 swaps(&stuff->xSrc);
2124 swaps(&stuff->ySrc);
2125 SwapRestL(stuff);
2126 return (*ProcRenderVector[stuff->renderReqType]) (client);
2135 swaps(&stuff->length);
2136 swapl(&stuff->src);
2137 swapl(&stuff->dst);
2138 swapl(&stuff->maskFormat);
2139 swaps(&stuff->xSrc);
2140 swaps(&stuff->ySrc);
2141 SwapRestL(stuff);
2142 return (*ProcRenderVector[stuff->renderReqType]) (client);
2151 swaps(&stuff->length);
2152 swapl(&stuff->src);
2153 swapl(&stuff->dst);
2154 swapl(&stuff->maskFormat);
2155 swaps(&stuff->xSrc);
2156 swaps(&stuff->ySrc);
2157 SwapRestL(stuff);
2158 return (*ProcRenderVector[stuff->renderReqType]) (client);
2167 swaps(&stuff->length);
2168 swapl(&stuff->src);
2169 swapl(&stuff->dst);
2170 swapl(&stuff->maskFormat);
2171 swaps(&stuff->xSrc);
2172 swaps(&stuff->ySrc);
2173 SwapRestL(stuff);
2174 return (*ProcRenderVector[stuff->renderReqType]) (client);
2200 swaps(&stuff->length);
2201 swapl(&stuff->gsid);
2202 swapl(&stuff->format);
2203 return (*ProcRenderVector[stuff->renderReqType]) (client);
2211 swaps(&stuff->length);
2212 swapl(&stuff->gsid);
2213 swapl(&stuff->existing);
2214 return (*ProcRenderVector[stuff->renderReqType]) (client);
2222 swaps(&stuff->length);
2223 swapl(&stuff->glyphset);
2224 return (*ProcRenderVector[stuff->renderReqType]) (client);
2237 swaps(&stuff->length);
2238 swapl(&stuff->glyphset);
2239 swapl(&stuff->nglyphs);
2240 if (stuff->nglyphs & 0xe0000000)
2242 end = (CARD8 *) stuff + (client->req_len << 2);
2243 gids = (CARD32 *) (stuff + 1);
2244 gi = (xGlyphInfo *) (gids + stuff->nglyphs);
2245 if ((char *) end - (char *) (gids + stuff->nglyphs) < 0)
2247 if ((char *) end - (char *) (gi + stuff->nglyphs) < 0)
2249 for (i = 0; i < stuff->nglyphs; i++) {
2258 return (*ProcRenderVector[stuff->renderReqType]) (client);
2272 swaps(&stuff->length);
2273 swapl(&stuff->glyphset);
2274 SwapRestL(stuff);
2275 return (*ProcRenderVector[stuff->renderReqType]) (client);
2291 switch (stuff->renderReqType) {
2303 swaps(&stuff->length);
2304 swapl(&stuff->src);
2305 swapl(&stuff->dst);
2306 swapl(&stuff->maskFormat);
2307 swapl(&stuff->glyphset);
2308 swaps(&stuff->xSrc);
2309 swaps(&stuff->ySrc);
2310 buffer = (CARD8 *) (stuff + 1);
2311 end = (CARD8 *) stuff + (client->req_len << 2);
2356 return (*ProcRenderVector[stuff->renderReqType]) (client);
2365 swaps(&stuff->length);
2366 swapl(&stuff->dst);
2367 swaps(&stuff->color.red);
2368 swaps(&stuff->color.green);
2369 swaps(&stuff->color.blue);
2370 swaps(&stuff->color.alpha);
2371 SwapRestS(stuff);
2372 return (*ProcRenderVector[stuff->renderReqType]) (client);
2381 swaps(&stuff->length);
2382 swapl(&stuff->cid);
2383 swapl(&stuff->src);
2384 swaps(&stuff->x);
2385 swaps(&stuff->y);
2386 return (*ProcRenderVector[stuff->renderReqType]) (client);
2395 swaps(&stuff->length);
2396 swapl(&stuff->picture);
2397 swapl(&stuff->transform.matrix11);
2398 swapl(&stuff->transform.matrix12);
2399 swapl(&stuff->transform.matrix13);
2400 swapl(&stuff->transform.matrix21);
2401 swapl(&stuff->transform.matrix22);
2402 swapl(&stuff->transform.matrix23);
2403 swapl(&stuff->transform.matrix31);
2404 swapl(&stuff->transform.matrix32);
2405 swapl(&stuff->transform.matrix33);
2406 return (*ProcRenderVector[stuff->renderReqType]) (client);
2415 swaps(&stuff->length);
2416 swapl(&stuff->drawable);
2417 return (*ProcRenderVector[stuff->renderReqType]) (client);
2426 swaps(&stuff->length);
2427 swapl(&stuff->picture);
2428 swaps(&stuff->nbytes);
2429 return (*ProcRenderVector[stuff->renderReqType]) (client);
2438 swaps(&stuff->length);
2439 swapl(&stuff->cid);
2440 SwapRestL(stuff);
2441 return (*ProcRenderVector[stuff->renderReqType]) (client);
2450 swaps(&stuff->length);
2451 swapl(&stuff->picture);
2452 swaps(&stuff->xOff);
2453 swaps(&stuff->yOff);
2454 SwapRestL(stuff);
2455 return (*ProcRenderVector[stuff->renderReqType]) (client);
2464 swaps(&stuff->length);
2465 swapl(&stuff->pid);
2466 swaps(&stuff->color.alpha);
2467 swaps(&stuff->color.red);
2468 swaps(&stuff->color.green);
2469 swaps(&stuff->color.blue);
2470 return (*ProcRenderVector[stuff->renderReqType]) (client);
2474 swapStops(void *stuff, int num)
2480 stops = (CARD32 *) (stuff);
2500 swaps(&stuff->length);
2501 swapl(&stuff->pid);
2502 swapl(&stuff->p1.x);
2503 swapl(&stuff->p1.y);
2504 swapl(&stuff->p2.x);
2505 swapl(&stuff->p2.y);
2506 swapl(&stuff->nStops);
2509 if (stuff->nStops > UINT32_MAX / (sizeof(xFixed) + sizeof(xRenderColor)))
2511 if (len != stuff->nStops * (sizeof(xFixed) + sizeof(xRenderColor)))
2514 swapStops(stuff + 1, stuff->nStops);
2516 return (*ProcRenderVector[stuff->renderReqType]) (client);
2527 swaps(&stuff->length);
2528 swapl(&stuff->pid);
2529 swapl(&stuff->inner.x);
2530 swapl(&stuff->inner.y);
2531 swapl(&stuff->outer.x);
2532 swapl(&stuff->outer.y);
2533 swapl(&stuff->inner_radius);
2534 swapl(&stuff->outer_radius);
2535 swapl(&stuff->nStops);
2538 if (stuff->nStops > UINT32_MAX / (sizeof(xFixed) + sizeof(xRenderColor)))
2540 if (len != stuff->nStops * (sizeof(xFixed) + sizeof(xRenderColor)))
2543 swapStops(stuff + 1, stuff->nStops);
2545 return (*ProcRenderVector[stuff->renderReqType]) (client);
2556 swaps(&stuff->length);
2557 swapl(&stuff->pid);
2558 swapl(&stuff->center.x);
2559 swapl(&stuff->center.y);
2560 swapl(&stuff->angle);
2561 swapl(&stuff->nStops);
2564 if (stuff->nStops > UINT32_MAX / (sizeof(xFixed) + sizeof(xRenderColor)))
2566 if (len != stuff->nStops * (sizeof(xFixed) + sizeof(xRenderColor)))
2569 swapStops(stuff + 1, stuff->nStops);
2571 return (*ProcRenderVector[stuff->renderReqType]) (client);
2579 if (stuff->data < RenderNumberRequests)
2580 return (*SProcRenderVector[stuff->data]) (client);
2611 result = dixLookupResourceByClass((void **) &refDraw, stuff->drawable,
2618 panoramix_setup_ids(newPict, client, stuff->pid);
2621 stuff->drawable == screenInfo.screens[0]->root->drawable.id) {
2628 stuff->pid = newPict->info[j].id;
2629 stuff->drawable = refDraw->info[j].id;
2653 VERIFY_XIN_PICTURE(pict, stuff->picture, client, DixWriteAccess);
2656 stuff->picture = pict->info[j].id;
2674 VERIFY_XIN_PICTURE(pict, stuff->picture, client, DixWriteAccess);
2677 stuff->picture = pict->info[j].id;
2697 VERIFY_XIN_PICTURE(pict, stuff->picture, client, DixWriteAccess);
2700 stuff->picture = pict->info[j].id;
2719 VERIFY_XIN_PICTURE(pict, stuff->picture, client, DixWriteAccess);
2722 stuff->picture = pict->info[j].id;
2742 client->errorValue = stuff->picture;
2744 VERIFY_XIN_PICTURE(pict, stuff->picture, client, DixDestroyAccess);
2747 stuff->picture = pict->info[j].id;
2770 VERIFY_XIN_PICTURE(src, stuff->src, client, DixReadAccess);
2771 VERIFY_XIN_ALPHA(msk, stuff->mask, client, DixReadAccess);
2772 VERIFY_XIN_PICTURE(dst, stuff->dst, client, DixWriteAccess);
2774 orig = *stuff;
2777 stuff->src = src->info[j].id;
2779 stuff->xSrc = orig.xSrc - screenInfo.screens[j]->x;
2780 stuff->ySrc = orig.ySrc - screenInfo.screens[j]->y;
2782 stuff->dst = dst->info[j].id;
2784 stuff->xDst = orig.xDst - screenInfo.screens[j]->x;
2785 stuff->yDst = orig.yDst - screenInfo.screens[j]->y;
2788 stuff->mask = msk->info[j].id;
2790 stuff->xMask = orig.xMask - screenInfo.screens[j]->x;
2791 stuff->yMask = orig.yMask - screenInfo.screens[j]->y;
2813 VERIFY_XIN_PICTURE(src, stuff->src, client, DixReadAccess);
2814 VERIFY_XIN_PICTURE(dst, stuff->dst, client, DixWriteAccess);
2818 elt = (xGlyphElt *) (stuff + 1);
2820 xSrc = stuff->xSrc;
2821 ySrc = stuff->ySrc;
2823 stuff->src = src->info[j].id;
2825 stuff->xSrc = xSrc - screenInfo.screens[j]->x;
2826 stuff->ySrc = ySrc - screenInfo.screens[j]->y;
2828 stuff->dst = dst->info[j].id;
2834 (*PanoramiXSaveRenderVector[stuff->renderReqType]) (client);
2854 VERIFY_XIN_PICTURE(dst, stuff->dst, client, DixWriteAccess);
2857 memcpy(extra, stuff + 1, extra_len);
2860 memcpy(stuff + 1, extra, extra_len);
2866 xRectangle *rects = (xRectangle *) (stuff + 1);
2876 stuff->dst = dst->info[j].id;
2900 VERIFY_XIN_PICTURE(src, stuff->src, client, DixReadAccess);
2901 VERIFY_XIN_PICTURE(dst, stuff->dst, client, DixWriteAccess);
2906 memcpy(extra, stuff + 1, extra_len);
2910 memcpy(stuff + 1, extra, extra_len);
2916 xTrapezoid *trap = (xTrapezoid *) (stuff + 1);
2935 stuff->src = src->info[j].id;
2936 stuff->dst = dst->info[j].id;
2961 VERIFY_XIN_PICTURE(src, stuff->src, client, DixReadAccess);
2962 VERIFY_XIN_PICTURE(dst, stuff->dst, client, DixWriteAccess);
2967 memcpy(extra, stuff + 1, extra_len);
2971 memcpy(stuff + 1, extra, extra_len);
2977 xTriangle *tri = (xTriangle *) (stuff + 1);
2992 stuff->src = src->info[j].id;
2993 stuff->dst = dst->info[j].id;
3018 VERIFY_XIN_PICTURE(src, stuff->src, client, DixReadAccess);
3019 VERIFY_XIN_PICTURE(dst, stuff->dst, client, DixWriteAccess);
3024 memcpy(extra, stuff + 1, extra_len);
3028 memcpy(stuff + 1, extra, extra_len);
3034 xPointFixed *fixed = (xPointFixed *) (stuff + 1);
3045 stuff->src = src->info[j].id;
3046 stuff->dst = dst->info[j].id;
3071 VERIFY_XIN_PICTURE(src, stuff->src, client, DixReadAccess);
3072 VERIFY_XIN_PICTURE(dst, stuff->dst, client, DixWriteAccess);
3077 memcpy(extra, stuff + 1, extra_len);
3081 memcpy(stuff + 1, extra, extra_len);
3087 xPointFixed *fixed = (xPointFixed *) (stuff + 1);
3098 stuff->src = src->info[j].id;
3099 stuff->dst = dst->info[j].id;
3124 VERIFY_XIN_PICTURE(picture, stuff->picture, client, DixWriteAccess);
3127 memcpy(extra, stuff + 1, extra_len);
3128 x_off = stuff->xOff;
3129 y_off = stuff->yOff;
3132 memcpy(stuff + 1, extra, extra_len);
3133 stuff->picture = picture->info[j].id;
3136 stuff->xOff = x_off + screenInfo.screens[j]->x;
3137 stuff->yOff = y_off + screenInfo.screens[j]->y;
3162 panoramix_setup_ids(newPict, client, stuff->pid);
3166 stuff->pid = newPict->info[j].id;
3193 panoramix_setup_ids(newPict, client, stuff->pid);
3197 stuff->pid = newPict->info[j].id;
3225 panoramix_setup_ids(newPict, client, stuff->pid);
3229 stuff->pid = newPict->info[j].id;
3257 panoramix_setup_ids(newPict, client, stuff->pid);
3261 stuff->pid = newPict->info[j].id;