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 545:fdcdcd8b9fd1
prev477:9a373f2ff009
next561:533f6b478071
author nkeynes
date Thu Nov 29 09:28:28 2007 +0000 (16 years ago)
permissions -rw-r--r--
last change Refactor GLX support and implement pbuffer rendering support
file annotate diff log raw
1.1 --- a/src/drivers/gl_common.h Wed Oct 31 09:10:23 2007 +0000
1.2 +++ b/src/drivers/gl_common.h Thu Nov 29 09:28:28 2007 +0000
1.3 @@ -31,9 +31,9 @@
1.4 gboolean hasRequiredGLExtensions();
1.5
1.6 /**
1.7 - * Generic GL routine to draw the given frame buffer into a render buffer
1.8 + * Generic GL routine to draw the given frame buffer into a texture
1.9 */
1.10 -gboolean gl_load_frame_buffer( frame_buffer_t frame, render_buffer_t buffer );
1.11 +gboolean gl_load_frame_buffer( frame_buffer_t frame, int tex_id );
1.12
1.13 /**
1.14 * Generic GL routine to blank the display view with the specified colour.
1.15 @@ -46,6 +46,11 @@
1.16 void gl_display_render_buffer( render_buffer_t buffer );
1.17
1.18 /**
1.19 + * Write a rectangular texture (GL_TEXTURE_RECTANGLE_ARB) to the display frame
1.20 + */
1.21 +void gl_texture_window( int width, int height, int tex_id, gboolean inverted );
1.22 +
1.23 +/**
1.24 * Redisplay the last frame.
1.25 */
1.26 void gl_redisplay_last();
.