filename | src/drivers/video_x11.h |
changeset | 108:565de331ccec |
prev | 94:8d80d9c7cc7d |
next | 144:7f0714e89aaa |
author | nkeynes |
date | Wed Mar 15 13:16:50 2006 +0000 (18 years ago) |
permissions | -rw-r--r-- |
last change | More video WIP - displays _something_ now, at least... |
file | annotate | diff | log | raw |
nkeynes@94 | 1 | /** |
nkeynes@108 | 2 | * $Id: video_x11.h,v 1.2 2006-03-15 13:16:46 nkeynes Exp $ |
nkeynes@94 | 3 | * |
nkeynes@94 | 4 | * Parent for all X11 display drivers. |
nkeynes@94 | 5 | * |
nkeynes@94 | 6 | * Copyright (c) 2005 Nathan Keynes. |
nkeynes@94 | 7 | * |
nkeynes@94 | 8 | * This program is free software; you can redistribute it and/or modify |
nkeynes@94 | 9 | * it under the terms of the GNU General Public License as published by |
nkeynes@94 | 10 | * the Free Software Foundation; either version 2 of the License, or |
nkeynes@94 | 11 | * (at your option) any later version. |
nkeynes@94 | 12 | * |
nkeynes@94 | 13 | * This program is distributed in the hope that it will be useful, |
nkeynes@94 | 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
nkeynes@94 | 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
nkeynes@94 | 16 | * GNU General Public License for more details. |
nkeynes@94 | 17 | */ |
nkeynes@94 | 18 | |
nkeynes@94 | 19 | #ifndef video_x11_driver_H |
nkeynes@94 | 20 | #define video_x11_driver_H |
nkeynes@94 | 21 | |
nkeynes@94 | 22 | #include "X11/Xlib.h" |
nkeynes@94 | 23 | #include "video.h" |
nkeynes@94 | 24 | |
nkeynes@94 | 25 | void video_x11_set_display( Display *display, Screen *screen, Window window ); |
nkeynes@94 | 26 | |
nkeynes@94 | 27 | extern Display *video_x11_display; |
nkeynes@94 | 28 | extern Screen *video_x11_screen; |
nkeynes@94 | 29 | extern Window video_x11_window; |
nkeynes@94 | 30 | |
nkeynes@108 | 31 | |
nkeynes@108 | 32 | gboolean video_glx_set_render_format( int x, int y, int width, int height ); |
nkeynes@108 | 33 | void video_glx_swap_buffers(); |
nkeynes@108 | 34 | |
nkeynes@94 | 35 | #endif |
.