Search
lxdream.org :: lxdream/src/drivers/gl_common.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/drivers/gl_common.h
changeset 443:1163eb5c0590
prev429:e581b90c3fb3
next477:9a373f2ff009
author nkeynes
date Sat Oct 13 04:01:02 2007 +0000 (12 years ago)
permissions -rw-r--r--
last change Add ability to track the last displayed buffer, and handle expose/resize
events appropriately
file annotate diff log raw
1.1 --- a/src/drivers/gl_common.h Mon Oct 08 11:52:13 2007 +0000
1.2 +++ b/src/drivers/gl_common.h Sat Oct 13 04:01:02 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: gl_common.h,v 1.3 2007-10-08 11:49:35 nkeynes Exp $
1.6 + * $Id: gl_common.h,v 1.4 2007-10-13 04:01:02 nkeynes Exp $
1.7 *
1.8 * Parent for all X11 display drivers.
1.9 *
1.10 @@ -40,6 +40,20 @@
1.11 */
1.12 gboolean gl_display_blank( uint32_t colour );
1.13
1.14 +/**
1.15 + * Copy the frame buffer contents to the specified texture id
1.16 + */
1.17 +void gl_frame_buffer_to_tex_rectangle( frame_buffer_t frame, GLuint texid );
1.18 +
1.19 +/**
1.20 + * Write a rectangular texture (GL_TEXTURE_RECTANGLE_ARB) to the display frame
1.21 + */
1.22 +void gl_display_tex_rectangle( GLuint texid, uint32_t texwidth, uint32_t texheight, gboolean invert );
1.23 +
1.24 +/**
1.25 + * Redisplay the last frame.
1.26 + */
1.27 +void gl_redisplay_last();
1.28
1.29 /**
1.30 * Generic GL read_render_buffer. This function assumes that the caller
.