Search
lxdream.org :: lxdream/src/pvr2/pvr2.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/pvr2/pvr2.h
changeset 1275:83b15705cdde
prev1256:a9d29fe74bf3
next1280:38f2b0e60261
author nkeynes
date Tue Mar 20 08:29:38 2012 +1000 (9 years ago)
permissions -rw-r--r--
last change More android WIP
- Implement onPause/onResume (although resume is not actually working yet)
- Implement BGRA => RGBA texture conversion (BGRA doesn't seem to work on the TFP)

Boot swirl is now displayed, albeit depth buffering seems to be broken.
file annotate diff log raw
1.1 --- a/src/pvr2/pvr2.h Sun Mar 04 21:10:12 2012 +1000
1.2 +++ b/src/pvr2/pvr2.h Tue Mar 20 08:29:38 2012 +1000
1.3 @@ -279,6 +279,8 @@
1.4 */
1.5 void pvr2_setup_gl_context();
1.6
1.7 +void pvr2_shutdown_gl_context();
1.8 +
1.9 void render_backplane( uint32_t *polygon, uint32_t width, uint32_t height, uint32_t mode );
1.10
1.11 void render_autosort_tile( pvraddr_t tile_entry, int render_mode );
1.12 @@ -320,10 +322,10 @@
1.13
1.14 /**
1.15 * Flush all textures and delete. The cache will be non-functional until
1.16 - * the next call to texcache_init(). This would typically be done if
1.17 + * the next call to texcache_gl_init(). This would typically be done if
1.18 * switching GL targets.
1.19 */
1.20 -void texcache_shutdown( void );
1.21 +void texcache_gl_shutdown( void );
1.22
1.23 /**
1.24 * Flush (ie free) all textures.
.