Searched refs:pcp (Results 1 - 11 of 11) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/glx/
H A Ddriwindows_glx.c70 struct driwindows_context *pcp = (struct driwindows_context *) context; local in function:driwindows_destroy_context
72 driReleaseDrawables(&pcp->base);
76 windows_destroy_context(pcp->windowsContext);
78 free(pcp);
85 struct driwindows_context *pcp = (struct driwindows_context *) context; local in function:driwindows_bind_context
91 driReleaseDrawables(&pcp->base);
96 if (windows_bind_context(pcp->windowsContext,
106 struct driwindows_context *pcp = (struct driwindows_context *) context; local in function:driwindows_unbind_context
108 windows_unbind_context(pcp->windowsContext);
117 struct driwindows_context *pcp local in function:driwindows_bind_tex_image
135 struct driwindows_context *pcp = (struct driwindows_context *) gc; local in function:driwindows_release_tex_image
164 struct driwindows_context *pcp, *pcp_shared; local in function:driwindows_create_context
221 struct driwindows_context *pcp, *pcp_shared; local in function:driwindows_create_context_attribs
[all...]
H A Ddrisw_glx.c399 struct drisw_context *pcp = (struct drisw_context *) context; local in function:drisw_destroy_context
402 driReleaseDrawables(&pcp->base);
406 (*psc->core->destroyContext) (pcp->driContext);
408 free(pcp);
415 struct drisw_context *pcp = (struct drisw_context *) context; local in function:drisw_bind_context
416 struct drisw_screen *psc = (struct drisw_screen *) pcp->base.psc;
422 driReleaseDrawables(&pcp->base);
424 if ((*psc->core->bindContext) (pcp->driContext,
435 struct drisw_context *pcp = (struct drisw_context *) context; local in function:drisw_unbind_context
436 struct drisw_screen *psc = (struct drisw_screen *) pcp
447 struct drisw_context *pcp = (struct drisw_context *) gc; local in function:drisw_bind_tex_image
479 struct drisw_context *pcp = (struct drisw_context *) gc; local in function:drisw_release_tex_image
517 struct drisw_context *pcp, *pcp_shared; local in function:drisw_create_context
573 struct drisw_context *pcp, *pcp_shared; local in function:drisw_create_context_attribs
[all...]
H A Ddri2_glx.c116 struct dri2_context *pcp = (struct dri2_context *) context; local in function:dri2_destroy_context
119 driReleaseDrawables(&pcp->base);
123 (*psc->core->destroyContext) (pcp->driContext);
125 free(pcp);
132 struct dri2_context *pcp = (struct dri2_context *) context; local in function:dri2_bind_context
133 struct dri2_screen *psc = (struct dri2_screen *) pcp->base.psc;
142 driReleaseDrawables(&pcp->base);
154 if (!(*psc->core->bindContext) (pcp->driContext, dri_draw, dri_read))
173 struct dri2_context *pcp = (struct dri2_context *) context; local in function:dri2_unbind_context
174 struct dri2_screen *psc = (struct dri2_screen *) pcp
184 struct dri2_context *pcp, *pcp_shared; local in function:dri2_create_context
238 struct dri2_context *pcp = NULL; local in function:dri2_create_context_attribs
965 struct dri2_context *pcp = (struct dri2_context *) loaderPrivate; local in function:driSetBackgroundContext
972 struct dri2_context *pcp = (struct dri2_context *) loaderPrivate; local in function:driIsThreadSafe
1031 struct dri2_context *pcp = (struct dri2_context *) gc; local in function:dri2_bind_tex_image
1069 struct dri2_context *pcp = (struct dri2_context *) gc; local in function:dri2_release_tex_image
[all...]
H A Ddri3_glx.c104 struct dri3_context *pcp = (struct dri3_context *) __glXGetCurrentContext(); local in function:glx_dri3_in_current_context
107 return (&pcp->base != &dummyContext) && pcp->base.psc == &psc->base;
123 struct dri3_context *pcp = (struct dri3_context *) gc; local in function:glx_dri3_get_dri_screen
124 struct dri3_screen *psc = (struct dri3_screen *) pcp->base.psc;
174 struct dri3_context *pcp = (struct dri3_context *) context; local in function:dri3_destroy_context
177 driReleaseDrawables(&pcp->base);
181 (*psc->core->destroyContext) (pcp->driContext);
183 free(pcp);
190 struct dri3_context *pcp local in function:dri3_bind_context
224 struct dri3_context *pcp = (struct dri3_context *) context; local in function:dri3_unbind_context
238 struct dri3_context *pcp = NULL; local in function:dri3_create_context_attribs
539 struct dri3_context *pcp = (struct dri3_context *)loaderPrivate; local in function:dri_set_background_context
677 struct dri3_context *pcp = (struct dri3_context *) gc; local in function:dri3_bind_tex_image
700 struct dri3_context *pcp = (struct dri3_context *) gc; local in function:dri3_release_tex_image
[all...]
H A Ddri_glx.c607 struct dri_context *pcp = (struct dri_context *) context; local in function:dri_destroy_context
610 driReleaseDrawables(&pcp->base);
614 (*psc->core->destroyContext) (pcp->driContext);
616 XF86DRIDestroyContext(psc->base.dpy, psc->base.scr, pcp->hwContextID);
617 free(pcp);
624 struct dri_context *pcp = (struct dri_context *) context; local in function:dri_bind_context
625 struct dri_screen *psc = (struct dri_screen *) pcp->base.psc;
631 driReleaseDrawables(&pcp->base);
636 if ((*psc->core->bindContext) (pcp->driContext,
646 struct dri_context *pcp local in function:dri_unbind_context
669 struct dri_context *pcp, *pcp_shared; local in function:dri_create_context
[all...]
/xsrc/external/mit/MesaLib/dist/src/glx/
H A Ddriwindows_glx.c70 struct driwindows_context *pcp = (struct driwindows_context *) context; local in function:driwindows_destroy_context
72 driReleaseDrawables(&pcp->base);
76 windows_destroy_context(pcp->windowsContext);
78 free(pcp);
85 struct driwindows_context *pcp = (struct driwindows_context *) context; local in function:driwindows_bind_context
91 driReleaseDrawables(&pcp->base);
96 if (windows_bind_context(pcp->windowsContext,
106 struct driwindows_context *pcp = (struct driwindows_context *) context; local in function:driwindows_unbind_context
108 windows_unbind_context(pcp->windowsContext);
124 struct driwindows_context *pcp, *pcp_share local in function:driwindows_create_context
181 struct driwindows_context *pcp, *pcp_shared; local in function:driwindows_create_context_attribs
[all...]
H A Ddri3_glx.c104 struct dri3_context *pcp = (struct dri3_context *) __glXGetCurrentContext(); local in function:glx_dri3_in_current_context
107 return (&pcp->base != &dummyContext) && pcp->base.psc == &psc->base;
123 struct dri3_context *pcp = (struct dri3_context *) gc; local in function:glx_dri3_get_dri_screen
124 struct dri3_screen *psc = (struct dri3_screen *) pcp->base.psc;
174 struct dri3_context *pcp = (struct dri3_context *) context; local in function:dri3_destroy_context
177 driReleaseDrawables(&pcp->base);
181 (*psc->core->destroyContext) (pcp->driContext);
183 free(pcp);
190 struct dri3_context *pcp local in function:dri3_bind_context
224 struct dri3_context *pcp = (struct dri3_context *) context; local in function:dri3_unbind_context
238 struct dri3_context *pcp = NULL; local in function:dri3_create_context_attribs
525 struct dri3_context *pcp = (struct dri3_context *)loaderPrivate; local in function:dri_set_background_context
669 struct dri3_context *pcp = (struct dri3_context *) gc; local in function:dri3_bind_tex_image
691 struct dri3_context *pcp = (struct dri3_context *) gc; local in function:dri3_release_tex_image
[all...]
H A Ddrisw_glx.c384 struct drisw_context *pcp = (struct drisw_context *) context; local in function:drisw_destroy_context
387 driReleaseDrawables(&pcp->base);
391 (*psc->core->destroyContext) (pcp->driContext);
393 free(pcp);
400 struct drisw_context *pcp = (struct drisw_context *) context; local in function:drisw_bind_context
401 struct drisw_screen *psc = (struct drisw_screen *) pcp->base.psc;
407 driReleaseDrawables(&pcp->base);
409 if ((*psc->core->bindContext) (pcp->driContext,
420 struct drisw_context *pcp = (struct drisw_context *) context; local in function:drisw_unbind_context
421 struct drisw_screen *psc = (struct drisw_screen *) pcp
443 struct drisw_context *pcp = (struct drisw_context *) gc; local in function:drisw_bind_tex_image
472 struct drisw_context *pcp = (struct drisw_context *) gc; local in function:drisw_release_tex_image
507 struct drisw_context *pcp, *pcp_shared; local in function:drisw_create_context_attribs
[all...]
H A Ddri2_glx.c116 struct dri2_context *pcp = (struct dri2_context *) context; local in function:dri2_destroy_context
119 driReleaseDrawables(&pcp->base);
123 (*psc->core->destroyContext) (pcp->driContext);
125 free(pcp);
132 struct dri2_context *pcp = (struct dri2_context *) context; local in function:dri2_bind_context
133 struct dri2_screen *psc = (struct dri2_screen *) pcp->base.psc;
142 driReleaseDrawables(&pcp->base);
154 if (!(*psc->core->bindContext) (pcp->driContext, dri_draw, dri_read))
173 struct dri2_context *pcp = (struct dri2_context *) context; local in function:dri2_unbind_context
174 struct dri2_screen *psc = (struct dri2_screen *) pcp
187 struct dri2_context *pcp = NULL; local in function:dri2_create_context_attribs
905 struct dri2_context *pcp = (struct dri2_context *) loaderPrivate; local in function:driSetBackgroundContext
912 struct dri2_context *pcp = (struct dri2_context *) loaderPrivate; local in function:driIsThreadSafe
970 struct dri2_context *pcp = (struct dri2_context *) gc; local in function:dri2_bind_tex_image
1004 struct dri2_context *pcp = (struct dri2_context *) gc; local in function:dri2_release_tex_image
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/common/
H A Ddri_util.c523 driDestroyContext(__DRIcontext *pcp) argument
525 if (pcp) {
526 pcp->driScreenPriv->driver->DestroyContext(pcp);
527 free(pcp);
556 static int driBindContext(__DRIcontext *pcp, argument
565 if (!pcp)
569 pcp->driDrawablePriv = pdp;
570 pcp->driReadablePriv = prp;
572 pdp->driContextPriv = pcp;
598 driUnbindContext(__DRIcontext * pcp) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/common/
H A Ddri_util.c530 driDestroyContext(__DRIcontext *pcp) argument
532 if (pcp) {
533 pcp->driScreenPriv->driver->DestroyContext(pcp);
534 free(pcp);
563 static int driBindContext(__DRIcontext *pcp, argument
572 if (!pcp)
576 pcp->driDrawablePriv = pdp;
577 pcp->driReadablePriv = prp;
579 pdp->driContextPriv = pcp;
605 driUnbindContext(__DRIcontext * pcp) argument
[all...]

Completed in 187 milliseconds