Search
lxdream.org :: lxdream/src/drivers/video_x11.h
lxdream 0.9.1
released Jun 29
Download Now
filename src/drivers/video_x11.h
changeset 144:7f0714e89aaa
prev108:565de331ccec
next352:f0df7a6d4703
author nkeynes
date Sun Jan 14 02:55:06 2007 +0000 (17 years ago)
permissions -rw-r--r--
last change Add GL common file
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
.