Lines Matching defs:context

70  * \returns  A pointer to the context's __DRIdrawable on success, or NULL if
71 * the drawable is not associated with a direct-rendering context.
137 * Get the GLX per-screen data structure associated with a GLX context.
227 * Verifies context's GLX_RENDER_TYPE value with config.
230 * \param renderType The context render type to be verified.
231 * \return True if the value of context renderType was approved, or 0 if no
278 * Determine if a context uses direct rendering.
280 * \param dpy Display where the context was created.
281 * \param contextID ID of the context to be tested.
285 * \returns \c True if the context is direct rendering or not.
313 * Create a new context.
336 /* Some application may request an indirect context but we may want to force a direct
365 req->context = gc->xid = XAllocID(dpy);
380 req->context = gc->xid = XAllocID(dpy);
401 req->context = gc->xid = XAllocID(dpy);
459 /* Choose the context render type based on DRI config values. It is
488 req->context = xid;
494 ** Destroy the named context
510 /* This context is bound to some thread. According to the man page,
511 * we should not actually delete the context until it's unbound.
513 * we check for that and delete the context there.
621 ** Copy the source context to the destination context using the
658 ** If the source is the current context, send its tag so that the context
688 /* This is set for us at context creation */
748 * is actually bound to a context... */
870 ** The calling thread may or may not have a current context. If it
871 ** does, send the context tag so the server can do a flush.
1418 int i, renderType = GLX_RGBA_TYPE; /* By default, assume RGBA context */
1431 * "If <contextID> does not refer to a valid context, then a BadContext
1433 * context then no error is generated but glXImportContextEXT returns
1456 req->context = contextID;
1469 req->context = contextID;
1580 * "glXFreeContext does not free the server-side context information or
1581 * the XID associated with the server-side context."
1584 * context. Also, only release the context structure if it's not current.
1762 * the context is still bound.
1814 * the context is still bound.
2379 ** The calling thread may or may not have a current context. If it
2380 ** does, send the context tag so the server can do a flush.
2737 MesaGLInteropGLXQueryDeviceInfo(Display *dpy, GLXContext context,
2740 struct glx_context *gc = (struct glx_context*)context;
2761 MesaGLInteropGLXExportObject(Display *dpy, GLXContext context,
2765 struct glx_context *gc = (struct glx_context*)context;