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 108:565de331ccec
prev94:8d80d9c7cc7d
next144:7f0714e89aaa
author nkeynes
date Wed Mar 15 13:16:50 2006 +0000 (13 years ago)
permissions -rw-r--r--
last change More video WIP - displays _something_ now, at least...
view annotate diff log raw
     1 /**
     2  * $Id: video_x11.h,v 1.2 2006-03-15 13:16:46 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 "video.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
.