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 370:3131ba1440fc
prev352:f0df7a6d4703
author nkeynes
date Sat Sep 08 04:05:35 2007 +0000 (14 years ago)
permissions -rw-r--r--
last change Handle video driver init failure cleanly (fallback to headless)
Hookup shutdown for the GTK driver
file annotate diff log raw
nkeynes@94
     1
/**
nkeynes@370
     2
 * $Id: video_x11.h,v 1.5 2007-09-08 04:05:35 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@144
    23
#include "display.h"
nkeynes@94
    24
nkeynes@352
    25
gboolean video_glx_init( Display *display, Screen *screen, Window window,
nkeynes@352
    26
			 int width, int height, display_driver_t driver );
nkeynes@370
    27
void video_glx_shutdown();
nkeynes@94
    28
#endif
.