Home
last modified time | relevance | path

Searched refs:glxDraw (Results 1 – 7 of 7) sorted by relevance

/external/mesa3d/src/glx/
Dglxcmds.c97 struct glx_drawable *glxDraw; in GetGLXDrawable() local
102 if (__glxHashLookup(priv->glXDrawHash, drawable, (void *) &glxDraw) == 0) in GetGLXDrawable()
103 return glxDraw; in GetGLXDrawable()
109 InitGLXDrawable(Display *dpy, struct glx_drawable *glxDraw, XID xDrawable, in InitGLXDrawable() argument
117 glxDraw->xDrawable = xDrawable; in InitGLXDrawable()
118 glxDraw->drawable = drawable; in InitGLXDrawable()
119 glxDraw->lastEventSbc = 0; in InitGLXDrawable()
120 glxDraw->eventSbcWrap = 0; in InitGLXDrawable()
122 return __glxHashInsert(priv->glXDrawHash, drawable, glxDraw); in InitGLXDrawable()
129 struct glx_drawable *glxDraw; in DestroyGLXDrawable() local
[all …]
Dglx_pbuffer.c399 struct glx_drawable *glxDraw; in CreateDrawable() local
415 glxDraw = Xmalloc(sizeof(*glxDraw)); in CreateDrawable()
416 if (!glxDraw) in CreateDrawable()
437 if (InitGLXDrawable(dpy, glxDraw, drawable, xid)) { in CreateDrawable()
438 free(glxDraw); in CreateDrawable()
Ddri2.c91 struct glx_drawable *glxDraw; in DRI2WireToEvent() local
132 glxDraw = GetGLXDrawable(dpy, pdraw->drawable); in DRI2WireToEvent()
133 if (awire->sbc < glxDraw->lastEventSbc) in DRI2WireToEvent()
134 glxDraw->eventSbcWrap += 0x100000000; in DRI2WireToEvent()
135 glxDraw->lastEventSbc = awire->sbc; in DRI2WireToEvent()
136 aevent->sbc = awire->sbc + glxDraw->eventSbcWrap; in DRI2WireToEvent()
Dglxext.c138 struct glx_drawable *glxDraw = GetGLXDrawable(dpy, awire->drawable); in XEXT_GENERATE_ERROR_STRING() local
144 if (!glxDraw) in XEXT_GENERATE_ERROR_STRING()
147 if (awire->sbc < glxDraw->lastEventSbc) in XEXT_GENERATE_ERROR_STRING()
148 glxDraw->eventSbcWrap += 0x100000000; in XEXT_GENERATE_ERROR_STRING()
149 glxDraw->lastEventSbc = awire->sbc; in XEXT_GENERATE_ERROR_STRING()
150 aevent->sbc = awire->sbc + glxDraw->eventSbcWrap; in XEXT_GENERATE_ERROR_STRING()
Ddri_glx.c227 __GLXDRIdrawable *glxDraw = loaderPrivate; in __glXReportDamage() local
228 struct glx_screen *psc = glxDraw->psc; in __glXReportDamage()
243 drawable = glxDraw->xDrawable; in __glXReportDamage()
279 __GLXDRIdrawable *glxDraw = loaderPrivate; in __glXDRIGetDrawableInfo() local
280 struct glx_screen *psc = glxDraw->psc; in __glXDRIGetDrawableInfo()
283 return XF86DRIGetDrawableInfo(dpy, psc->scr, glxDraw->drawable, in __glXDRIGetDrawableInfo()
Dglxclient.h777 __glxGetMscRate(__GLXDRIdrawable *glxDraw,
808 extern int InitGLXDrawable(Display *dpy, struct glx_drawable *glxDraw,
Ddri_common.c195 __GLXDRIdrawable *glxDraw = loaderPrivate; in __driGetMSCRate() local
197 return __glxGetMscRate(glxDraw, numerator, denominator); in __driGetMSCRate()