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 (13 years ago)
permissions -rw-r--r--
last change Video code reshuffle to start getting real video happening.
Implement colourspace conversions
Various tweaks
file annotate diff log raw
nkeynes@94
     1
/**
nkeynes@94
     2
 * $Id: video_x11.c,v 1.1 2006-02-05 04:05:27 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
#include "drivers/video_x11.h"
nkeynes@94
    20
nkeynes@94
    21
Display *video_x11_display = NULL;
nkeynes@94
    22
Screen *video_x11_screen = NULL;
nkeynes@94
    23
Window video_x11_window = 0;
nkeynes@94
    24
nkeynes@94
    25
void video_x11_set_display( Display *display, Screen *screen, Window window )
nkeynes@94
    26
{
nkeynes@94
    27
    video_x11_display = display;
nkeynes@94
    28
    video_x11_screen = screen;
nkeynes@94
    29
    video_x11_window = window;
nkeynes@94
    30
}
nkeynes@94
    31
.