filename | src/drivers/video_x11.h |
changeset | 144:7f0714e89aaa |
prev | 108:565de331ccec |
next | 352:f0df7a6d4703 |
author | nkeynes |
date | Sun Jul 02 04:59:00 2006 +0000 (17 years ago) |
permissions | -rw-r--r-- |
last change | Merge changes made on the MILESTONE1 branch back into head (mostly release touchups) |
view | annotate | diff | log | raw |
1 /**
2 * $Id: video_x11.h,v 1.3 2006-05-15 08:28:52 nkeynes Exp $
3 *
4 * Parent for all X11 display drivers.
5 *
6 * Copyright (c) 2005 Nathan Keynes.
7 *
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.
12 *
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.
17 */
19 #ifndef video_x11_driver_H
20 #define video_x11_driver_H
22 #include "X11/Xlib.h"
23 #include "display.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();
35 #endif
.