Searched refs:glxDraw (Results 1 – 7 of 7) sorted by relevance
/external/mesa3d/src/glx/ |
D | dri2.c | 91 struct glx_drawable *glxDraw; in DRI2WireToEvent() local 133 glxDraw = GetGLXDrawable(dpy, pdraw->drawable); in DRI2WireToEvent() 134 if (glxDraw != NULL) { in DRI2WireToEvent() 135 if (awire->sbc < glxDraw->lastEventSbc) in DRI2WireToEvent() 136 glxDraw->eventSbcWrap += 0x100000000; in DRI2WireToEvent() 137 glxDraw->lastEventSbc = awire->sbc; in DRI2WireToEvent() 138 aevent->sbc = awire->sbc + glxDraw->eventSbcWrap; in DRI2WireToEvent()
|
D | glxext.c | 140 struct glx_drawable *glxDraw = GetGLXDrawable(dpy, awire->drawable); in XEXT_GENERATE_ERROR_STRING() local 142 if (!glxDraw) in XEXT_GENERATE_ERROR_STRING() 149 aevent->drawable = glxDraw->xDrawable; in XEXT_GENERATE_ERROR_STRING() 156 if ((int64_t) awire->sbc < ((int64_t) glxDraw->lastEventSbc - 0x40000000)) in XEXT_GENERATE_ERROR_STRING() 157 glxDraw->eventSbcWrap += 0x100000000; in XEXT_GENERATE_ERROR_STRING() 158 if ((int64_t) awire->sbc > ((int64_t) glxDraw->lastEventSbc + 0x40000000)) in XEXT_GENERATE_ERROR_STRING() 159 glxDraw->eventSbcWrap -= 0x100000000; in XEXT_GENERATE_ERROR_STRING() 160 glxDraw->lastEventSbc = awire->sbc; in XEXT_GENERATE_ERROR_STRING() 161 aevent->sbc = awire->sbc + glxDraw->eventSbcWrap; in XEXT_GENERATE_ERROR_STRING()
|
D | glxcmds.c | 95 struct glx_drawable *glxDraw; in GetGLXDrawable() local 100 if (__glxHashLookup(priv->glXDrawHash, drawable, (void *) &glxDraw) == 0) in GetGLXDrawable() 101 return glxDraw; in GetGLXDrawable() 107 InitGLXDrawable(Display *dpy, struct glx_drawable *glxDraw, XID xDrawable, in InitGLXDrawable() argument 115 glxDraw->xDrawable = xDrawable; in InitGLXDrawable() 116 glxDraw->drawable = drawable; in InitGLXDrawable() 117 glxDraw->lastEventSbc = 0; in InitGLXDrawable() 118 glxDraw->eventSbcWrap = 0; in InitGLXDrawable() 120 return __glxHashInsert(priv->glXDrawHash, drawable, glxDraw); in InitGLXDrawable() 127 struct glx_drawable *glxDraw; in DestroyGLXDrawable() local [all …]
|
D | glx_pbuffer.c | 449 struct glx_drawable *glxDraw; in CreateDrawable() local 465 glxDraw = malloc(sizeof(*glxDraw)); in CreateDrawable() 466 if (!glxDraw) in CreateDrawable() 487 if (InitGLXDrawable(dpy, glxDraw, drawable, xid)) { in CreateDrawable() 488 free(glxDraw); in CreateDrawable()
|
D | dri_glx.c | 319 __GLXDRIdrawable *glxDraw = loaderPrivate; in __glXReportDamage() local 320 struct glx_screen *psc = glxDraw->psc; in __glXReportDamage() 335 drawable = glxDraw->xDrawable; in __glXReportDamage() 370 __GLXDRIdrawable *glxDraw = loaderPrivate; in __glXDRIGetDrawableInfo() local 371 struct glx_screen *psc = glxDraw->psc; in __glXDRIGetDrawableInfo() 374 return XF86DRIGetDrawableInfo(dpy, psc->scr, glxDraw->drawable, in __glXDRIGetDrawableInfo()
|
D | dri_common.c | 192 __GLXDRIdrawable *glxDraw = loaderPrivate; in __driGetMSCRate() local 194 return __glxGetMscRate(glxDraw->psc, numerator, denominator); in __driGetMSCRate()
|
D | glxclient.h | 824 extern int InitGLXDrawable(Display *dpy, struct glx_drawable *glxDraw,
|