1bf215546Sopenharmony_ci#ifndef XLIB_SW_WINSYS_H 2bf215546Sopenharmony_ci#define XLIB_SW_WINSYS_H 3bf215546Sopenharmony_ci 4bf215546Sopenharmony_ci#include "frontend/sw_winsys.h" 5bf215546Sopenharmony_ci#include <X11/Xlib.h> 6bf215546Sopenharmony_ci 7bf215546Sopenharmony_ci 8bf215546Sopenharmony_ci/* This is what the xlib software winsys expects to find in the 9bf215546Sopenharmony_ci * "private" field of flush_frontbuffers(). 10bf215546Sopenharmony_ci * 11bf215546Sopenharmony_ci * Xlib-based gallium frontends somehow need to know this. 12bf215546Sopenharmony_ci */ 13bf215546Sopenharmony_cistruct xlib_drawable { 14bf215546Sopenharmony_ci Visual *visual; 15bf215546Sopenharmony_ci int depth; 16bf215546Sopenharmony_ci Drawable drawable; 17bf215546Sopenharmony_ci}; 18bf215546Sopenharmony_ci 19bf215546Sopenharmony_ci#endif 20