Implement Banshee tiled surfaces

This commit is contained in:
SarahW 2020-08-12 15:13:48 +01:00
commit 133f19fe39
9 changed files with 379 additions and 133 deletions

View file

@ -217,8 +217,10 @@ typedef struct voodoo_t
uint32_t fb_read_offset, fb_write_offset;
int row_width;
int row_width, aux_row_width;
int block_width;
int col_tiled, aux_tiled;
uint8_t *fb_mem, *tex_mem[2];
uint16_t *tex_mem_w[2];
@ -409,6 +411,8 @@ typedef struct voodoo_t
int host_data_count;
int host_data_size_src, host_data_size_dest;
int src_stride_src, src_stride_dest;
int src_bpp;
} banshee_blt;
struct
@ -439,7 +443,7 @@ typedef struct voodoo_t
int buffer_cutoff;
uint32_t tile_base, tile_stride;
int tile_stride_shift, tile_x;
int tile_stride_shift, tile_x, tile_x_real;
int read_time, write_time, burst_time;