Home
last modified time | relevance | path

Searched refs:pcp (Results 1 – 8 of 8) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/common/
Ddrisw_util.c105 __DRIcontext *pcp; in driCreateContextAttribs() local
168 pcp = CALLOC_STRUCT(__DRIcontextRec); in driCreateContextAttribs()
169 if (!pcp) in driCreateContextAttribs()
172 pcp->loaderPrivate = data; in driCreateContextAttribs()
174 pcp->driScreenPriv = screen; in driCreateContextAttribs()
175 pcp->driDrawablePriv = NULL; in driCreateContextAttribs()
176 pcp->driReadablePriv = NULL; in driCreateContextAttribs()
178 if (!driDriverAPI.CreateContext(mesa_api, modes, pcp, in driCreateContextAttribs()
181 FREE(pcp); in driCreateContextAttribs()
185 return pcp; in driCreateContextAttribs()
[all …]
Ddri_util.c325 driDestroyContext(__DRIcontext *pcp) in driDestroyContext() argument
327 if (pcp) { in driDestroyContext()
328 driDriverAPI.DestroyContext(pcp); in driDestroyContext()
329 free(pcp); in driDestroyContext()
358 static int driBindContext(__DRIcontext *pcp, in driBindContext() argument
367 if (!pcp) in driBindContext()
371 pcp->driDrawablePriv = pdp; in driBindContext()
372 pcp->driReadablePriv = prp; in driBindContext()
374 pdp->driContextPriv = pcp; in driBindContext()
381 return driDriverAPI.MakeCurrent(pcp, pdp, prp); in driBindContext()
[all …]
/external/mesa3d/src/glx/
Ddrisw_glx.c253 struct drisw_context *pcp = (struct drisw_context *) context; in drisw_destroy_context() local
256 driReleaseDrawables(&pcp->base); in drisw_destroy_context()
261 (*psc->core->destroyContext) (pcp->driContext); in drisw_destroy_context()
263 Xfree(pcp); in drisw_destroy_context()
270 struct drisw_context *pcp = (struct drisw_context *) context; in drisw_bind_context() local
271 struct drisw_screen *psc = (struct drisw_screen *) pcp->base.psc; in drisw_bind_context()
277 driReleaseDrawables(&pcp->base); in drisw_bind_context()
282 if ((*psc->core->bindContext) (pcp->driContext, in drisw_bind_context()
292 struct drisw_context *pcp = (struct drisw_context *) context; in drisw_unbind_context() local
293 struct drisw_screen *psc = (struct drisw_screen *) pcp->base.psc; in drisw_unbind_context()
[all …]
Ddri2_glx.c124 struct dri2_context *pcp = (struct dri2_context *) context; in dri2_destroy_context() local
127 driReleaseDrawables(&pcp->base); in dri2_destroy_context()
132 (*psc->core->destroyContext) (pcp->driContext); in dri2_destroy_context()
134 Xfree(pcp); in dri2_destroy_context()
141 struct dri2_context *pcp = (struct dri2_context *) context; in dri2_bind_context() local
142 struct dri2_screen *psc = (struct dri2_screen *) pcp->base.psc; in dri2_bind_context()
149 driReleaseDrawables(&pcp->base); in dri2_bind_context()
154 if (!(*psc->core->bindContext) (pcp->driContext, in dri2_bind_context()
174 struct dri2_context *pcp = (struct dri2_context *) context; in dri2_unbind_context() local
175 struct dri2_screen *psc = (struct dri2_screen *) pcp->base.psc; in dri2_unbind_context()
[all …]
Ddri_glx.c514 struct dri_context *pcp = (struct dri_context *) context; in dri_destroy_context() local
517 driReleaseDrawables(&pcp->base); in dri_destroy_context()
522 (*psc->core->destroyContext) (pcp->driContext); in dri_destroy_context()
524 XF86DRIDestroyContext(psc->base.dpy, psc->base.scr, pcp->hwContextID); in dri_destroy_context()
525 Xfree(pcp); in dri_destroy_context()
532 struct dri_context *pcp = (struct dri_context *) context; in dri_bind_context() local
533 struct dri_screen *psc = (struct dri_screen *) pcp->base.psc; in dri_bind_context()
539 driReleaseDrawables(&pcp->base); in dri_bind_context()
544 if ((*psc->core->bindContext) (pcp->driContext, in dri_bind_context()
554 struct dri_context *pcp = (struct dri_context *) context; in dri_unbind_context() local
[all …]
/external/blktrace/btreplay/
Dbtreplay.c390 static inline void __set_cv(pthread_mutex_t *pmp, pthread_cond_t *pcp, in __set_cv() argument
397 pthread_cond_signal(pcp); in __set_cv()
408 static inline void __wait_cv(pthread_mutex_t *pmp, pthread_cond_t *pcp, in __wait_cv() argument
413 pthread_cond_wait(pcp, pmp); in __wait_cv()
/external/tcpdump/
Dprint-openflow-1.0.c592 pcp_str(const uint8_t pcp) { in pcp_str() argument
594 snprintf(buf, sizeof(buf), pcp <= 7 ? "%u" : "%u (bogus)", pcp); in pcp_str()
/external/chromium-trace/trace-viewer/tracing/test_data/
Dddms_calculator_start.trace56146 i��pcp�m���
121041 ���pcp���
143607 ���pcp�a� ��