Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
4358 Serge 1
#ifndef XLIB_SW_WINSYS_H
2
#define XLIB_SW_WINSYS_H
3
 
4
#include "state_tracker/sw_winsys.h"
5
#include 
6
 
7
 
8
struct pipe_screen;
9
struct pipe_resource;
10
 
11
/* This is what the xlib software winsys expects to find in the
12
 * "private" field of flush_frontbuffers().
13
 *
14
 * Xlib-based state trackers somehow need to know this.
15
 */
16
struct xlib_drawable {
17
   Visual *visual;
18
   int depth;
19
   Drawable drawable;
20
};
21
 
22
 
23
/* This is the public interface to the ws/xlib module.  Why isn't it
24
 * being defined in that directory?
25
 */
26
struct sw_winsys *xlib_create_sw_winsys( Display *display );
27
 
28
 
29
#endif