• Home
  • Raw
  • Download

Lines Matching refs:pcp

70    struct driwindows_context *pcp = (struct driwindows_context *) context;  in driwindows_destroy_context()  local
72 driReleaseDrawables(&pcp->base); in driwindows_destroy_context()
76 windows_destroy_context(pcp->windowsContext); in driwindows_destroy_context()
78 free(pcp); in driwindows_destroy_context()
85 struct driwindows_context *pcp = (struct driwindows_context *) context; in driwindows_bind_context() local
91 driReleaseDrawables(&pcp->base); in driwindows_bind_context()
96 if (windows_bind_context(pcp->windowsContext, in driwindows_bind_context()
106 struct driwindows_context *pcp = (struct driwindows_context *) context; in driwindows_unbind_context() local
108 windows_unbind_context(pcp->windowsContext); in driwindows_unbind_context()
117 struct driwindows_context *pcp = (struct driwindows_context *) gc; in driwindows_bind_tex_image() local
124 windows_setTexBuffer(pcp->windowsContext, in driwindows_bind_tex_image()
135 struct driwindows_context *pcp = (struct driwindows_context *) gc; in driwindows_release_tex_image() local
141 windows_releaseTexBuffer(pcp->windowsContext, in driwindows_release_tex_image()
164 struct driwindows_context *pcp, *pcp_shared; in driwindows_create_context() local
188 pcp = calloc(1, sizeof *pcp); in driwindows_create_context()
189 if (pcp == NULL) in driwindows_create_context()
192 if (!glx_context_init(&pcp->base, &psc->base, &config->base)) { in driwindows_create_context()
193 free(pcp); in driwindows_create_context()
197 pcp->base.renderType = renderType; in driwindows_create_context()
201 pcp->windowsContext = windows_create_context(config->pxfi, shared); in driwindows_create_context()
203 if (!pcp->windowsContext) { in driwindows_create_context()
204 free(pcp); in driwindows_create_context()
208 pcp->base.vtable = &driwindows_context_vtable; in driwindows_create_context()
210 return &pcp->base; in driwindows_create_context()
221 struct driwindows_context *pcp, *pcp_shared; in driwindows_create_context_attribs() local
263 pcp = calloc(1, sizeof *pcp); in driwindows_create_context_attribs()
264 if (pcp == NULL) in driwindows_create_context_attribs()
267 if (!glx_context_init(&pcp->base, &psc->base, &config->base)) { in driwindows_create_context_attribs()
268 free(pcp); in driwindows_create_context_attribs()
272 pcp->base.renderType = renderType; in driwindows_create_context_attribs()
276 pcp->windowsContext = windows_create_context_attribs(config->pxfi, in driwindows_create_context_attribs()
279 if (pcp->windowsContext == NULL) { in driwindows_create_context_attribs()
280 free(pcp); in driwindows_create_context_attribs()
284 pcp->base.vtable = &driwindows_context_vtable; in driwindows_create_context_attribs()
286 return &pcp->base; in driwindows_create_context_attribs()