Home | History | Annotate | Download | only in glx

Lines Matching refs:pcp

124    struct dri2_context *pcp = (struct dri2_context *) context;
127 driReleaseDrawables(&pcp->base);
132 (*psc->core->destroyContext) (pcp->driContext);
134 Xfree(pcp);
141 struct dri2_context *pcp = (struct dri2_context *) context;
142 struct dri2_screen *psc = (struct dri2_screen *) pcp->base.psc;
149 driReleaseDrawables(&pcp->base);
154 if (!(*psc->core->bindContext) (pcp->driContext,
174 struct dri2_context *pcp = (struct dri2_context *) context;
175 struct dri2_screen *psc = (struct dri2_screen *) pcp->base.psc;
177 (*psc->core->unbindContext) (pcp->driContext);
185 struct dri2_context *pcp, *pcp_shared;
202 pcp = Xmalloc(sizeof *pcp);
203 if (pcp == NULL)
206 memset(pcp, 0, sizeof *pcp);
207 if (!glx_context_init(&pcp->base, &psc->base, &config->base)) {
208 Xfree(pcp);
212 pcp->driContext =
214 config->driConfig, shared, pcp);
216 if (pcp->driContext == NULL) {
217 Xfree(pcp);
221 pcp->base.vtable = &dri2_context_vtable;
223 return &pcp->base;
234 struct dri2_context *pcp = NULL;
265 pcp = Xmalloc(sizeof *pcp);
266 if (pcp == NULL) {
271 memset(pcp, 0, sizeof *pcp);
272 if (!glx_context_init(&pcp->base, &psc->base, &config->base))
298 pcp->driContext =
306 pcp);
308 if (pcp->driContext == NULL)
311 pcp->base.vtable = &dri2_context_vtable;
313 return &pcp->base;
316 if (pcp != NULL)
317 Xfree(pcp);
883 struct dri2_context *pcp = (struct dri2_context *) gc;
902 (*psc->texBuffer->setTexBuffer2) (pcp->driContext,
908 (*psc->texBuffer->setTexBuffer) (pcp->driContext,
920 struct dri2_context *pcp = (struct dri2_context *) gc;
933 (*psc->texBuffer->releaseTexBuffer) (pcp->driContext,