Home
last modified time | relevance | path

Searched refs:XMesaBuffer (Results 1 – 11 of 11) sorted by relevance

/external/mesa3d/src/gallium/state_trackers/glx/xlib/
Dxm_api.h71 typedef struct xmesa_buffer *XMesaBuffer; typedef
159 extern XMesaBuffer XMesaCreateWindowBuffer( XMesaVisual v, Window w );
165 extern XMesaBuffer XMesaCreatePixmapBuffer( XMesaVisual v,
173 extern void XMesaDestroyBuffer( XMesaBuffer b );
181 extern XMesaBuffer XMesaFindBuffer( Display *dpy,
192 XMesaBuffer drawBuffer,
193 XMesaBuffer readBuffer );
212 extern void XMesaSwapBuffers( XMesaBuffer b );
220 extern void XMesaCopySubBuffer( XMesaBuffer b,
251 extern XMesaBuffer XMesaCreatePBuffer(XMesaVisual v, Colormap cmap,
[all …]
Dxm_api.c292 xmesa_get_window_size(Display *dpy, XMesaBuffer b, in xmesa_get_window_size()
423 static XMesaBuffer XMesaBufferList = NULL;
437 static XMesaBuffer
442 XMesaBuffer b; in create_xmesa_buffer()
450 b = (XMesaBuffer) CALLOC_STRUCT(xmesa_buffer); in create_xmesa_buffer()
486 XMesaBuffer
487 xmesa_find_buffer(Display *dpy, Colormap cmap, XMesaBuffer notThis) in xmesa_find_buffer()
489 XMesaBuffer b; in xmesa_find_buffer()
505 xmesa_free_buffer(XMesaBuffer buffer) in xmesa_free_buffer()
507 XMesaBuffer prev = NULL, b; in xmesa_free_buffer()
[all …]
Dglx_api.c1107 static XMesaBuffer MakeCurrent_PrevDrawBuffer = 0;
1108 static XMesaBuffer MakeCurrent_PrevReadBuffer = 0;
1125 XMesaBuffer drawBuffer, readBuffer; in glXMakeContextCurrent()
1265 XMesaBuffer b; in glXCreateGLXPixmap()
1291 XMesaBuffer b; in glXCreateGLXPixmapMESA()
1313 XMesaBuffer b = XMesaFindBuffer(dpy, pixmap); in glXDestroyGLXPixmap()
1381 XMesaBuffer buffer = XMesaFindBuffer( dpy, drawable ); in glXSwapBuffers()
1409 XMesaBuffer buffer = XMesaFindBuffer( dpy, drawable ); in glXCopySubBufferMESA()
1860 XMesaBuffer xmbuf; in glXCreateWindow()
1878 XMesaBuffer b = XMesaFindBuffer(dpy, (Drawable) window); in glXDestroyWindow()
[all …]
Dxm_st.h38 xmesa_create_st_framebuffer(XMesaDisplay xmdpy, XMesaBuffer b);
Dxm_st.c37 XMesaBuffer buffer;
271 xmesa_create_st_framebuffer(XMesaDisplay xmdpy, XMesaBuffer b) in xmesa_create_st_framebuffer()
/external/mesa3d/src/mesa/drivers/x11/
Dxmesa.h104 typedef struct xmesa_buffer *XMesaBuffer; typedef
178 extern XMesaBuffer XMesaCreateWindowBuffer( XMesaVisual v, XMesaWindow w );
184 extern XMesaBuffer XMesaCreatePixmapBuffer( XMesaVisual v,
192 extern void XMesaDestroyBuffer( XMesaBuffer b );
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 );
[all …]
Dxm_api.c243 xmesa_get_window_size(XMesaDisplay *dpy, XMesaBuffer b, in xmesa_get_window_size()
266 XMesaBuffer XMesaBufferList = NULL;
280 static XMesaBuffer
284 XMesaBuffer b; in create_xmesa_buffer()
288 b = (XMesaBuffer) CALLOC_STRUCT(xmesa_buffer); in create_xmesa_buffer()
360 XMesaBuffer
361 xmesa_find_buffer(XMesaDisplay *dpy, XMesaColormap cmap, XMesaBuffer notThis) in xmesa_find_buffer()
363 XMesaBuffer b; in xmesa_find_buffer()
377 xmesa_free_buffer(XMesaBuffer buffer) in xmesa_free_buffer()
379 XMesaBuffer prev = NULL, b; in xmesa_free_buffer()
[all …]
DxmesaP.h37 extern XMesaBuffer XMesaBufferList;
111 XMesaBuffer xm_buffer; /* current span/point/line/triangle buffer */
157 XMesaBuffer Parent; /**< The XMesaBuffer this renderbuffer belongs to */
337 extern XMesaBuffer
338 xmesa_find_buffer(XMesaDisplay *dpy, XMesaColormap cmap, XMesaBuffer notThis);
346 xmesa_get_window_size(XMesaDisplay *dpy, XMesaBuffer b,
350 xmesa_check_and_update_buffer_size(XMesaContext xmctx, XMesaBuffer drawBuffer);
399 static INLINE XMesaBuffer
402 return (XMesaBuffer) b; in XMESA_BUFFER()
Dfakeglx.c1345 static XMesaBuffer MakeCurrent_PrevDrawBuffer = 0;
1346 static XMesaBuffer MakeCurrent_PrevReadBuffer = 0;
1357 XMesaBuffer drawBuffer, readBuffer; in Fake_glXMakeContextCurrent()
1441 XMesaBuffer b; in Fake_glXCreateGLXPixmap()
1467 XMesaBuffer b; in Fake_glXCreateGLXPixmapMESA()
1489 XMesaBuffer b = XMesaFindBuffer(dpy, pixmap); in Fake_glXDestroyGLXPixmap()
1567 XMesaBuffer buffer = XMesaFindBuffer( dpy, drawable ); in Fake_glXSwapBuffers()
1586 XMesaBuffer buffer = XMesaFindBuffer( dpy, drawable ); in Fake_glXCopySubBufferMESA()
2054 XMesaBuffer xmbuf; in Fake_glXCreateWindow()
2072 XMesaBuffer b = XMesaFindBuffer(dpy, (XMesaDrawable) window); in Fake_glXDestroyWindow()
[all …]
Dxm_dd.c70 XMesaBuffer xmbuf; in color_mask()
109 XMesaBuffer xmbuf = XMESA_BUFFER(ctx->DrawBuffer); in clear_pixmap()
249 XMesaBuffer b = XMESA_BUFFER(ctx->DrawBuffer); in clear_buffers()
382 XMesaBuffer xmbuf = XMESA_BUFFER(ctx->DrawBuffer); in xmesa_DrawPixels_8R8G8B()
516 XMesaBuffer xmbuf = XMESA_BUFFER(ctx->DrawBuffer); in xmesa_DrawPixels_5R6G5B()
614 XMesaBuffer xmbuf = XMESA_BUFFER(ctx->DrawBuffer); in xmesa_CopyPixels()
707 XMesaBuffer xmbuf = XMESA_BUFFER(ctx->DrawBuffer); in xmesa_update_state()
756 XMesaBuffer xmdrawbuf = XMESA_BUFFER(ctx->WinSysDrawBuffer); in xmesa_viewport()
757 XMesaBuffer xmreadbuf = XMESA_BUFFER(ctx->WinSysReadBuffer); in xmesa_viewport()
Dxm_buffer.c64 alloc_back_shm_ximage(XMesaBuffer b, GLuint width, GLuint height) in alloc_back_shm_ximage()
158 alloc_back_shm_ximage(XMesaBuffer b, GLuint width, GLuint height) in alloc_back_shm_ximage()
172 alloc_back_buffer(XMesaBuffer b, GLuint width, GLuint height) in alloc_back_buffer()
376 XMesaBuffer b = XMESA_BUFFER(fb); in xmesa_delete_framebuffer()