Lines Matching refs:XMesaBuffer
45 3. Call XMesaCreateWindowBuffer() to create an XMesaBuffer from an X window
48 4. Call XMesaMakeCurrent() to bind the XMesaBuffer to an XMesaContext and
104 typedef struct xmesa_buffer *XMesaBuffer;
176 * Create an XMesaBuffer from an X window.
178 extern XMesaBuffer XMesaCreateWindowBuffer( XMesaVisual v, XMesaWindow w );
182 * Create an XMesaBuffer from an X pixmap.
184 extern XMesaBuffer XMesaCreatePixmapBuffer( XMesaVisual v,
190 * Destroy an XMesaBuffer, but not the corresponding window or pixmap.
192 extern void XMesaDestroyBuffer( XMesaBuffer b );
196 * Return the XMesaBuffer handle which corresponds to an X drawable, if any.
200 extern XMesaBuffer XMesaFindBuffer( XMesaDisplay *dpy,
209 XMesaBuffer b );
218 XMesaBuffer drawBuffer,
219 XMesaBuffer readBuffer );
237 extern XMesaBuffer XMesaGetCurrentBuffer( void );
244 extern XMesaBuffer XMesaGetCurrentReadBuffer( void );
251 extern void XMesaSwapBuffers( XMesaBuffer b );
259 extern void XMesaCopySubBuffer( XMesaBuffer b,
268 * color buffer of an XMesaBuffer. This function is a way to get "under
270 * Input: b - the XMesaBuffer
276 extern GLboolean XMesaGetBackBuffer( XMesaBuffer b,
283 * Return the depth buffer associated with an XMesaBuffer.
292 extern GLboolean XMesaGetDepthBuffer( XMesaBuffer b,
364 extern void XMesaResizeBuffers( XMesaBuffer b );
372 extern XMesaBuffer XMesaCreatePBuffer(XMesaVisual v, XMesaColormap cmap,
382 XMesaBindTexImage(XMesaDisplay *dpy, XMesaBuffer drawable, int buffer,
386 XMesaReleaseTexImage(XMesaDisplay *dpy, XMesaBuffer drawable, int buffer);
389 extern XMesaBuffer