Home
last modified time | relevance | path

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

/external/mesa3d/src/glx/
Ddri2.c91 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()
Dglxext.c143 struct glx_drawable *glxDraw = GetGLXDrawable(dpy, awire->drawable); in XEXT_GENERATE_ERROR_STRING() local
145 if (!glxDraw) in XEXT_GENERATE_ERROR_STRING()
152 aevent->drawable = glxDraw->xDrawable; in XEXT_GENERATE_ERROR_STRING()
159 if ((int64_t) awire->sbc < ((int64_t) glxDraw->lastEventSbc - 0x40000000)) in XEXT_GENERATE_ERROR_STRING()
160 glxDraw->eventSbcWrap += 0x100000000; in XEXT_GENERATE_ERROR_STRING()
161 if ((int64_t) awire->sbc > ((int64_t) glxDraw->lastEventSbc + 0x40000000)) in XEXT_GENERATE_ERROR_STRING()
162 glxDraw->eventSbcWrap -= 0x100000000; in XEXT_GENERATE_ERROR_STRING()
163 glxDraw->lastEventSbc = awire->sbc; in XEXT_GENERATE_ERROR_STRING()
164 aevent->sbc = awire->sbc + glxDraw->eventSbcWrap; in XEXT_GENERATE_ERROR_STRING()
Ddri_glx.c169 __GLXDRIdrawable *glxDraw = loaderPrivate; in __driGetMSCRate() local
171 return __glxGetMscRate(glxDraw->psc, numerator, denominator); in __driGetMSCRate()
213 __GLXDRIdrawable *glxDraw = loaderPrivate; in __glXReportDamage() local
214 struct glx_screen *psc = glxDraw->psc; in __glXReportDamage()
229 drawable = glxDraw->xDrawable; in __glXReportDamage()
264 __GLXDRIdrawable *glxDraw = loaderPrivate; in __glXDRIGetDrawableInfo() local
265 struct glx_screen *psc = glxDraw->psc; in __glXDRIGetDrawableInfo()
268 return XF86DRIGetDrawableInfo(dpy, psc->scr, glxDraw->drawable, in __glXDRIGetDrawableInfo()
Dglxcmds.c94 struct glx_drawable *glxDraw; in GetGLXDrawable() local
99 if (__glxHashLookup(priv->glXDrawHash, drawable, (void *) &glxDraw) == 0) in GetGLXDrawable()
100 return glxDraw; in GetGLXDrawable()
106 InitGLXDrawable(Display *dpy, struct glx_drawable *glxDraw, XID xDrawable, in InitGLXDrawable() argument
114 glxDraw->xDrawable = xDrawable; in InitGLXDrawable()
115 glxDraw->drawable = drawable; in InitGLXDrawable()
116 glxDraw->lastEventSbc = 0; in InitGLXDrawable()
117 glxDraw->eventSbcWrap = 0; in InitGLXDrawable()
119 return __glxHashInsert(priv->glXDrawHash, drawable, glxDraw); in InitGLXDrawable()
126 struct glx_drawable *glxDraw; in DestroyGLXDrawable() local
[all …]
Dglx_pbuffer.c464 struct glx_drawable *glxDraw; in CreateDrawable() local
480 glxDraw = malloc(sizeof(*glxDraw)); in CreateDrawable()
481 if (!glxDraw) in CreateDrawable()
502 if (InitGLXDrawable(dpy, glxDraw, drawable, xid)) { in CreateDrawable()
503 free(glxDraw); in CreateDrawable()
Dglxclient.h826 extern int InitGLXDrawable(Display *dpy, struct glx_drawable *glxDraw,