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 144:7f0714e89aaa
prev108:565de331ccec
next352:f0df7a6d4703
author nkeynes
date Thu Jun 15 10:25:45 2006 +0000 (17 years ago)
permissions -rw-r--r--
last change Add P4 I/O tracing
Add ability to set I/O trace by region address
file annotate diff log raw
nkeynes@94
     1
/**
nkeynes@144
     2
 * $Id: video_x11.h,v 1.3 2006-05-15 08:28:52 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@94
    25
void video_x11_set_display( Display *display, Screen *screen, Window window );
nkeynes@94
    26
nkeynes@94
    27
extern Display *video_x11_display;
nkeynes@94
    28
extern Screen *video_x11_screen;
nkeynes@94
    29
extern Window video_x11_window;
nkeynes@94
    30
nkeynes@108
    31
nkeynes@108
    32
gboolean video_glx_set_render_format( int x, int y, int width, int height );
nkeynes@108
    33
void video_glx_swap_buffers();
nkeynes@108
    34
nkeynes@94
    35
#endif
.