Lines Matching refs:pContext
60 static void stubQueryXDamageExtension(Display *dpy, ContextInfo *pContext);
2174 void stubQueryXDamageExtension(Display *dpy, ContextInfo *pContext)
2178 CRASSERT(pContext);
2180 if (pContext->damageQueryFailed)
2183 pContext->damageQueryFailed = True;
2185 if (!XDamageQueryExtension(dpy, &pContext->damageEventsBase, &erb)
2193 pContext->damageQueryFailed = False;
2280 static GLX_Pixmap_t* stubInitGlxPixmap(GLX_Pixmap_t* pCreateInfoPixmap, Display *dpy, GLXDrawable draw, ContextInfo *pContext)
2289 CRASSERT(pContext && pCreateInfoPixmap);
2347 if (!pContext->damageQueryFailed)
2376 crHashtableAdd(pContext->pGLXPixmapsHash, (unsigned int) draw, pGlxPixmap);