Lines Matching refs:psp
39 setupLoaderExtensions(__DRIscreen *psp,
46 psp->swrast_loader = (__DRIswrastLoaderExtension *) extensions[i];
55 __DRIscreen *psp;
57 psp = CALLOC_STRUCT(__DRIscreenRec);
58 if (!psp)
61 setupLoaderExtensions(psp, extensions);
63 psp->loaderPrivate = data;
65 psp->extensions = emptyExtensionList;
66 psp->fd = -1;
67 psp->myNum = scrn;
69 *driver_configs = driDriverAPI.InitScreen(psp);
71 FREE(psp);
75 return psp;
78 static void driDestroyScreen(__DRIscreen *psp)
80 if (psp) {
81 driDriverAPI.DestroyScreen(psp);
82 FREE(psp);
86 static const __DRIextension **driGetExtensions(__DRIscreen *psp)
88 return psp->extensions;
189 driCreateNewContextForAPI(__DRIscreen *psp, int api,
195 return driCreateContextAttribs(psp, api, config, shared, 0, NULL,
200 driCreateNewContext(__DRIscreen *psp, const __DRIconfig *config,
203 return driCreateNewContextForAPI(psp, __DRI_API_OPENGL,
297 driCreateNewDrawable(__DRIscreen *psp,
308 pdp->driScreenPriv = psp;
313 if (!driDriverAPI.CreateBuffer(psp, pdp, &config->modes, GL_FALSE)) {