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 352:f0df7a6d4703
prev144:7f0714e89aaa
next370:3131ba1440fc
author nkeynes
date Sun Feb 11 10:09:32 2007 +0000 (16 years ago)
permissions -rw-r--r--
last change Bug 27: Implement opengl framebuffer objects
Rewrite much of the final video output stage. Now uses generic "render
buffers", implemented on GL using framebuffer objects + textures.
file annotate diff log raw
nkeynes@94
     1
/**
nkeynes@352
     2
 * $Id: video_x11.h,v 1.4 2007-02-11 10:09:32 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@108
    27
nkeynes@94
    28
#endif
.