| /OK3568_Linux_fs/external/xserver/hw/xfree86/dri2/ |
| H A D | dri2.c | 140 destroy_buffer(DrawablePtr pDraw, DRI2BufferPtr buffer, int prime_id); 217 DRI2GetDrawable(DrawablePtr pDraw) in DRI2GetDrawable() argument 222 switch (pDraw->type) { in DRI2GetDrawable() 224 pWin = (WindowPtr) pDraw; in DRI2GetDrawable() 227 pPixmap = (PixmapPtr) pDraw; in DRI2GetDrawable() 235 DRI2AllocateDrawable(DrawablePtr pDraw) in DRI2AllocateDrawable() argument 237 DRI2ScreenPtr ds = DRI2GetScreen(pDraw->pScreen); in DRI2AllocateDrawable() 248 pPriv->drawable = pDraw; in DRI2AllocateDrawable() 249 pPriv->width = pDraw->width; in DRI2AllocateDrawable() 250 pPriv->height = pDraw->height; in DRI2AllocateDrawable() [all …]
|
| H A D | dri2.h | 56 typedef DRI2BufferPtr(*DRI2CreateBuffersProcPtr) (DrawablePtr pDraw, 59 typedef void (*DRI2DestroyBuffersProcPtr) (DrawablePtr pDraw, 61 typedef void (*DRI2CopyRegionProcPtr) (DrawablePtr pDraw, 97 DrawablePtr pDraw, 104 typedef DRI2BufferPtr(*DRI2CreateBufferProcPtr) (DrawablePtr pDraw, 107 typedef void (*DRI2DestroyBufferProcPtr) (DrawablePtr pDraw, 117 typedef void (*DRI2ReuseBufferNotifyProcPtr) (DrawablePtr pDraw, 137 typedef int (*DRI2GetMSCProcPtr) (DrawablePtr pDraw, CARD64 * ust, 160 DrawablePtr pDraw, 164 typedef void (*DRI2InvalidateProcPtr) (DrawablePtr pDraw, void *data, XID id); [all …]
|
| /OK3568_Linux_fs/external/xserver/Xext/ |
| H A D | xvmain.c | 344 if (pp->pDraw == pDrawable) { in XvStopAdaptors() 349 pp->pDraw = NULL; in XvStopAdaptors() 449 XvdiSendVideoNotify(XvPortPtr pPort, DrawablePtr pDraw, int reason) in XvdiSendVideoNotify() argument 453 dixLookupResourceByType((void **) &pn, pDraw->id, XvRTVideoNotifyList, in XvdiSendVideoNotify() 460 .u.videoNotify.drawable = pDraw->id, in XvdiSendVideoNotify() 504 DrawablePtr pDraw, in XvdiPutVideo() argument 523 XvdiSendVideoNotify(pPort, pDraw, XvBusy); in XvdiPutVideo() 530 pOldDraw = pPort->pDraw; in XvdiPutVideo() 531 if ((pOldDraw) && (pOldDraw != pDraw)) { in XvdiPutVideo() 532 XvdiSendVideoNotify(pPort, pPort->pDraw, XvPreempted); in XvdiPutVideo() [all …]
|
| H A D | shm.c | 524 DrawablePtr pDraw; in ProcShmPutImage() local 531 VALIDATE_DRAWABLE_AND_GC(stuff->drawable, pDraw, DixWriteAccess); in ProcShmPutImage() 541 if (pDraw->depth != stuff->depth) in ProcShmPutImage() 547 if (pDraw->depth != stuff->depth) in ProcShmPutImage() 591 (*pGC->ops->PutImage) (pDraw, pGC, stuff->depth, in ProcShmPutImage() 598 doShmPutImage(pDraw, pGC, stuff->depth, stuff->format, in ProcShmPutImage() 622 DrawablePtr pDraw; in ProcShmGetImage() local 638 rc = dixLookupDrawable(&pDraw, stuff->drawable, client, 0, DixReadAccess); in ProcShmGetImage() 642 if (pDraw->type == DRAWABLE_WINDOW) { in ProcShmGetImage() 644 !((WindowPtr) pDraw)->realized || in ProcShmGetImage() [all …]
|
| H A D | xace.c | 231 DrawablePtr pDraw, in XaceCensorImage() argument 239 imageBox.x1 = pDraw->x + x; in XaceCensorImage() 240 imageBox.y1 = pDraw->y + y; in XaceCensorImage() 241 imageBox.x2 = pDraw->x + x + w; in XaceCensorImage() 242 imageBox.y2 = pDraw->y + y + h; in XaceCensorImage() 276 depth = pDraw->depth; in XaceCensorImage() 277 bitsPerPixel = pDraw->bitsPerPixel; in XaceCensorImage() 280 pPix = GetScratchPixmapHeader(pDraw->pScreen, w, h, in XaceCensorImage()
|
| /OK3568_Linux_fs/external/xserver/hw/kdrive/src/ |
| H A D | kxv.c | 381 pp->pDraw = (DrawablePtr) NULL; in KdXVInitAdaptors() 445 pWin = (WindowPtr) portPriv->pDraw; in KdXVUpdateCompositeClip() 464 portPriv->pDraw->x + portPriv->clipOrg.x, in KdXVUpdateCompositeClip() 465 portPriv->pDraw->y + portPriv->clipOrg.y); in KdXVUpdateCompositeClip() 517 WinBox.x1 = portPriv->pDraw->x + portPriv->drw_x; in KdXVRegetVideo() 518 WinBox.y1 = portPriv->pDraw->y + portPriv->drw_y; in KdXVRegetVideo() 533 ret = (*portPriv->AdaptorRec->GetVideo) (portPriv->screen, portPriv->pDraw, in KdXVRegetVideo() 568 ScreenPtr pScreen = portPriv->pDraw->pScreen; in KdXVReputVideo() 578 WinBox.x1 = portPriv->pDraw->x + portPriv->drw_x; in KdXVReputVideo() 579 WinBox.y1 = portPriv->pDraw->y + portPriv->drw_y; in KdXVReputVideo() [all …]
|
| H A D | kxv.h | 57 typedef int (*PutVideoFuncPtr) (KdScreenInfo * screen, DrawablePtr pDraw, 62 typedef int (*PutStillFuncPtr) (KdScreenInfo * screen, DrawablePtr pDraw, 67 typedef int (*GetVideoFuncPtr) (KdScreenInfo * screen, DrawablePtr pDraw, 72 typedef int (*GetStillFuncPtr) (KdScreenInfo * screen, DrawablePtr pDraw, 87 typedef int (*PutImageFuncPtr) (KdScreenInfo * screen, DrawablePtr pDraw, 93 typedef int (*ReputImageFuncPtr) (KdScreenInfo * screen, DrawablePtr pDraw, 177 DrawablePtr pDraw; member
|
| /OK3568_Linux_fs/external/xserver/mi/ |
| H A D | mibitblt.c | 263 miGetPlane(DrawablePtr pDraw, int planeNum, /* number of the bitPlane */ in miGetPlane() argument 288 sx += pDraw->x; in miGetPlane() 289 sy += pDraw->y; in miGetPlane() 295 bitsPerPixel = pDraw->bitsPerPixel; in miGetPlane() 313 (*pDraw->pScreen->GetSpans) (pDraw, width, &pt, &width, 1, in miGetPlane() 321 (*pDraw->pScreen->GetSpans) (pDraw, width, &pt, &width, 1, in miGetPlane() 369 miOpqStipDrawable(DrawablePtr pDraw, GCPtr pGC, RegionPtr prgnSrc, in miOpqStipDrawable() argument 383 pPixmap = (*pDraw->pScreen->CreatePixmap) in miOpqStipDrawable() 384 (pDraw->pScreen, w + srcx, h, 1, CREATE_PIXMAP_USAGE_SCRATCH); in miOpqStipDrawable() 389 pGCT = GetScratchGC(1, pDraw->pScreen); in miOpqStipDrawable() [all …]
|
| H A D | mizerline.c | 100 miZeroLine(DrawablePtr pDraw, GCPtr pGC, int mode, /* Origin or Previous */ in miZeroLine() argument 120 unsigned int bias = miGetZeroLineBias(pDraw->pScreen); in miZeroLine() 124 xleft = pDraw->x; in miZeroLine() 125 ytop = pDraw->y; in miZeroLine() 126 xright = pDraw->x + pDraw->width - 1; in miZeroLine() 127 ybottom = pDraw->y + pDraw->height - 1; in miZeroLine() 133 xright -= pDraw->x; in miZeroLine() 134 ybottom -= pDraw->y; in miZeroLine() 169 xstart += pDraw->x; in miZeroLine() 170 ystart += pDraw->y; in miZeroLine() [all …]
|
| H A D | mipolytext.c | 69 miPolyText8(DrawablePtr pDraw, GCPtr pGC, int x, int y, int count, char *chars) in miPolyText8() argument 81 (*pGC->ops->PolyGlyphBlt) (pDraw, pGC, x, y, n, charinfo, in miPolyText8() 87 miPolyText16(DrawablePtr pDraw, GCPtr pGC, int x, int y, int count, in miPolyText16() argument 101 (*pGC->ops->PolyGlyphBlt) (pDraw, pGC, x, y, n, charinfo, in miPolyText16() 107 miImageText8(DrawablePtr pDraw, GCPtr pGC, int x, int y, int count, char *chars) in miImageText8() argument 116 (*pGC->ops->ImageGlyphBlt) (pDraw, pGC, x, y, n, charinfo, in miImageText8() 121 miImageText16(DrawablePtr pDraw, GCPtr pGC, int x, int y, in miImageText16() argument 132 (*pGC->ops->ImageGlyphBlt) (pDraw, pGC, x, y, n, charinfo, in miImageText16()
|
| H A D | mifillarc.c | 479 miFillEllipseI(DrawablePtr pDraw, GCPtr pGC, xArc * arc, DDXPointPtr points, int *widths) in miFillEllipseI() argument 491 xorg += pDraw->x; in miFillEllipseI() 492 yorg += pDraw->y; in miFillEllipseI() 504 miFillEllipseD(DrawablePtr pDraw, GCPtr pGC, xArc * arc, DDXPointPtr points, int *widths) in miFillEllipseD() argument 516 xorg += pDraw->x; in miFillEllipseD() 517 yorg += pDraw->y; in miFillEllipseD() 551 miFillArcSliceI(DrawablePtr pDraw, GCPtr pGC, xArc * arc, DDXPointPtr points, int *widths) in miFillArcSliceI() argument 568 xorg += pDraw->x; in miFillArcSliceI() 569 yorg += pDraw->y; in miFillArcSliceI() 570 slice.edge1.x += pDraw->x; in miFillArcSliceI() [all …]
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/common/ |
| H A D | xf86xv.c | 502 pp->pDraw = (DrawablePtr) NULL; in xf86XVInitAdaptors() 566 pWin = (WindowPtr) portPriv->pDraw; in xf86XVUpdateCompositeClip() 584 RegionTranslate(pCompositeClip, portPriv->pDraw->x, portPriv->pDraw->y); in xf86XVUpdateCompositeClip() 626 GCPtr pGC, DrawablePtr pDraw) in xf86XVCopyCompositeClip() argument 632 RegionTranslate(portPriv->clientClip, -pDraw->x, -pDraw->y); in xf86XVCopyCompositeClip() 655 WinBox.x1 = portPriv->pDraw->x + portPriv->drw_x; in xf86XVRegetVideo() 656 WinBox.y1 = portPriv->pDraw->y + portPriv->drw_y; in xf86XVRegetVideo() 677 portPriv->pDraw); in xf86XVRegetVideo() 712 WinBox.x1 = portPriv->pDraw->x + portPriv->drw_x; in xf86XVReputVideo() 713 WinBox.y1 = portPriv->pDraw->y + portPriv->drw_y; in xf86XVReputVideo() [all …]
|
| H A D | xf86VGAarbiterPriv.h | 195 DrawablePtr pDraw); 205 static void VGAarbiterFillSpans(DrawablePtr pDraw, GC * pGC, int nInit, 208 static void VGAarbiterSetSpans(DrawablePtr pDraw, GCPtr pGC, char *pcharsrc, 211 static void VGAarbiterPutImage(DrawablePtr pDraw, GCPtr pGC, int depth, int x, 221 static void VGAarbiterPolyPoint(DrawablePtr pDraw, GCPtr pGC, int mode, int npt, 223 static void VGAarbiterPolylines(DrawablePtr pDraw, GCPtr pGC, int mode, int npt, 225 static void VGAarbiterPolySegment(DrawablePtr pDraw, GCPtr pGC, int nseg, 227 static void VGAarbiterPolyRectangle(DrawablePtr pDraw, GCPtr pGC, 229 static void VGAarbiterPolyArc(DrawablePtr pDraw, GCPtr pGC, int narcs, 231 static void VGAarbiterFillPolygon(DrawablePtr pDraw, GCPtr pGC, int shape, [all …]
|
| H A D | xf86VGAarbiter.c | 555 VGAarbiterValidateGC(GCPtr pGC, unsigned long changes, DrawablePtr pDraw) in VGAarbiterValidateGC() argument 558 (*pGC->funcs->ValidateGC) (pGC, changes, pDraw); in VGAarbiterValidateGC() 612 VGAarbiterFillSpans(DrawablePtr pDraw, in VGAarbiterFillSpans() argument 621 (*pGC->ops->FillSpans) (pDraw, pGC, nInit, pptInit, pwidthInit, fSorted); in VGAarbiterFillSpans() 627 VGAarbiterSetSpans(DrawablePtr pDraw, in VGAarbiterSetSpans() argument 637 (*pGC->ops->SetSpans) (pDraw, pGC, pcharsrc, ppt, pwidth, nspans, fSorted); in VGAarbiterSetSpans() 643 VGAarbiterPutImage(DrawablePtr pDraw, in VGAarbiterPutImage() argument 653 (*pGC->ops->PutImage) (pDraw, pGC, depth, x, y, w, h, in VGAarbiterPutImage() 699 VGAarbiterPolyPoint(DrawablePtr pDraw, in VGAarbiterPolyPoint() argument 706 (*pGC->ops->PolyPoint) (pDraw, pGC, mode, npt, pptInit); in VGAarbiterPolyPoint() [all …]
|
| H A D | xf86xv.h | 58 void *data, DrawablePtr pDraw); 63 DrawablePtr pDraw); 68 DrawablePtr pDraw); 73 DrawablePtr pDraw); 88 void *data, DrawablePtr pDraw); 93 DrawablePtr pDraw); 200 xf86XVFillKeyHelperDrawable(DrawablePtr pDraw, CARD32 key, RegionPtr clipboxes); 204 xf86XVFillKeyHelperPort(DrawablePtr pDraw, void *data, CARD32 key,
|
| /OK3568_Linux_fs/external/xserver/hw/dmx/glxProxy/ |
| H A D | glxcmds.c | 505 DrawablePtr pDraw; in __glXBindSwapBarrierSGIX() local 510 rc = dixLookupDrawable(&pDraw, req->drawable, client, 0, DixGetAttrAccess); in __glXBindSwapBarrierSGIX() 515 pDraw = pGlxPixmap->pDraw; in __glXBindSwapBarrierSGIX() 518 if (!pDraw && __GLX_IS_VERSION_SUPPORTED(1, 3)) { in __glXBindSwapBarrierSGIX() 522 pDraw = pGlxWindow->pDraw; in __glXBindSwapBarrierSGIX() 525 if (!pDraw) { in __glXBindSwapBarrierSGIX() 530 return BindSwapBarrierSGIX(pDraw, req->barrier); in __glXBindSwapBarrierSGIX() 538 DrawablePtr pDraw, pMember = NULL; in __glXJoinSwapGroupSGIX() local 543 rc = dixLookupDrawable(&pDraw, req->drawable, client, 0, DixManageAccess); in __glXJoinSwapGroupSGIX() 548 pDraw = pGlxPixmap->pDraw; in __glXJoinSwapGroupSGIX() [all …]
|
| H A D | glxswap.c | 123 DrawablePtr pDraw) in SGSwapBuffers() argument 125 WindowPtr pWin = (WindowPtr) pDraw; in SGSwapBuffers() 237 JoinSwapGroupSGIX(DrawablePtr pDraw, DrawablePtr pMember) in JoinSwapGroupSGIX() argument 239 if (pDraw->type == DRAWABLE_WINDOW) { in JoinSwapGroupSGIX() 240 WindowPtr pWin = (WindowPtr) pDraw; in JoinSwapGroupSGIX() 308 else if (pDraw == pMember && pOldSwap) { in JoinSwapGroupSGIX() 349 if (pDraw != pMember) { in JoinSwapGroupSGIX() 526 BindSwapBarrierSGIX(DrawablePtr pDraw, int barrier) in BindSwapBarrierSGIX() argument 533 if (pDraw->type == DRAWABLE_WINDOW) { in BindSwapBarrierSGIX() 534 WindowPtr pWin = (WindowPtr) pDraw; in BindSwapBarrierSGIX()
|
| H A D | glxswap.h | 37 extern int JoinSwapGroupSGIX(DrawablePtr pDraw, DrawablePtr pMember); 39 DrawablePtr pDraw); 44 extern int BindSwapBarrierSGIX(DrawablePtr pDraw, int barrier);
|
| /OK3568_Linux_fs/external/xserver/glx/ |
| H A D | glxdriswrast.c | 253 DrawablePtr pDraw, in __glXDRIscreenCreateDrawable() argument 267 pDraw, type, glxDrawId, glxConfig)) { in __glXDRIscreenCreateDrawable() 288 DrawablePtr pDraw = drawable->base.pDraw; in swrastGetDrawableInfo() local 290 *x = pDraw->x; in swrastGetDrawableInfo() 291 *y = pDraw->y; in swrastGetDrawableInfo() 292 *w = pDraw->width; in swrastGetDrawableInfo() 293 *h = pDraw->height; in swrastGetDrawableInfo() 301 DrawablePtr pDraw = drawable->base.pDraw; in swrastPutImage() local 305 if ((gc = GetScratchGC(pDraw->depth, pDraw->pScreen))) { in swrastPutImage() 306 ValidateGC(pDraw, gc); in swrastPutImage() [all …]
|
| H A D | glxcmds.c | 109 DrawablePtr pDraw, int *err) in validGlxFBConfigForWindow() argument 111 ScreenPtr pScreen = pDraw->pScreen; in validGlxFBConfigForWindow() 116 vid = wVisual((WindowPtr) pDraw); in validGlxFBConfigForWindow() 127 client->errorValue = pDraw->id; in validGlxFBConfigForWindow() 470 DrawablePtr pDraw; in __glXGetDrawable() local 501 rc = dixLookupDrawable(&pDraw, drawId, client, 0, DixGetAttrAccess); in __glXGetDrawable() 502 if (rc != Success || pDraw->type != DRAWABLE_WINDOW) { in __glXGetDrawable() 509 if (pDraw->pScreen != pGlxScreen->pScreen) { in __glXGetDrawable() 510 client->errorValue = pDraw->pScreen->myNum; in __glXGetDrawable() 517 config = inferConfigForWindow(pGlxScreen, (WindowPtr)pDraw); in __glXGetDrawable() [all …]
|
| /OK3568_Linux_fs/external/xserver/hw/xquartz/GL/ |
| H A D | indirect.c | 75 DrawablePtr pDraw, XID drawId, int type, 125 DrawablePtr pDraw; member 259 draw->pDraw = NULL; in surface_notify() 284 DrawablePtr pDraw; in attach() local 291 pDraw = draw->base.pDraw; in attach() 293 if (NULL == pDraw) { in attach() 300 if (!DRICreateSurface(pDraw->pScreen, pDraw->id, pDraw, in attach() 304 draw->pDraw = pDraw; in attach() 312 DRIDestroySurface(pDraw->pScreen, pDraw->id, pDraw, in attach() 337 GLAQUA_DEBUG_MSG("attached 0x%x to 0x%x\n", (unsigned int)pDraw->id, in attach() [all …]
|
| /OK3568_Linux_fs/external/xserver/miext/sync/ |
| H A D | misyncfd.c | 48 miSyncInitFenceFromFD(DrawablePtr pDraw, SyncFence *pFence, int fd, BOOL initially_triggered) in miSyncInitFenceFromFD() argument 51 SyncFdScreenPrivatePtr priv = sync_fd_screen_priv(pDraw->pScreen); in miSyncInitFenceFromFD() 56 return (*priv->funcs.CreateFenceFromFd)(pDraw->pScreen, pFence, fd, initially_triggered); in miSyncInitFenceFromFD() 60 miSyncFDFromFence(DrawablePtr pDraw, SyncFence *pFence) in miSyncFDFromFence() argument 62 SyncFdScreenPrivatePtr priv = sync_fd_screen_priv(pDraw->pScreen); in miSyncFDFromFence() 67 return (*priv->funcs.GetFenceFd)(pDraw->pScreen, pFence); in miSyncFDFromFence()
|
| /OK3568_Linux_fs/external/xserver/hw/xwin/glx/ |
| H A D | dri_helpers.c | 50 HWND h = winGetWindowInfo((WindowPtr)(pDrawable->base.pDraw)); in glxWinQueryDrawable() 58 *handle = pDrawable->base.pDraw->id; in glxWinQueryDrawable() 84 DrawablePtr pDraw; in glxWinQueryDrawable() local 85 int rc = dixLookupDrawable(&pDraw, drawId, client, 0, DixGetAttrAccess); in glxWinQueryDrawable() 86 if (rc != Success || pDraw->type != DRAWABLE_WINDOW) { in glxWinQueryDrawable() 90 h = winGetWindowInfo((WindowPtr)(pDraw)); in glxWinQueryDrawable()
|
| /OK3568_Linux_fs/external/xserver/dix/ |
| H A D | dispatch.c | 942 DrawablePtr pDraw; in GetGeometry() local 948 rc = dixLookupDrawable(&pDraw, stuff->id, client, M_ANY, DixGetAttrAccess); in GetGeometry() 955 rep->root = pDraw->pScreen->root->drawable.id; in GetGeometry() 956 rep->depth = pDraw->depth; in GetGeometry() 957 rep->width = pDraw->width; in GetGeometry() 958 rep->height = pDraw->height; in GetGeometry() 960 if (WindowDrawable(pDraw->type)) { in GetGeometry() 961 WindowPtr pWin = (WindowPtr) pDraw; in GetGeometry() 1396 DrawablePtr pDraw; in ProcCreatePixmap() local 1406 rc = dixLookupDrawable(&pDraw, stuff->drawable, client, M_ANY, in ProcCreatePixmap() [all …]
|
| /OK3568_Linux_fs/external/xserver/miext/rootless/ |
| H A D | rootlessCommon.h | 172 #define TRANSLATE_BOX(box, pDraw) { \ argument 173 box.x1 += pDraw->x; \ 174 box.x2 += pDraw->x; \ 175 box.y1 += pDraw->y; \ 176 box.y2 += pDraw->y; \ 179 #define TRIM_AND_TRANSLATE_BOX(box, pDraw, pGC) { \ argument 180 TRANSLATE_BOX(box, pDraw); \
|