Search
lxdream.org :: lxdream/src/drivers/video_x11.c
lxdream 0.9.1
released Jun 29
Download Now
filename src/drivers/video_x11.c
changeset 94:8d80d9c7cc7d
next103:9b9cfc5855e0
author nkeynes
date Sun Feb 05 04:05:27 2006 +0000 (15 years ago)
permissions -rw-r--r--
last change Video code reshuffle to start getting real video happening.
Implement colourspace conversions
Various tweaks
view annotate diff log raw
     1 /**
     2  * $Id: video_x11.c,v 1.1 2006-02-05 04:05:27 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 #include "drivers/video_x11.h"
    21 Display *video_x11_display = NULL;
    22 Screen *video_x11_screen = NULL;
    23 Window video_x11_window = 0;
    25 void video_x11_set_display( Display *display, Screen *screen, Window window )
    26 {
    27     video_x11_display = display;
    28     video_x11_screen = screen;
    29     video_x11_window = window;
    30 }
.