Lines Matching defs:stuff

283     pRenderClient->major_version = stuff->majorVersion;
284 pRenderClient->minor_version = stuff->minorVersion;
291 if ((stuff->majorVersion * 1000 + stuff->minorVersion) <
294 rep.majorVersion = stuff->majorVersion;
295 rep.minorVersion = stuff->minorVersion;
548 rc = dixLookupResourceByType((pointer *)&pFormat, stuff->format,
555 client->errorValue = stuff->format;
611 LEGAL_NEW_RESOURCE(stuff->pid, client);
612 rc = dixLookupDrawable(&pDrawable, stuff->drawable, client, 0,
617 rc = dixLookupResourceByType((pointer *)&pFormat, stuff->format,
625 if (Ones(stuff->mask) != len)
628 pPicture = CreatePicture (stuff->pid,
631 stuff->mask,
632 (XID *) (stuff + 1),
637 if (!AddResource (stuff->pid, PictureType, (pointer)pPicture))
650 VERIFY_PICTURE (pPicture, stuff->picture, client, DixSetAttrAccess);
653 if (Ones(stuff->mask) != len)
656 return ChangePicture (pPicture, stuff->mask, (XID *) (stuff + 1),
668 VERIFY_PICTURE (pPicture, stuff->picture, client, DixSetAttrAccess);
677 stuff->xOrigin, stuff->yOrigin,
678 nr, (xRectangle *) &stuff[1]);
689 VERIFY_PICTURE (pPicture, stuff->picture, client, DixDestroyAccess);
690 FreeResource (stuff->picture, RT_NONE);
715 if (!PictOpValid (stuff->op))
717 client->errorValue = stuff->op;
720 VERIFY_PICTURE (pDst, stuff->dst, client, DixWriteAccess);
723 VERIFY_PICTURE (pSrc, stuff->src, client, DixReadAccess);
724 VERIFY_ALPHA (pMask, stuff->mask, client, DixReadAccess);
728 CompositePicture (stuff->op,
732 stuff->xSrc,
733 stuff->ySrc,
734 stuff->xMask,
735 stuff->yMask,
736 stuff->xDst,
737 stuff->yDst,
738 stuff->width,
739 stuff->height);
758 if (!PictOpValid (stuff->op))
760 client->errorValue = stuff->op;
763 VERIFY_PICTURE (pSrc, stuff->src, client, DixReadAccess);
764 VERIFY_PICTURE (pDst, stuff->dst, client, DixWriteAccess);
769 if (stuff->maskFormat)
771 rc = dixLookupResourceByType((pointer *)&pFormat, stuff->maskFormat,
783 CompositeTrapezoids (stuff->op, pSrc, pDst, pFormat,
784 stuff->xSrc, stuff->ySrc,
785 ntraps, (xTrapezoid *) &stuff[1]);
798 if (!PictOpValid (stuff->op))
800 client->errorValue = stuff->op;
803 VERIFY_PICTURE (pSrc, stuff->src, client, DixReadAccess);
804 VERIFY_PICTURE (pDst, stuff->dst, client, DixWriteAccess);
809 if (stuff->maskFormat)
811 rc = dixLookupResourceByType((pointer *)&pFormat, stuff->maskFormat,
823 CompositeTriangles (stuff->op, pSrc, pDst, pFormat,
824 stuff->xSrc, stuff->ySrc,
825 ntris, (xTriangle *) &stuff[1]);
838 if (!PictOpValid (stuff->op))
840 client->errorValue = stuff->op;
843 VERIFY_PICTURE (pSrc, stuff->src, client, DixReadAccess);
844 VERIFY_PICTURE (pDst, stuff->dst, client, DixWriteAccess);
849 if (stuff->maskFormat)
851 rc = dixLookupResourceByType((pointer *)&pFormat, stuff->maskFormat,
863 CompositeTriStrip (stuff->op, pSrc, pDst, pFormat,
864 stuff->xSrc, stuff->ySrc,
865 npoints, (xPointFixed *) &stuff[1]);
878 if (!PictOpValid (stuff->op))
880 client->errorValue = stuff->op;
883 VERIFY_PICTURE (pSrc, stuff->src, client, DixReadAccess);
884 VERIFY_PICTURE (pDst, stuff->dst, client, DixWriteAccess);
889 if (stuff->maskFormat)
891 rc = dixLookupResourceByType((pointer *)&pFormat, stuff->maskFormat,
903 CompositeTriFan (stuff->op, pSrc, pDst, pFormat,
904 stuff->xSrc, stuff->ySrc,
905 npoints, (xPointFixed *) &stuff[1]);
937 LEGAL_NEW_RESOURCE(stuff->gsid, client);
938 rc = dixLookupResourceByType((pointer *)&format, stuff->format,
968 rc = XaceHook(XACE_RESOURCE_ACCESS, client, stuff->gsid, GlyphSetType,
972 if (!AddResource (stuff->gsid, GlyphSetType, (pointer)glyphSet))
986 LEGAL_NEW_RESOURCE(stuff->gsid, client);
988 rc = dixLookupResourceByType((pointer *)&glyphSet, stuff->existing, GlyphSetType,
992 client->errorValue = stuff->existing;
996 if (!AddResource (stuff->gsid, GlyphSetType, (pointer)glyphSet))
1012 rc = dixLookupResourceByType((pointer *)&glyphSet, stuff->glyphset, GlyphSetType,
1016 client->errorValue = stuff->glyphset;
1019 FreeResource (stuff->glyphset, RT_NONE);
1051 err = dixLookupResourceByType((pointer *)&glyphSet, stuff->glyphset, GlyphSetType,
1055 client->errorValue = stuff->glyphset;
1060 nglyphs = stuff->nglyphs;
1081 gids = (CARD32 *) (stuff + 1);
1087 if (gi < ((xGlyphInfo *)stuff) ||
1088 gi > ((xGlyphInfo *)((CARD32 *)stuff + client->req_len)) ||
1089 bits < ((CARD8 *)stuff) ||
1090 bits > ((CARD8 *)((CARD32 *)stuff + client->req_len))) {
1262 rc = dixLookupResourceByType((pointer *)&glyphSet, stuff->glyphset, GlyphSetType,
1266 client->errorValue = stuff->glyphset;
1270 gids = (CARD32 *) (stuff + 1);
1307 switch (stuff->renderReqType) {
1313 if (!PictOpValid (stuff->op))
1315 client->errorValue = stuff->op;
1318 VERIFY_PICTURE (pSrc, stuff->src, client, DixReadAccess);
1319 VERIFY_PICTURE (pDst, stuff->dst, client, DixWriteAccess);
1324 if (stuff->maskFormat)
1326 rc = dixLookupResourceByType((pointer *)&pFormat, stuff->maskFormat,
1334 rc = dixLookupResourceByType((pointer *)&glyphSet, stuff->glyphset,
1339 buffer = (CARD8 *) (stuff + 1);
1340 end = (CARD8 *) stuff + (client->req_len << 2);
1380 buffer = (CARD8 *) (stuff + 1);
1440 CompositeGlyphs (stuff->op,
1444 stuff->xSrc,
1445 stuff->ySrc,
1467 if (!PictOpValid (stuff->op))
1469 client->errorValue = stuff->op;
1472 VERIFY_PICTURE (pDst, stuff->dst, client, DixWriteAccess);
1481 CompositeRects (stuff->op,
1483 &stuff->color,
1485 (xRectangle *) &stuff[1]);
1535 LEGAL_NEW_RESOURCE(stuff->cid, client);
1537 VERIFY_PICTURE (pSrc, stuff->src, client, DixReadAccess);
1545 if ( stuff->x > width
1546 || stuff->y > height )
1697 cm.xhot = stuff->x;
1698 cm.yhot = stuff->y;
1706 &pCursor, client, stuff->cid);
1709 if (!AddResource(stuff->cid, RT_CURSOR, (pointer)pCursor))
1722 VERIFY_PICTURE (pPicture, stuff->picture, client, DixSetAttrAccess);
1723 return SetPictureTransform (pPicture, (PictTransform *) &stuff->transform);
1741 rc = dixLookupDrawable(&pDrawable, stuff->drawable, client, 0,
1847 VERIFY_PICTURE (pPicture, stuff->picture, client, DixSetAttrAccess);
1848 name = (char *) (stuff + 1);
1849 params = (xFixed *) (name + pad_to_int32(stuff->nbytes));
1850 nparams = ((xFixed *) stuff + client->req_len) - params;
1854 result = SetPictureFilter (pPicture, name, stuff->nbytes, params, nparams);
1871 LEGAL_NEW_RESOURCE(stuff->cid, client);
1879 elt = (xAnimCursorElt *) (stuff + 1);
1893 stuff->cid);
1898 if (AddResource (stuff->cid, RT_CURSOR, (pointer)pCursor))
1911 VERIFY_PICTURE (pPicture, stuff->picture, client, DixWriteAccess);
1920 stuff->xOff, stuff->yOff,
1921 ntraps, (xTrap *) &stuff[1]);
1933 LEGAL_NEW_RESOURCE(stuff->pid, client);
1935 pPicture = CreateSolidPicture(stuff->pid, &stuff->color, &error);
1939 error = XaceHook(XACE_RESOURCE_ACCESS, client, stuff->pid, PictureType,
1943 if (!AddResource (stuff->pid, PictureType, (pointer)pPicture))
1959 LEGAL_NEW_RESOURCE(stuff->pid, client);
1962 if (stuff->nStops > UINT32_MAX/(sizeof(xFixed) + sizeof(xRenderColor)))
1964 if (len != stuff->nStops*(sizeof(xFixed) + sizeof(xRenderColor)))
1967 stops = (xFixed *)(stuff + 1);
1968 colors = (xRenderColor *)(stops + stuff->nStops);
1970 pPicture = CreateLinearGradientPicture (stuff->pid, &stuff->p1, &stuff->p2,
1971 stuff->nStops, stops, colors, &error);
1975 error = XaceHook(XACE_RESOURCE_ACCESS, client, stuff->pid, PictureType,
1979 if (!AddResource (stuff->pid, PictureType, (pointer)pPicture))
1995 LEGAL_NEW_RESOURCE(stuff->pid, client);
1998 if (len != stuff->nStops*(sizeof(xFixed) + sizeof(xRenderColor)))
2001 stops = (xFixed *)(stuff + 1);
2002 colors = (xRenderColor *)(stops + stuff->nStops);
2004 pPicture = CreateRadialGradientPicture (stuff->pid, &stuff->inner, &stuff->outer,
2005 stuff->inner_radius, stuff->outer_radius,
2006 stuff->nStops, stops, colors, &error);
2010 error = XaceHook(XACE_RESOURCE_ACCESS, client, stuff->pid, PictureType,
2014 if (!AddResource (stuff->pid, PictureType, (pointer)pPicture))
2030 LEGAL_NEW_RESOURCE(stuff->pid, client);
2033 if (len != stuff->nStops*(sizeof(xFixed) + sizeof(xRenderColor)))
2036 stops = (xFixed *)(stuff + 1);
2037 colors = (xRenderColor *)(stops + stuff->nStops);
2039 pPicture = CreateConicalGradientPicture (stuff->pid, &stuff->center, stuff->angle,
2040 stuff->nStops, stops, colors, &error);
2044 error = XaceHook(XACE_RESOURCE_ACCESS, client, stuff->pid, PictureType,
2048 if (!AddResource (stuff->pid, PictureType, (pointer)pPicture))
2059 if (stuff->data < RenderNumberRequests)
2060 return (*ProcRenderVector[stuff->data]) (client);
2072 swaps(&stuff->length, n);
2073 swapl(&stuff->majorVersion, n);
2074 swapl(&stuff->minorVersion, n);
2075 return (*ProcRenderVector[stuff->renderReqType])(client);
2084 swaps(&stuff->length, n);
2085 return (*ProcRenderVector[stuff->renderReqType]) (client);
2094 swaps(&stuff->length, n);
2095 swapl(&stuff->format, n);
2096 return (*ProcRenderVector[stuff->renderReqType]) (client);
2111 swaps(&stuff->length, n);
2112 swapl(&stuff->pid, n);
2113 swapl(&stuff->drawable, n);
2114 swapl(&stuff->format, n);
2115 swapl(&stuff->mask, n);
2116 SwapRestL(stuff);
2117 return (*ProcRenderVector[stuff->renderReqType]) (client);
2126 swaps(&stuff->length, n);
2127 swapl(&stuff->picture, n);
2128 swapl(&stuff->mask, n);
2129 SwapRestL(stuff);
2130 return (*ProcRenderVector[stuff->renderReqType]) (client);
2139 swaps(&stuff->length, n);
2140 swapl(&stuff->picture, n);
2141 swaps(&stuff->xOrigin, n);
2142 swaps(&stuff->yOrigin, n);
2143 SwapRestS(stuff);
2144 return (*ProcRenderVector[stuff->renderReqType]) (client);
2153 swaps(&stuff->length, n);
2154 swapl(&stuff->picture, n);
2155 return (*ProcRenderVector[stuff->renderReqType]) (client);
2164 swaps(&stuff->length, n);
2165 swapl(&stuff->src, n);
2166 swapl(&stuff->mask, n);
2167 swapl(&stuff->dst, n);
2168 swaps(&stuff->xSrc, n);
2169 swaps(&stuff->ySrc, n);
2170 swaps(&stuff->xMask, n);
2171 swaps(&stuff->yMask, n);
2172 swaps(&stuff->xDst, n);
2173 swaps(&stuff->yDst, n);
2174 swaps(&stuff->width, n);
2175 swaps(&stuff->height, n);
2176 return (*ProcRenderVector[stuff->renderReqType]) (client);
2185 swaps(&stuff->length, n);
2186 swapl(&stuff->src, n);
2187 swapl(&stuff->dst, n);
2188 swapl(&stuff->colorScale, n);
2189 swapl(&stuff->alphaScale, n);
2190 swaps(&stuff->xSrc, n);
2191 swaps(&stuff->ySrc, n);
2192 swaps(&stuff->xDst, n);
2193 swaps(&stuff->yDst, n);
2194 swaps(&stuff->width, n);
2195 swaps(&stuff->height, n);
2196 return (*ProcRenderVector[stuff->renderReqType]) (client);
2206 swaps (&stuff->length, n);
2207 swapl (&stuff->src, n);
2208 swapl (&stuff->dst, n);
2209 swapl (&stuff->maskFormat, n);
2210 swaps (&stuff->xSrc, n);
2211 swaps (&stuff->ySrc, n);
2212 SwapRestL(stuff);
2213 return (*ProcRenderVector[stuff->renderReqType]) (client);
2223 swaps (&stuff->length, n);
2224 swapl (&stuff->src, n);
2225 swapl (&stuff->dst, n);
2226 swapl (&stuff->maskFormat, n);
2227 swaps (&stuff->xSrc, n);
2228 swaps (&stuff->ySrc, n);
2229 SwapRestL(stuff);
2230 return (*ProcRenderVector[stuff->renderReqType]) (client);
2240 swaps (&stuff->length, n);
2241 swapl (&stuff->src, n);
2242 swapl (&stuff->dst, n);
2243 swapl (&stuff->maskFormat, n);
2244 swaps (&stuff->xSrc, n);
2245 swaps (&stuff->ySrc, n);
2246 SwapRestL(stuff);
2247 return (*ProcRenderVector[stuff->renderReqType]) (client);
2257 swaps (&stuff->length, n);
2258 swapl (&stuff->src, n);
2259 swapl (&stuff->dst, n);
2260 swapl (&stuff->maskFormat, n);
2261 swaps (&stuff->xSrc, n);
2262 swaps (&stuff->ySrc, n);
2263 SwapRestL(stuff);
2264 return (*ProcRenderVector[stuff->renderReqType]) (client);
2291 swaps(&stuff->length, n);
2292 swapl(&stuff->gsid, n);
2293 swapl(&stuff->format, n);
2294 return (*ProcRenderVector[stuff->renderReqType]) (client);
2303 swaps(&stuff->length, n);
2304 swapl(&stuff->gsid, n);
2305 swapl(&stuff->existing, n);
2306 return (*ProcRenderVector[stuff->renderReqType]) (client);
2315 swaps(&stuff->length, n);
2316 swapl(&stuff->glyphset, n);
2317 return (*ProcRenderVector[stuff->renderReqType]) (client);
2330 swaps(&stuff->length, n);
2331 swapl(&stuff->glyphset, n);
2332 swapl(&stuff->nglyphs, n);
2333 if (stuff->nglyphs & 0xe0000000)
2335 end = (CARD8 *) stuff + (client->req_len << 2);
2336 gids = (CARD32 *) (stuff + 1);
2337 gi = (xGlyphInfo *) (gids + stuff->nglyphs);
2338 if ((char *) end - (char *) (gids + stuff->nglyphs) < 0)
2340 if ((char *) end - (char *) (gi + stuff->nglyphs) < 0)
2342 for (i = 0; i < stuff->nglyphs; i++)
2352 return (*ProcRenderVector[stuff->renderReqType]) (client);
2367 swaps(&stuff->length, n);
2368 swapl(&stuff->glyphset, n);
2369 SwapRestL(stuff);
2370 return (*ProcRenderVector[stuff->renderReqType]) (client);
2387 switch (stuff->renderReqType) {
2393 swaps(&stuff->length, n);
2394 swapl(&stuff->src, n);
2395 swapl(&stuff->dst, n);
2396 swapl(&stuff->maskFormat, n);
2397 swapl(&stuff->glyphset, n);
2398 swaps(&stuff->xSrc, n);
2399 swaps(&stuff->ySrc, n);
2400 buffer = (CARD8 *) (stuff + 1);
2401 end = (CARD8 *) stuff + (client->req_len << 2);
2442 return (*ProcRenderVector[stuff->renderReqType]) (client);
2452 swaps(&stuff->length, n);
2453 swapl(&stuff->dst, n);
2454 swaps(&stuff->color.red, n);
2455 swaps(&stuff->color.green, n);
2456 swaps(&stuff->color.blue, n);
2457 swaps(&stuff->color.alpha, n);
2458 SwapRestS(stuff);
2459 return (*ProcRenderVector[stuff->renderReqType]) (client);
2469 swaps(&stuff->length, n);
2470 swapl(&stuff->cid, n);
2471 swapl(&stuff->src, n);
2472 swaps(&stuff->x, n);
2473 swaps(&stuff->y, n);
2474 return (*ProcRenderVector[stuff->renderReqType]) (client);
2484 swaps(&stuff->length, n);
2485 swapl(&stuff->picture, n);
2486 swapl(&stuff->transform.matrix11, n);
2487 swapl(&stuff->transform.matrix12, n);
2488 swapl(&stuff->transform.matrix13, n);
2489 swapl(&stuff->transform.matrix21, n);
2490 swapl(&stuff->transform.matrix22, n);
2491 swapl(&stuff->transform.matrix23, n);
2492 swapl(&stuff->transform.matrix31, n);
2493 swapl(&stuff->transform.matrix32, n);
2494 swapl(&stuff->transform.matrix33, n);
2495 return (*ProcRenderVector[stuff->renderReqType]) (client);
2505 swaps(&stuff->length, n);
2506 swapl(&stuff->drawable, n);
2507 return (*ProcRenderVector[stuff->renderReqType]) (client);
2517 swaps(&stuff->length, n);
2518 swapl(&stuff->picture, n);
2519 swaps(&stuff->nbytes, n);
2520 return (*ProcRenderVector[stuff->renderReqType]) (client);
2530 swaps(&stuff->length, n);
2531 swapl(&stuff->cid, n);
2532 SwapRestL(stuff);
2533 return (*ProcRenderVector[stuff->renderReqType]) (client);
2543 swaps(&stuff->length, n);
2544 swapl(&stuff->picture, n);
2545 swaps(&stuff->xOff, n);
2546 swaps(&stuff->yOff, n);
2547 SwapRestL(stuff);
2548 return (*ProcRenderVector[stuff->renderReqType]) (client);
2558 swaps(&stuff->length, n);
2559 swapl(&stuff->pid, n);
2560 swaps(&stuff->color.alpha, n);
2561 swaps(&stuff->color.red, n);
2562 swaps(&stuff->color.green, n);
2563 swaps(&stuff->color.blue, n);
2564 return (*ProcRenderVector[stuff->renderReqType]) (client);
2567 static void swapStops(void *stuff, int num)
2572 stops = (CARD32 *)(stuff);
2592 swaps(&stuff->length, n);
2593 swapl(&stuff->pid, n);
2594 swapl(&stuff->p1.x, n);
2595 swapl(&stuff->p1.y, n);
2596 swapl(&stuff->p2.x, n);
2597 swapl(&stuff->p2.y, n);
2598 swapl(&stuff->nStops, n);
2601 if (stuff->nStops > UINT32_MAX/(sizeof(xFixed) + sizeof(xRenderColor)))
2603 if (len != stuff->nStops*(sizeof(xFixed) + sizeof(xRenderColor)))
2606 swapStops(stuff+1, stuff->nStops);
2608 return (*ProcRenderVector[stuff->renderReqType]) (client);
2619 swaps(&stuff->length, n);
2620 swapl(&stuff->pid, n);
2621 swapl(&stuff->inner.x, n);
2622 swapl(&stuff->inner.y, n);
2623 swapl(&stuff->outer.x, n);
2624 swapl(&stuff->outer.y, n);
2625 swapl(&stuff->inner_radius, n);
2626 swapl(&stuff->outer_radius, n);
2627 swapl(&stuff->nStops, n);
2630 if (stuff->nStops > UINT32_MAX/(sizeof(xFixed) + sizeof(xRenderColor)))
2632 if (len != stuff->nStops*(sizeof(xFixed) + sizeof(xRenderColor)))
2635 swapStops(stuff+1, stuff->nStops);
2637 return (*ProcRenderVector[stuff->renderReqType]) (client);
2648 swaps(&stuff->length, n);
2649 swapl(&stuff->pid, n);
2650 swapl(&stuff->center.x, n);
2651 swapl(&stuff->center.y, n);
2652 swapl(&stuff->angle, n);
2653 swapl(&stuff->nStops, n);
2656 if (stuff->nStops > UINT32_MAX/(sizeof(xFixed) + sizeof(xRenderColor)))
2658 if (len != stuff->nStops*(sizeof(xFixed) + sizeof(xRenderColor)))
2661 swapStops(stuff+1, stuff->nStops);
2663 return (*ProcRenderVector[stuff->renderReqType]) (client);
2671 if (stuff->data < RenderNumberRequests)
2672 return (*SProcRenderVector[stuff->data]) (client);
2703 result = dixLookupResourceByClass((pointer *)&refDraw, stuff->drawable,
2710 newPict->info[0].id = stuff->pid;
2713 stuff->drawable == screenInfo.screens[0]->root->drawable.id)
2724 stuff->pid = newPict->info[j].id;
2725 stuff->drawable = refDraw->info[j].id;
2747 VERIFY_XIN_PICTURE(pict, stuff->picture, client, DixWriteAccess);
2750 stuff->picture = pict->info[j].id;
2767 VERIFY_XIN_PICTURE(pict, stuff->picture, client, DixWriteAccess);
2770 stuff->picture = pict->info[j].id;
2787 VERIFY_XIN_PICTURE(pict, stuff->picture, client, DixWriteAccess);
2790 stuff->picture = pict->info[j].id;
2807 VERIFY_XIN_PICTURE(pict, stuff->picture, client, DixWriteAccess);
2810 stuff->picture = pict->info[j].id;
2827 client->errorValue = stuff->picture;
2829 VERIFY_XIN_PICTURE(pict, stuff->picture, client, DixDestroyAccess);
2833 stuff->picture = pict->info[j].id;
2854 VERIFY_XIN_PICTURE (src, stuff->src, client, DixReadAccess);
2855 VERIFY_XIN_ALPHA (msk, stuff->mask, client, DixReadAccess);
2856 VERIFY_XIN_PICTURE (dst, stuff->dst, client, DixWriteAccess);
2858 orig = *stuff;
2861 stuff->src = src->info[j].id;
2864 stuff->xSrc = orig.xSrc - screenInfo.screens[j]->x;
2865 stuff->ySrc = orig.ySrc - screenInfo.screens[j]->y;
2867 stuff->dst = dst->info[j].id;
2870 stuff->xDst = orig.xDst - screenInfo.screens[j]->x;
2871 stuff->yDst = orig.yDst - screenInfo.screens[j]->y;
2875 stuff->mask = msk->info[j].id;
2878 stuff->xMask = orig.xMask - screenInfo.screens[j]->x;
2879 stuff->yMask = orig.yMask - screenInfo.screens[j]->y;
2899 VERIFY_XIN_PICTURE (src, stuff->src, client, DixReadAccess);
2900 VERIFY_XIN_PICTURE (dst, stuff->dst, client, DixWriteAccess);
2905 elt = (xGlyphElt *) (stuff + 1);
2907 xSrc = stuff->xSrc;
2908 ySrc = stuff->ySrc;
2910 stuff->src = src->info[j].id;
2913 stuff->xSrc = xSrc - screenInfo.screens[j]->x;
2914 stuff->ySrc = ySrc - screenInfo.screens[j]->y;
2916 stuff->dst = dst->info[j].id;
2922 result = (*PanoramiXSaveRenderVector[stuff->renderReqType]) (client);
2940 VERIFY_XIN_PICTURE (dst, stuff->dst, client, DixWriteAccess);
2945 memcpy (extra, stuff + 1, extra_len);
2947 if (j) memcpy (stuff + 1, extra, extra_len);
2954 xRectangle *rects = (xRectangle *) (stuff + 1);
2965 stuff->dst = dst->info[j].id;
2986 VERIFY_XIN_PICTURE (src, stuff->src, client, DixReadAccess);
2987 VERIFY_XIN_PICTURE (dst, stuff->dst, client, DixWriteAccess);
2993 memcpy (extra, stuff + 1, extra_len);
2996 if (j) memcpy (stuff + 1, extra, extra_len);
3002 xTrapezoid *trap = (xTrapezoid *) (stuff + 1);
3021 stuff->src = src->info[j].id;
3022 stuff->dst = dst->info[j].id;
3046 VERIFY_XIN_PICTURE (src, stuff->src, client, DixReadAccess);
3047 VERIFY_XIN_PICTURE (dst, stuff->dst, client, DixWriteAccess);
3053 memcpy (extra, stuff + 1, extra_len);
3056 if (j) memcpy (stuff + 1, extra, extra_len);
3062 xTriangle *tri = (xTriangle *) (stuff + 1);
3077 stuff->src = src->info[j].id;
3078 stuff->dst = dst->info[j].id;
3102 VERIFY_XIN_PICTURE (src, stuff->src, client, DixReadAccess);
3103 VERIFY_XIN_PICTURE (dst, stuff->dst, client, DixWriteAccess);
3109 memcpy (extra, stuff + 1, extra_len);
3112 if (j) memcpy (stuff + 1, extra, extra_len);
3118 xPointFixed *fixed = (xPointFixed *) (stuff + 1);
3129 stuff->src = src->info[j].id;
3130 stuff->dst = dst->info[j].id;
3154 VERIFY_XIN_PICTURE (src, stuff->src, client, DixReadAccess);
3155 VERIFY_XIN_PICTURE (dst, stuff->dst, client, DixWriteAccess);
3161 memcpy (extra, stuff + 1, extra_len);
3164 if (j) memcpy (stuff + 1, extra, extra_len);
3170 xPointFixed *fixed = (xPointFixed *) (stuff + 1);
3181 stuff->src = src->info[j].id;
3182 stuff->dst = dst->info[j].id;
3206 VERIFY_XIN_PICTURE (picture, stuff->picture, client, DixWriteAccess);
3211 memcpy (extra, stuff + 1, extra_len);
3212 x_off = stuff->xOff;
3213 y_off = stuff->yOff;
3215 if (j) memcpy (stuff + 1, extra, extra_len);
3216 stuff->picture = picture->info[j].id;
3220 stuff->xOff = x_off + screenInfo.screens[j]->x;
3221 stuff->yOff = y_off + screenInfo.screens[j]->y;
3245 newPict->info[0].id = stuff->pid;
3252 stuff->pid = newPict->info[j].id;
3278 newPict->info[0].id = stuff->pid;
3285 stuff->pid = newPict->info[j].id;
3311 newPict->info[0].id = stuff->pid;
3318 stuff->pid = newPict->info[j].id;
3344 newPict->info[0].id = stuff->pid;
3351 stuff->pid = newPict->info[j].id;