mesa/src/gallium/include/state_tracker/xlibsw_api.h
Emil Velikov 4f37e52f37 winsys/xlib: move xlib_create_sw_winsys within the winsys
v2: Rebase on top of vl_winsys_xsp.c removal
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> (v1)
2014-02-22 03:26:28 +00:00

19 lines
372 B
C

#ifndef XLIB_SW_WINSYS_H
#define XLIB_SW_WINSYS_H
#include "state_tracker/sw_winsys.h"
#include <X11/Xlib.h>
/* This is what the xlib software winsys expects to find in the
* "private" field of flush_frontbuffers().
*
* Xlib-based state trackers somehow need to know this.
*/
struct xlib_drawable {
Visual *visual;
int depth;
Drawable drawable;
};
#endif