diff options
author | Brian Paul <brianp@vmware.com> | 2009-10-07 09:40:04 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-10-07 09:41:38 -0600 |
commit | 0526100a5cbd928fa28d38abdafd6beb024b0828 (patch) | |
tree | 455ba927c1c9a29fe3c2190562d89a04a9dcce68 /src/gallium/state_trackers/glx/xlib/xm_api.h | |
parent | f36425b569953de862ecd8f42ecd54831ad9c4a6 (diff) |
gallium/xlib: fix glXQueryDrawable() bugs, see bug 24320
Diffstat (limited to 'src/gallium/state_trackers/glx/xlib/xm_api.h')
-rw-r--r-- | src/gallium/state_trackers/glx/xlib/xm_api.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/glx/xlib/xm_api.h b/src/gallium/state_trackers/glx/xlib/xm_api.h index ce97a3ec76..d24971ca1c 100644 --- a/src/gallium/state_trackers/glx/xlib/xm_api.h +++ b/src/gallium/state_trackers/glx/xlib/xm_api.h @@ -323,6 +323,9 @@ struct xmesa_buffer { Colormap cmap; /* the X colormap */ BufferType type; /* window, pixmap, pbuffer or glxwindow */ + GLboolean largestPbuffer; /**< for pbuffers */ + GLboolean preservedContents; /**< for pbuffers */ + XImage *tempImage; unsigned long selectedEvents;/* for pbuffers only */ @@ -370,6 +373,10 @@ extern XMesaBuffer xmesa_find_buffer(Display *dpy, Colormap cmap, XMesaBuffer notThis); extern void +xmesa_get_window_size(Display *dpy, XMesaBuffer b, + GLuint *width, GLuint *height); + +extern void xmesa_check_and_update_buffer_size(XMesaContext xmctx, XMesaBuffer drawBuffer); extern void |