X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=plugins%2Fgpu_neon%2Fgpu.h;h=04f69ab855209adf7061bb1c15a4be2c5adfe2fd;hp=aa0eb7b4924145a0abe862137c6b3d853e57aa9c;hb=d84e376741b37109597cb3a08d31def4de3fc598;hpb=deb18d24e522ab1d9860ffa5730559e3e6a6aa5d diff --git a/plugins/gpu_neon/gpu.h b/plugins/gpu_neon/gpu.h index aa0eb7b4..04f69ab8 100644 --- a/plugins/gpu_neon/gpu.h +++ b/plugins/gpu_neon/gpu.h @@ -71,9 +71,10 @@ struct psx_gpu { } last_list; } state; struct { - uint32_t enabled:1; + int32_t set:3; /* -1 auto, 0 off, 1 fixed */ uint32_t active:1; uint32_t frame_ready:1; + uint32_t skipped_blits:5; const int *advice; } frameskip; }; @@ -84,5 +85,10 @@ extern const unsigned char cmd_lengths[256]; void do_cmd_list(uint32_t *list, int count); +int renderer_init(void); +void renderer_sync_ecmds(uint32_t * ecmds); +void renderer_invalidate_caches(int x, int y, int w, int h); +void renderer_flush_queues(void); + int vout_init(void); int vout_finish(void);