2 * $Id: video_x11.h,v 1.3 2006-05-15 08:28:52 nkeynes Exp $
4 * Parent for all X11 display drivers.
6 * Copyright (c) 2005 Nathan Keynes.
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
19 #ifndef video_x11_driver_H
20 #define video_x11_driver_H
25 void video_x11_set_display( Display *display, Screen *screen, Window window );
27 extern Display *video_x11_display;
28 extern Screen *video_x11_screen;
29 extern Window video_x11_window;
32 gboolean video_glx_set_render_format( int x, int y, int width, int height );
33 void video_glx_swap_buffers();
.