mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-20 13:52:33 +03:00
edb28b33f3
git-svn-id: svn://kolibrios.org@3770 a494cfbc-eb01-0410-851d-a64ba20cac60
30 lines
588 B
C
30 lines
588 B
C
#ifndef XLIB_SW_WINSYS_H
|
|
#define XLIB_SW_WINSYS_H
|
|
|
|
#include "state_tracker/sw_winsys.h"
|
|
#include <X11/Xlib.h>
|
|
|
|
|
|
struct pipe_screen;
|
|
struct pipe_resource;
|
|
|
|
/* 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;
|
|
};
|
|
|
|
|
|
/* This is the public interface to the ws/xlib module. Why isn't it
|
|
* being defined in that directory?
|
|
*/
|
|
struct sw_winsys *xlib_create_sw_winsys( Display *display );
|
|
|
|
|
|
#endif
|