Search
lxdream.org :: lxdream/src/pvr2/pvr2.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/pvr2/pvr2.h
changeset 669:ab344e42bca9
prev655:31a4b664d489
next677:3ee62740ff8f
author nkeynes
date Mon May 12 10:00:13 2008 +0000 (12 years ago)
permissions -rw-r--r--
last change Cleanup most of the -Wall warnings (getting a bit sloppy...)
Convert FP code to use fixed banks rather than indirect pointer
(3-4% faster this way now)
file annotate diff log raw
1.1 --- a/src/pvr2/pvr2.h Tue Apr 01 08:03:56 2008 +0000
1.2 +++ b/src/pvr2/pvr2.h Mon May 12 10:00:13 2008 +0000
1.3 @@ -244,31 +244,24 @@
1.4
1.5 /********************************* Renderer ******************************/
1.6
1.7 -void pvr2_read_scene( void );
1.8 -
1.9 /**
1.10 * Render the current scene stored in PVR ram to the GL back buffer.
1.11 */
1.12 -void pvr2_render_scene( render_buffer_t buffer );
1.13 +void pvr2_scene_render( render_buffer_t buffer );
1.14
1.15 /**
1.16 - * Display the scene rendered to the supplied address.
1.17 - * @return TRUE if there was an available render that was displayed,
1.18 - * otherwise FALSE (and no action was taken)
1.19 + * Perform the initial once-off GL setup, usually immediately after the GL
1.20 + * context is first bound.
1.21 */
1.22 -gboolean pvr2_render_display_frame( uint32_t address );
1.23 -
1.24 +void pvr2_setup_gl_context();
1.25
1.26 void render_backplane( uint32_t *polygon, uint32_t width, uint32_t height, uint32_t mode );
1.27
1.28 +void render_autosort_tile( pvraddr_t tile_entry, int render_mode );
1.29 +
1.30 void render_set_context( uint32_t *context, int render_mode );
1.31
1.32 -void pvr2_render_tilebuffer( int width, int height, int clipx1, int clipy1,
1.33 - int clipx2, int clipy2 );
1.34 -
1.35 -void pvr2_render_find_z_range( float *min, float *max );
1.36 -
1.37 -void pvr2_render_getsize( int *x, int *y );
1.38 +void gl_render_tilelist( pvraddr_t tile_entry );
1.39
1.40 /**
1.41 * Structure to hold a complete unpacked vertex (excluding modifier
.