Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
PojavLauncherTeam
GitHub Repository: PojavLauncherTeam/mesa
Path: blob/21.2-virgl/src/gallium/include/frontend/xlibsw_api.h
4565 views
1
#ifndef XLIB_SW_WINSYS_H
2
#define XLIB_SW_WINSYS_H
3
4
#include "frontend/sw_winsys.h"
5
#include <X11/Xlib.h>
6
7
8
/* This is what the xlib software winsys expects to find in the
9
* "private" field of flush_frontbuffers().
10
*
11
* Xlib-based gallium frontends somehow need to know this.
12
*/
13
struct xlib_drawable {
14
Visual *visual;
15
int depth;
16
Drawable drawable;
17
};
18
19
#endif
20
21