Search
lxdream.org :: lxdream/src/pvr2/pvr2.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/pvr2/pvr2.h
changeset 1282:9f445c5e252b
prev1280:38f2b0e60261
next1294:52be323fcab4
author nkeynes
date Tue Mar 27 08:23:52 2012 +1000 (9 years ago)
permissions -rw-r--r--
last change Android: Preserve render buffers when switching away from app.
- fix gl_read_render_buffer + gl_load_frame_buffer to work in GLES
a) glReadPixels only (guaranteed to) work for GL_RGBA,GL_UNSIGNED_BYTE
b) glTexSubImage2D can only load GL_RGBA into a GL_RGBA render buffer.
file annotate diff log raw
1.1 --- a/src/pvr2/pvr2.h Wed Mar 21 14:45:27 2012 +1000
1.2 +++ b/src/pvr2/pvr2.h Tue Mar 27 08:23:52 2012 +1000
1.3 @@ -301,6 +301,15 @@
1.4 */
1.5 void pvr2_destroy_render_buffers( void );
1.6
1.7 +/**
1.8 + * Preserve render buffers in main memory
1.9 + */
1.10 +void pvr2_preserve_render_buffers( void );
1.11 +
1.12 +/**
1.13 + * Restore render buffers from a previous call to pvr2_preserve_render_buffers()
1.14 + */
1.15 +void pvr2_restore_render_buffers( void );
1.16
1.17 /**
1.18 * Structure to hold a complete unpacked vertex (excluding modifier
.