Lines Matching refs:stuff
72 if (Ones(stuff->mask) != len) in PanoramiXCreateWindow()
75 result = dixLookupResourceByType((void **) &parent, stuff->parent, in PanoramiXCreateWindow()
80 if (stuff->class == CopyFromParent) in PanoramiXCreateWindow()
81 stuff->class = parent->u.win.class; in PanoramiXCreateWindow()
83 if ((stuff->class == InputOnly) && (stuff->mask & (~INPUTONLY_LEGAL_MASK))) in PanoramiXCreateWindow()
86 if ((Mask) stuff->mask & CWBackPixmap) { in PanoramiXCreateWindow()
87 pback_offset = Ones((Mask) stuff->mask & (CWBackPixmap - 1)); in PanoramiXCreateWindow()
88 tmp = *((CARD32 *) &stuff[1] + pback_offset); in PanoramiXCreateWindow()
96 if ((Mask) stuff->mask & CWBorderPixmap) { in PanoramiXCreateWindow()
97 pbord_offset = Ones((Mask) stuff->mask & (CWBorderPixmap - 1)); in PanoramiXCreateWindow()
98 tmp = *((CARD32 *) &stuff[1] + pbord_offset); in PanoramiXCreateWindow()
106 if ((Mask) stuff->mask & CWColormap) { in PanoramiXCreateWindow()
107 cmap_offset = Ones((Mask) stuff->mask & (CWColormap - 1)); in PanoramiXCreateWindow()
108 tmp = *((CARD32 *) &stuff[1] + cmap_offset); in PanoramiXCreateWindow()
123 newWin->u.win.class = stuff->class; in PanoramiXCreateWindow()
125 panoramix_setup_ids(newWin, client, stuff->wid); in PanoramiXCreateWindow()
127 if (stuff->class == InputOnly) in PanoramiXCreateWindow()
128 stuff->visual = CopyFromParent; in PanoramiXCreateWindow()
129 orig_visual = stuff->visual; in PanoramiXCreateWindow()
130 orig_x = stuff->x; in PanoramiXCreateWindow()
131 orig_y = stuff->y; in PanoramiXCreateWindow()
132 parentIsRoot = (stuff->parent == screenInfo.screens[0]->root->drawable.id) in PanoramiXCreateWindow()
133 || (stuff->parent == screenInfo.screens[0]->screensaver.wid); in PanoramiXCreateWindow()
135 stuff->wid = newWin->info[j].id; in PanoramiXCreateWindow()
136 stuff->parent = parent->info[j].id; in PanoramiXCreateWindow()
138 stuff->x = orig_x - screenInfo.screens[j]->x; in PanoramiXCreateWindow()
139 stuff->y = orig_y - screenInfo.screens[j]->y; in PanoramiXCreateWindow()
142 *((CARD32 *) &stuff[1] + pback_offset) = backPix->info[j].id; in PanoramiXCreateWindow()
144 *((CARD32 *) &stuff[1] + pbord_offset) = bordPix->info[j].id; in PanoramiXCreateWindow()
146 *((CARD32 *) &stuff[1] + cmap_offset) = cmap->info[j].id; in PanoramiXCreateWindow()
148 stuff->visual = PanoramiXTranslateVisualID(j, orig_visual); in PanoramiXCreateWindow()
178 if (Ones(stuff->valueMask) != len) in PanoramiXChangeWindowAttributes()
181 result = dixLookupResourceByType((void **) &win, stuff->window, in PanoramiXChangeWindowAttributes()
187 (stuff->valueMask & (~INPUTONLY_LEGAL_MASK))) in PanoramiXChangeWindowAttributes()
190 if ((Mask) stuff->valueMask & CWBackPixmap) { in PanoramiXChangeWindowAttributes()
191 pback_offset = Ones((Mask) stuff->valueMask & (CWBackPixmap - 1)); in PanoramiXChangeWindowAttributes()
192 tmp = *((CARD32 *) &stuff[1] + pback_offset); in PanoramiXChangeWindowAttributes()
200 if ((Mask) stuff->valueMask & CWBorderPixmap) { in PanoramiXChangeWindowAttributes()
201 pbord_offset = Ones((Mask) stuff->valueMask & (CWBorderPixmap - 1)); in PanoramiXChangeWindowAttributes()
202 tmp = *((CARD32 *) &stuff[1] + pbord_offset); in PanoramiXChangeWindowAttributes()
210 if ((Mask) stuff->valueMask & CWColormap) { in PanoramiXChangeWindowAttributes()
211 cmap_offset = Ones((Mask) stuff->valueMask & (CWColormap - 1)); in PanoramiXChangeWindowAttributes()
212 tmp = *((CARD32 *) &stuff[1] + cmap_offset); in PanoramiXChangeWindowAttributes()
223 stuff->window = win->info[j].id; in PanoramiXChangeWindowAttributes()
225 *((CARD32 *) &stuff[1] + pback_offset) = backPix->info[j].id; in PanoramiXChangeWindowAttributes()
227 *((CARD32 *) &stuff[1] + pbord_offset) = bordPix->info[j].id; in PanoramiXChangeWindowAttributes()
229 *((CARD32 *) &stuff[1] + cmap_offset) = cmap->info[j].id; in PanoramiXChangeWindowAttributes()
246 result = dixLookupResourceByType((void **) &win, stuff->id, XRT_WINDOW, in PanoramiXDestroyWindow()
252 stuff->id = win->info[j].id; in PanoramiXDestroyWindow()
274 result = dixLookupResourceByType((void **) &win, stuff->id, XRT_WINDOW, in PanoramiXDestroySubwindows()
280 stuff->id = win->info[j].id; in PanoramiXDestroySubwindows()
302 result = dixLookupResourceByType((void **) &win, stuff->window, in PanoramiXChangeSaveSet()
308 stuff->window = win->info[j].id; in PanoramiXChangeSaveSet()
329 result = dixLookupResourceByType((void **) &win, stuff->window, in PanoramiXReparentWindow()
334 result = dixLookupResourceByType((void **) &parent, stuff->parent, in PanoramiXReparentWindow()
339 x = stuff->x; in PanoramiXReparentWindow()
340 y = stuff->y; in PanoramiXReparentWindow()
341 parentIsRoot = (stuff->parent == screenInfo.screens[0]->root->drawable.id) in PanoramiXReparentWindow()
342 || (stuff->parent == screenInfo.screens[0]->screensaver.wid); in PanoramiXReparentWindow()
344 stuff->window = win->info[j].id; in PanoramiXReparentWindow()
345 stuff->parent = parent->info[j].id; in PanoramiXReparentWindow()
347 stuff->x = x - screenInfo.screens[j]->x; in PanoramiXReparentWindow()
348 stuff->y = y - screenInfo.screens[j]->y; in PanoramiXReparentWindow()
368 result = dixLookupResourceByType((void **) &win, stuff->id, in PanoramiXMapWindow()
374 stuff->id = win->info[j].id; in PanoramiXMapWindow()
393 result = dixLookupResourceByType((void **) &win, stuff->id, in PanoramiXMapSubwindows()
399 stuff->id = win->info[j].id; in PanoramiXMapSubwindows()
418 result = dixLookupResourceByType((void **) &win, stuff->id, in PanoramiXUnmapWindow()
424 stuff->id = win->info[j].id; in PanoramiXUnmapWindow()
443 result = dixLookupResourceByType((void **) &win, stuff->id, in PanoramiXUnmapSubwindows()
449 stuff->id = win->info[j].id; in PanoramiXUnmapSubwindows()
473 if (Ones(stuff->mask) != len) in PanoramiXConfigureWindow()
477 result = dixLookupResourceByType((void **) &pWin, stuff->window, in PanoramiXConfigureWindow()
482 result = dixLookupResourceByType((void **) &win, stuff->window, in PanoramiXConfigureWindow()
487 if ((Mask) stuff->mask & CWSibling) { in PanoramiXConfigureWindow()
490 sib_offset = Ones((Mask) stuff->mask & (CWSibling - 1)); in PanoramiXConfigureWindow()
491 if ((tmp = *((CARD32 *) &stuff[1] + sib_offset))) { in PanoramiXConfigureWindow()
502 if ((Mask) stuff->mask & CWX) { in PanoramiXConfigureWindow()
504 x = *((CARD32 *) &stuff[1]); in PanoramiXConfigureWindow()
506 if ((Mask) stuff->mask & CWY) { in PanoramiXConfigureWindow()
508 y = *((CARD32 *) &stuff[1] + y_offset); in PanoramiXConfigureWindow()
515 stuff->window = win->info[j].id; in PanoramiXConfigureWindow()
517 *((CARD32 *) &stuff[1] + sib_offset) = sib->info[j].id; in PanoramiXConfigureWindow()
519 *((CARD32 *) &stuff[1] + x_offset) = x - screenInfo.screens[j]->x; in PanoramiXConfigureWindow()
521 *((CARD32 *) &stuff[1] + y_offset) = y - screenInfo.screens[j]->y; in PanoramiXConfigureWindow()
540 result = dixLookupResourceByType((void **) &win, stuff->window, in PanoramiXCirculateWindow()
546 stuff->window = win->info[j].id; in PanoramiXCirculateWindow()
565 rc = dixLookupDrawable(&pDraw, stuff->id, client, M_ANY, DixGetAttrAccess); in PanoramiXGetGeometry()
582 if (stuff->id == rep.root) { in PanoramiXGetGeometry()
618 rc = dixLookupWindow(&pWin, stuff->srcWid, client, DixReadAccess); in PanoramiXTranslateCoords()
621 rc = dixLookupWindow(&pDst, stuff->dstWid, client, DixReadAccess); in PanoramiXTranslateCoords()
634 x = stuff->srcX - screenInfo.screens[0]->x; in PanoramiXTranslateCoords()
635 y = stuff->srcY - screenInfo.screens[0]->y; in PanoramiXTranslateCoords()
638 x = pWin->drawable.x + stuff->srcX; in PanoramiXTranslateCoords()
639 y = pWin->drawable.y + stuff->srcY; in PanoramiXTranslateCoords()
688 client->errorValue = stuff->pid; in PanoramiXCreatePixmap()
690 result = dixLookupResourceByClass((void **) &refDraw, stuff->drawable, in PanoramiXCreatePixmap()
700 panoramix_setup_ids(newPix, client, stuff->pid); in PanoramiXCreatePixmap()
703 stuff->pid = newPix->info[j].id; in PanoramiXCreatePixmap()
704 stuff->drawable = refDraw->info[j].id; in PanoramiXCreatePixmap()
728 client->errorValue = stuff->id; in PanoramiXFreePixmap()
730 result = dixLookupResourceByType((void **) &pix, stuff->id, XRT_PIXMAP, in PanoramiXFreePixmap()
736 stuff->id = pix->info[j].id; in PanoramiXFreePixmap()
764 client->errorValue = stuff->gc; in PanoramiXCreateGC()
766 if (Ones(stuff->mask) != len) in PanoramiXCreateGC()
769 result = dixLookupResourceByClass((void **) &refDraw, stuff->drawable, in PanoramiXCreateGC()
774 if ((Mask) stuff->mask & GCTile) { in PanoramiXCreateGC()
775 tile_offset = Ones((Mask) stuff->mask & (GCTile - 1)); in PanoramiXCreateGC()
776 if ((tmp = *((CARD32 *) &stuff[1] + tile_offset))) { in PanoramiXCreateGC()
783 if ((Mask) stuff->mask & GCStipple) { in PanoramiXCreateGC()
784 stip_offset = Ones((Mask) stuff->mask & (GCStipple - 1)); in PanoramiXCreateGC()
785 if ((tmp = *((CARD32 *) &stuff[1] + stip_offset))) { in PanoramiXCreateGC()
792 if ((Mask) stuff->mask & GCClipMask) { in PanoramiXCreateGC()
793 clip_offset = Ones((Mask) stuff->mask & (GCClipMask - 1)); in PanoramiXCreateGC()
794 if ((tmp = *((CARD32 *) &stuff[1] + clip_offset))) { in PanoramiXCreateGC()
806 panoramix_setup_ids(newGC, client, stuff->gc); in PanoramiXCreateGC()
809 stuff->gc = newGC->info[j].id; in PanoramiXCreateGC()
810 stuff->drawable = refDraw->info[j].id; in PanoramiXCreateGC()
812 *((CARD32 *) &stuff[1] + tile_offset) = tile->info[j].id; in PanoramiXCreateGC()
814 *((CARD32 *) &stuff[1] + stip_offset) = stip->info[j].id; in PanoramiXCreateGC()
816 *((CARD32 *) &stuff[1] + clip_offset) = clip->info[j].id; in PanoramiXCreateGC()
846 if (Ones(stuff->mask) != len) in PanoramiXChangeGC()
849 result = dixLookupResourceByType((void **) &gc, stuff->gc, XRT_GC, in PanoramiXChangeGC()
854 if ((Mask) stuff->mask & GCTile) { in PanoramiXChangeGC()
855 tile_offset = Ones((Mask) stuff->mask & (GCTile - 1)); in PanoramiXChangeGC()
856 if ((tmp = *((CARD32 *) &stuff[1] + tile_offset))) { in PanoramiXChangeGC()
863 if ((Mask) stuff->mask & GCStipple) { in PanoramiXChangeGC()
864 stip_offset = Ones((Mask) stuff->mask & (GCStipple - 1)); in PanoramiXChangeGC()
865 if ((tmp = *((CARD32 *) &stuff[1] + stip_offset))) { in PanoramiXChangeGC()
872 if ((Mask) stuff->mask & GCClipMask) { in PanoramiXChangeGC()
873 clip_offset = Ones((Mask) stuff->mask & (GCClipMask - 1)); in PanoramiXChangeGC()
874 if ((tmp = *((CARD32 *) &stuff[1] + clip_offset))) { in PanoramiXChangeGC()
883 stuff->gc = gc->info[j].id; in PanoramiXChangeGC()
885 *((CARD32 *) &stuff[1] + tile_offset) = tile->info[j].id; in PanoramiXChangeGC()
887 *((CARD32 *) &stuff[1] + stip_offset) = stip->info[j].id; in PanoramiXChangeGC()
889 *((CARD32 *) &stuff[1] + clip_offset) = clip->info[j].id; in PanoramiXChangeGC()
908 result = dixLookupResourceByType((void **) &srcGC, stuff->srcGC, XRT_GC, in PanoramiXCopyGC()
913 result = dixLookupResourceByType((void **) &dstGC, stuff->dstGC, XRT_GC, in PanoramiXCopyGC()
919 stuff->srcGC = srcGC->info[j].id; in PanoramiXCopyGC()
920 stuff->dstGC = dstGC->info[j].id; in PanoramiXCopyGC()
937 REQUEST_FIXED_SIZE(xSetDashesReq, stuff->nDashes); in PanoramiXSetDashes()
939 result = dixLookupResourceByType((void **) &gc, stuff->gc, XRT_GC, in PanoramiXSetDashes()
945 stuff->gc = gc->info[j].id; in PanoramiXSetDashes()
964 result = dixLookupResourceByType((void **) &gc, stuff->gc, XRT_GC, in PanoramiXSetClipRectangles()
970 stuff->gc = gc->info[j].id; in PanoramiXSetClipRectangles()
989 result = dixLookupResourceByType((void **) &gc, stuff->id, XRT_GC, in PanoramiXFreeGC()
995 stuff->id = gc->info[j].id; in PanoramiXFreeGC()
1018 result = dixLookupResourceByType((void **) &win, stuff->window, in PanoramiXClearToBackground()
1023 x = stuff->x; in PanoramiXClearToBackground()
1024 y = stuff->y; in PanoramiXClearToBackground()
1027 stuff->window = win->info[j].id; in PanoramiXClearToBackground()
1029 stuff->x = x - screenInfo.screens[j]->x; in PanoramiXClearToBackground()
1030 stuff->y = y - screenInfo.screens[j]->y; in PanoramiXClearToBackground()
1063 result = dixLookupResourceByClass((void **) &src, stuff->srcDrawable, in PanoramiXCopyArea()
1070 result = dixLookupResourceByClass((void **) &dst, stuff->dstDrawable, in PanoramiXCopyArea()
1080 result = dixLookupResourceByType((void **) &gc, stuff->gc, XRT_GC, in PanoramiXCopyArea()
1090 srcx = stuff->srcX; in PanoramiXCopyArea()
1091 srcy = stuff->srcY; in PanoramiXCopyArea()
1092 dstx = stuff->dstX; in PanoramiXCopyArea()
1093 dsty = stuff->dstY; in PanoramiXCopyArea()
1094 width = stuff->width; in PanoramiXCopyArea()
1095 height = stuff->height; in PanoramiXCopyArea()
1122 stuff->gc = gc->info[j].id; in PanoramiXCopyArea()
1125 client->errorValue = stuff->dstDrawable; in PanoramiXCopyArea()
1199 stuff->dstDrawable = dst->info[j].id; in PanoramiXCopyArea()
1200 stuff->srcDrawable = src->info[j].id; in PanoramiXCopyArea()
1201 stuff->gc = gc->info[j].id; in PanoramiXCopyArea()
1203 stuff->srcX = srcx - screenInfo.screens[j]->x; in PanoramiXCopyArea()
1204 stuff->srcY = srcy - screenInfo.screens[j]->y; in PanoramiXCopyArea()
1207 stuff->dstX = dstx - screenInfo.screens[j]->x; in PanoramiXCopyArea()
1208 stuff->dstY = dsty - screenInfo.screens[j]->y; in PanoramiXCopyArea()
1211 VALIDATE_DRAWABLE_AND_GC(stuff->dstDrawable, pDst, DixWriteAccess); in PanoramiXCopyArea()
1213 if (stuff->dstDrawable != stuff->srcDrawable) { in PanoramiXCopyArea()
1214 rc = dixLookupDrawable(&pSrc, stuff->srcDrawable, client, 0, in PanoramiXCopyArea()
1221 client->errorValue = stuff->dstDrawable; in PanoramiXCopyArea()
1229 stuff->srcX, stuff->srcY, in PanoramiXCopyArea()
1230 stuff->width, stuff->height, in PanoramiXCopyArea()
1231 stuff->dstX, stuff->dstY); in PanoramiXCopyArea()
1250 SendGraphicsExpose(client, &totalReg, stuff->dstDrawable, in PanoramiXCopyArea()
1275 rc = dixLookupResourceByClass((void **) &src, stuff->srcDrawable, in PanoramiXCopyPlane()
1282 rc = dixLookupResourceByClass((void **) &dst, stuff->dstDrawable, in PanoramiXCopyPlane()
1292 rc = dixLookupResourceByType((void **) &gc, stuff->gc, XRT_GC, in PanoramiXCopyPlane()
1302 srcx = stuff->srcX; in PanoramiXCopyPlane()
1303 srcy = stuff->srcY; in PanoramiXCopyPlane()
1304 dstx = stuff->dstX; in PanoramiXCopyPlane()
1305 dsty = stuff->dstY; in PanoramiXCopyPlane()
1311 stuff->dstDrawable = dst->info[j].id; in PanoramiXCopyPlane()
1312 stuff->srcDrawable = src->info[j].id; in PanoramiXCopyPlane()
1313 stuff->gc = gc->info[j].id; in PanoramiXCopyPlane()
1315 stuff->srcX = srcx - screenInfo.screens[j]->x; in PanoramiXCopyPlane()
1316 stuff->srcY = srcy - screenInfo.screens[j]->y; in PanoramiXCopyPlane()
1319 stuff->dstX = dstx - screenInfo.screens[j]->x; in PanoramiXCopyPlane()
1320 stuff->dstY = dsty - screenInfo.screens[j]->y; in PanoramiXCopyPlane()
1323 VALIDATE_DRAWABLE_AND_GC(stuff->dstDrawable, pdstDraw, DixWriteAccess); in PanoramiXCopyPlane()
1324 if (stuff->dstDrawable != stuff->srcDrawable) { in PanoramiXCopyPlane()
1325 rc = dixLookupDrawable(&psrcDraw, stuff->srcDrawable, client, 0, in PanoramiXCopyPlane()
1331 client->errorValue = stuff->dstDrawable; in PanoramiXCopyPlane()
1338 if (stuff->bitPlane == 0 || (stuff->bitPlane & (stuff->bitPlane - 1)) || in PanoramiXCopyPlane()
1339 (stuff->bitPlane > (1L << (psrcDraw->depth - 1)))) { in PanoramiXCopyPlane()
1340 client->errorValue = stuff->bitPlane; in PanoramiXCopyPlane()
1345 stuff->srcX, stuff->srcY, in PanoramiXCopyPlane()
1346 stuff->width, stuff->height, in PanoramiXCopyPlane()
1347 stuff->dstX, stuff->dstY, in PanoramiXCopyPlane()
1348 stuff->bitPlane); in PanoramiXCopyPlane()
1362 SendGraphicsExpose(client, &totalReg, stuff->dstDrawable, in PanoramiXCopyPlane()
1382 result = dixLookupResourceByClass((void **) &draw, stuff->drawable, in PanoramiXPolyPoint()
1390 result = dixLookupResourceByType((void **) &gc, stuff->gc, XRT_GC, in PanoramiXPolyPoint()
1399 memcpy((char *) origPts, (char *) &stuff[1], npoint * sizeof(xPoint)); in PanoramiXPolyPoint()
1403 memcpy(&stuff[1], origPts, npoint * sizeof(xPoint)); in PanoramiXPolyPoint()
1410 xPoint *pnts = (xPoint *) &stuff[1]; in PanoramiXPolyPoint()
1412 (stuff->coordMode == CoordModePrevious) ? 1 : npoint; in PanoramiXPolyPoint()
1422 stuff->drawable = draw->info[j].id; in PanoramiXPolyPoint()
1423 stuff->gc = gc->info[j].id; in PanoramiXPolyPoint()
1447 result = dixLookupResourceByClass((void **) &draw, stuff->drawable, in PanoramiXPolyLine()
1455 result = dixLookupResourceByType((void **) &gc, stuff->gc, XRT_GC, in PanoramiXPolyLine()
1464 memcpy((char *) origPts, (char *) &stuff[1], npoint * sizeof(xPoint)); in PanoramiXPolyLine()
1468 memcpy(&stuff[1], origPts, npoint * sizeof(xPoint)); in PanoramiXPolyLine()
1475 xPoint *pnts = (xPoint *) &stuff[1]; in PanoramiXPolyLine()
1477 (stuff->coordMode == CoordModePrevious) ? 1 : npoint; in PanoramiXPolyLine()
1487 stuff->drawable = draw->info[j].id; in PanoramiXPolyLine()
1488 stuff->gc = gc->info[j].id; in PanoramiXPolyLine()
1512 result = dixLookupResourceByClass((void **) &draw, stuff->drawable, in PanoramiXPolySegment()
1520 result = dixLookupResourceByType((void **) &gc, stuff->gc, XRT_GC, in PanoramiXPolySegment()
1533 memcpy((char *) origSegs, (char *) &stuff[1], nsegs * sizeof(xSegment)); in PanoramiXPolySegment()
1537 memcpy(&stuff[1], origSegs, nsegs * sizeof(xSegment)); in PanoramiXPolySegment()
1544 xSegment *segs = (xSegment *) &stuff[1]; in PanoramiXPolySegment()
1555 stuff->drawable = draw->info[j].id; in PanoramiXPolySegment()
1556 stuff->gc = gc->info[j].id; in PanoramiXPolySegment()
1580 result = dixLookupResourceByClass((void **) &draw, stuff->drawable, in PanoramiXPolyRectangle()
1588 result = dixLookupResourceByType((void **) &gc, stuff->gc, XRT_GC, in PanoramiXPolyRectangle()
1601 memcpy((char *) origRecs, (char *) &stuff[1], in PanoramiXPolyRectangle()
1606 memcpy(&stuff[1], origRecs, nrects * sizeof(xRectangle)); in PanoramiXPolyRectangle()
1613 xRectangle *rects = (xRectangle *) &stuff[1]; in PanoramiXPolyRectangle()
1622 stuff->drawable = draw->info[j].id; in PanoramiXPolyRectangle()
1623 stuff->gc = gc->info[j].id; in PanoramiXPolyRectangle()
1647 result = dixLookupResourceByClass((void **) &draw, stuff->drawable, in PanoramiXPolyArc()
1655 result = dixLookupResourceByType((void **) &gc, stuff->gc, XRT_GC, in PanoramiXPolyArc()
1668 memcpy((char *) origArcs, (char *) &stuff[1], narcs * sizeof(xArc)); in PanoramiXPolyArc()
1672 memcpy(&stuff[1], origArcs, narcs * sizeof(xArc)); in PanoramiXPolyArc()
1679 xArc *arcs = (xArc *) &stuff[1]; in PanoramiXPolyArc()
1687 stuff->drawable = draw->info[j].id; in PanoramiXPolyArc()
1688 stuff->gc = gc->info[j].id; in PanoramiXPolyArc()
1712 result = dixLookupResourceByClass((void **) &draw, stuff->drawable, in PanoramiXFillPoly()
1720 result = dixLookupResourceByType((void **) &gc, stuff->gc, XRT_GC, in PanoramiXFillPoly()
1730 memcpy((char *) locPts, (char *) &stuff[1], in PanoramiXFillPoly()
1735 memcpy(&stuff[1], locPts, count * sizeof(DDXPointRec)); in PanoramiXFillPoly()
1742 DDXPointPtr pnts = (DDXPointPtr) &stuff[1]; in PanoramiXFillPoly()
1743 int i = (stuff->coordMode == CoordModePrevious) ? 1 : count; in PanoramiXFillPoly()
1753 stuff->drawable = draw->info[j].id; in PanoramiXFillPoly()
1754 stuff->gc = gc->info[j].id; in PanoramiXFillPoly()
1778 result = dixLookupResourceByClass((void **) &draw, stuff->drawable, in PanoramiXPolyFillRectangle()
1786 result = dixLookupResourceByType((void **) &gc, stuff->gc, XRT_GC, in PanoramiXPolyFillRectangle()
1799 memcpy((char *) origRects, (char *) &stuff[1], in PanoramiXPolyFillRectangle()
1804 memcpy(&stuff[1], origRects, things * sizeof(xRectangle)); in PanoramiXPolyFillRectangle()
1811 xRectangle *rects = (xRectangle *) &stuff[1]; in PanoramiXPolyFillRectangle()
1820 stuff->drawable = draw->info[j].id; in PanoramiXPolyFillRectangle()
1821 stuff->gc = gc->info[j].id; in PanoramiXPolyFillRectangle()
1845 result = dixLookupResourceByClass((void **) &draw, stuff->drawable, in PanoramiXPolyFillArc()
1853 result = dixLookupResourceByType((void **) &gc, stuff->gc, XRT_GC, in PanoramiXPolyFillArc()
1866 memcpy((char *) origArcs, (char *) &stuff[1], narcs * sizeof(xArc)); in PanoramiXPolyFillArc()
1870 memcpy(&stuff[1], origArcs, narcs * sizeof(xArc)); in PanoramiXPolyFillArc()
1877 xArc *arcs = (xArc *) &stuff[1]; in PanoramiXPolyFillArc()
1886 stuff->drawable = draw->info[j].id; in PanoramiXPolyFillArc()
1887 stuff->gc = gc->info[j].id; in PanoramiXPolyFillArc()
1910 result = dixLookupResourceByClass((void **) &draw, stuff->drawable, in PanoramiXPutImage()
1918 result = dixLookupResourceByType((void **) &gc, stuff->gc, XRT_GC, in PanoramiXPutImage()
1925 orig_x = stuff->dstX; in PanoramiXPutImage()
1926 orig_y = stuff->dstY; in PanoramiXPutImage()
1929 stuff->dstX = orig_x - screenInfo.screens[j]->x; in PanoramiXPutImage()
1930 stuff->dstY = orig_y - screenInfo.screens[j]->y; in PanoramiXPutImage()
1932 stuff->drawable = draw->info[j].id; in PanoramiXPutImage()
1933 stuff->gc = gc->info[j].id; in PanoramiXPutImage()
1959 if ((stuff->format != XYPixmap) && (stuff->format != ZPixmap)) { in PanoramiXGetImage()
1960 client->errorValue = stuff->format; in PanoramiXGetImage()
1964 rc = dixLookupResourceByClass((void **) &draw, stuff->drawable, in PanoramiXGetImage()
1972 rc = dixLookupDrawable(&pDraw, stuff->drawable, client, 0, DixReadAccess); in PanoramiXGetImage()
1979 x = stuff->x; in PanoramiXGetImage()
1980 y = stuff->y; in PanoramiXGetImage()
1981 w = stuff->width; in PanoramiXGetImage()
1982 h = stuff->height; in PanoramiXGetImage()
1983 format = stuff->format; in PanoramiXGetImage()
1984 planemask = stuff->planeMask; in PanoramiXGetImage()
2115 result = dixLookupResourceByClass((void **) &draw, stuff->drawable, in PanoramiXPolyText8()
2123 result = dixLookupResourceByType((void **) &gc, stuff->gc, XRT_GC, in PanoramiXPolyText8()
2130 orig_x = stuff->x; in PanoramiXPolyText8()
2131 orig_y = stuff->y; in PanoramiXPolyText8()
2133 stuff->drawable = draw->info[j].id; in PanoramiXPolyText8()
2134 stuff->gc = gc->info[j].id; in PanoramiXPolyText8()
2136 stuff->x = orig_x - screenInfo.screens[j]->x; in PanoramiXPolyText8()
2137 stuff->y = orig_y - screenInfo.screens[j]->y; in PanoramiXPolyText8()
2158 result = dixLookupResourceByClass((void **) &draw, stuff->drawable, in PanoramiXPolyText16()
2166 result = dixLookupResourceByType((void **) &gc, stuff->gc, XRT_GC, in PanoramiXPolyText16()
2173 orig_x = stuff->x; in PanoramiXPolyText16()
2174 orig_y = stuff->y; in PanoramiXPolyText16()
2176 stuff->drawable = draw->info[j].id; in PanoramiXPolyText16()
2177 stuff->gc = gc->info[j].id; in PanoramiXPolyText16()
2179 stuff->x = orig_x - screenInfo.screens[j]->x; in PanoramiXPolyText16()
2180 stuff->y = orig_y - screenInfo.screens[j]->y; in PanoramiXPolyText16()
2199 REQUEST_FIXED_SIZE(xImageTextReq, stuff->nChars); in PanoramiXImageText8()
2201 result = dixLookupResourceByClass((void **) &draw, stuff->drawable, in PanoramiXImageText8()
2209 result = dixLookupResourceByType((void **) &gc, stuff->gc, XRT_GC, in PanoramiXImageText8()
2216 orig_x = stuff->x; in PanoramiXImageText8()
2217 orig_y = stuff->y; in PanoramiXImageText8()
2219 stuff->drawable = draw->info[j].id; in PanoramiXImageText8()
2220 stuff->gc = gc->info[j].id; in PanoramiXImageText8()
2222 stuff->x = orig_x - screenInfo.screens[j]->x; in PanoramiXImageText8()
2223 stuff->y = orig_y - screenInfo.screens[j]->y; in PanoramiXImageText8()
2242 REQUEST_FIXED_SIZE(xImageTextReq, stuff->nChars << 1); in PanoramiXImageText16()
2244 result = dixLookupResourceByClass((void **) &draw, stuff->drawable, in PanoramiXImageText16()
2252 result = dixLookupResourceByType((void **) &gc, stuff->gc, XRT_GC, in PanoramiXImageText16()
2259 orig_x = stuff->x; in PanoramiXImageText16()
2260 orig_y = stuff->y; in PanoramiXImageText16()
2262 stuff->drawable = draw->info[j].id; in PanoramiXImageText16()
2263 stuff->gc = gc->info[j].id; in PanoramiXImageText16()
2265 stuff->x = orig_x - screenInfo.screens[j]->x; in PanoramiXImageText16()
2266 stuff->y = orig_y - screenInfo.screens[j]->y; in PanoramiXImageText16()
2285 result = dixLookupResourceByType((void **) &win, stuff->window, in PanoramiXCreateColormap()
2294 panoramix_setup_ids(newCmap, client, stuff->mid); in PanoramiXCreateColormap()
2296 orig_visual = stuff->visual; in PanoramiXCreateColormap()
2298 stuff->mid = newCmap->info[j].id; in PanoramiXCreateColormap()
2299 stuff->window = win->info[j].id; in PanoramiXCreateColormap()
2300 stuff->visual = PanoramiXTranslateVisualID(j, orig_visual); in PanoramiXCreateColormap()
2324 client->errorValue = stuff->id; in PanoramiXFreeColormap()
2326 result = dixLookupResourceByType((void **) &cmap, stuff->id, XRT_COLORMAP, in PanoramiXFreeColormap()
2332 stuff->id = cmap->info[j].id; in PanoramiXFreeColormap()
2354 client->errorValue = stuff->srcCmap; in PanoramiXCopyColormapAndFree()
2356 result = dixLookupResourceByType((void **) &cmap, stuff->srcCmap, in PanoramiXCopyColormapAndFree()
2366 panoramix_setup_ids(newCmap, client, stuff->mid); in PanoramiXCopyColormapAndFree()
2369 stuff->srcCmap = cmap->info[j].id; in PanoramiXCopyColormapAndFree()
2370 stuff->mid = newCmap->info[j].id; in PanoramiXCopyColormapAndFree()
2393 client->errorValue = stuff->id; in PanoramiXInstallColormap()
2395 result = dixLookupResourceByType((void **) &cmap, stuff->id, XRT_COLORMAP, in PanoramiXInstallColormap()
2401 stuff->id = cmap->info[j].id; in PanoramiXInstallColormap()
2418 client->errorValue = stuff->id; in PanoramiXUninstallColormap()
2420 result = dixLookupResourceByType((void **) &cmap, stuff->id, XRT_COLORMAP, in PanoramiXUninstallColormap()
2426 stuff->id = cmap->info[j].id; in PanoramiXUninstallColormap()
2444 client->errorValue = stuff->cmap; in PanoramiXAllocColor()
2446 result = dixLookupResourceByType((void **) &cmap, stuff->cmap, in PanoramiXAllocColor()
2452 stuff->cmap = cmap->info[j].id; in PanoramiXAllocColor()
2468 REQUEST_FIXED_SIZE(xAllocNamedColorReq, stuff->nbytes); in PanoramiXAllocNamedColor()
2470 client->errorValue = stuff->cmap; in PanoramiXAllocNamedColor()
2472 result = dixLookupResourceByType((void **) &cmap, stuff->cmap, in PanoramiXAllocNamedColor()
2478 stuff->cmap = cmap->info[j].id; in PanoramiXAllocNamedColor()
2496 client->errorValue = stuff->cmap; in PanoramiXAllocColorCells()
2498 result = dixLookupResourceByType((void **) &cmap, stuff->cmap, in PanoramiXAllocColorCells()
2504 stuff->cmap = cmap->info[j].id; in PanoramiXAllocColorCells()
2522 client->errorValue = stuff->cmap; in PanoramiXAllocColorPlanes()
2524 result = dixLookupResourceByType((void **) &cmap, stuff->cmap, in PanoramiXAllocColorPlanes()
2530 stuff->cmap = cmap->info[j].id; in PanoramiXAllocColorPlanes()
2548 client->errorValue = stuff->cmap; in PanoramiXFreeColors()
2550 result = dixLookupResourceByType((void **) &cmap, stuff->cmap, in PanoramiXFreeColors()
2556 stuff->cmap = cmap->info[j].id; in PanoramiXFreeColors()
2572 client->errorValue = stuff->cmap; in PanoramiXStoreColors()
2574 result = dixLookupResourceByType((void **) &cmap, stuff->cmap, in PanoramiXStoreColors()
2580 stuff->cmap = cmap->info[j].id; in PanoramiXStoreColors()
2596 REQUEST_FIXED_SIZE(xStoreNamedColorReq, stuff->nbytes); in PanoramiXStoreNamedColor()
2598 client->errorValue = stuff->cmap; in PanoramiXStoreNamedColor()
2600 result = dixLookupResourceByType((void **) &cmap, stuff->cmap, in PanoramiXStoreNamedColor()
2606 stuff->cmap = cmap->info[j].id; in PanoramiXStoreNamedColor()