mesa/src/gallium/include/frontend/xlibsw_api.h
Marek Olšák 8c9b9aac7d gallium: change comments to remove 'state tracker'
Acked-by: Eric Anholt <eric@anholt.net>
Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4902>
2020-05-13 13:47:27 -04:00

19 lines
370 B
C

#ifndef XLIB_SW_WINSYS_H
#define XLIB_SW_WINSYS_H
#include "frontend/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 gallium frontends somehow need to know this.
*/
struct xlib_drawable {
Visual *visual;
int depth;
Drawable drawable;
};
#endif