Search
lxdream.org :: lxdream/src/display.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/display.h
changeset 1076:18c164e8aec4
prev1072:d82e04e6d497
next1134:f502f3d32f90
author nkeynes
date Fri Sep 17 20:08:50 2010 +1000 (13 years ago)
permissions -rw-r--r--
last change Refactor shader management to support multiple programs, which are all
defined in the shaders.glsl, rather than split up into one file per
fragment.
file annotate diff log raw
1.1 --- a/src/display.h Tue Jul 21 20:33:21 2009 +1000
1.2 +++ b/src/display.h Fri Sep 17 20:08:50 2010 +1000
1.3 @@ -194,6 +194,11 @@
1.4 void (*display_blank)( uint32_t rgb );
1.5
1.6 /**
1.7 + * Swap front/back window buffers
1.8 + */
1.9 + void (*swap_buffers)();
1.10 +
1.11 + /**
1.12 * Copy the image data from the GL buffer to the target memory buffer,
1.13 * using the format etc from the buffer. This may force a glFinish()
1.14 * but does not invalidate the buffer.
.