Lines Matching refs:pbuf
74 struct apple_glx_pbuffer *pbuf = &d->types.pbuffer; in pbuffer_make_current() local
79 cglerr = apple_cgl.set_pbuffer(ac->context_obj, pbuf->buffer_obj, 0, 0, 0); in pbuffer_make_current()
87 apple_glapi_oglfw_viewport_scissor(0, 0, pbuf->width, pbuf->height); in pbuffer_make_current()
99 struct apple_glx_pbuffer *pbuf = &d->types.pbuffer; in pbuffer_destroy() local
106 apple_cgl.destroy_pbuffer(pbuf->buffer_obj); in pbuffer_destroy()
107 XFreePixmap(dpy, pbuf->xid); in pbuffer_destroy()
112 apple_glx_pbuffer_destroy(Display * dpy, GLXPbuffer pbuf) in apple_glx_pbuffer_destroy() argument
114 return !apple_glx_drawable_destroy_by_type(dpy, pbuf, in apple_glx_pbuffer_destroy()
125 struct apple_glx_pbuffer *pbuf = NULL; in apple_glx_pbuffer_create() local
154 pbuf = &d->types.pbuffer; in apple_glx_pbuffer_create()
156 pbuf->xid = xid; in apple_glx_pbuffer_create()
157 pbuf->width = width; in apple_glx_pbuffer_create()
158 pbuf->height = height; in apple_glx_pbuffer_create()
162 0, &pbuf->buffer_obj); in apple_glx_pbuffer_create()
171 pbuf->fbconfigID = modes->fbconfigID; in apple_glx_pbuffer_create()
173 pbuf->event_mask = 0; in apple_glx_pbuffer_create()
175 *result = pbuf->xid; in apple_glx_pbuffer_create()
265 struct apple_glx_pbuffer *pbuf; in apple_glx_pbuffer_query() local
271 pbuf = &d->types.pbuffer; in apple_glx_pbuffer_query()
275 *value = pbuf->width; in apple_glx_pbuffer_query()
280 *value = pbuf->height; in apple_glx_pbuffer_query()
303 *value = pbuf->fbconfigID; in apple_glx_pbuffer_query()