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=3b3e1de555b33415629f1d96bfc32b02aec28a6e;hp=f5cc63282fa1c9fae0c9219ec6c1dc0420dee231;hb=9a6e78167b192106ed58bfac00e82f4c6caa2586;hpb=096ec49b4bae537b45c4b7178af6ad97c6bfabb2 diff --git a/plugins/gpu_neon/gpu.h b/plugins/gpu_neon/gpu.h index f5cc6328..3b3e1de5 100644 --- a/plugins/gpu_neon/gpu.h +++ b/plugins/gpu_neon/gpu.h @@ -74,7 +74,8 @@ struct psx_gpu { } last_list; } state; struct { - int32_t set:3; /* -1 auto, 0 off, 1 fixed */ + int32_t set:3; /* -1 auto, 0 off, 1-3 fixed */ + int32_t cnt:3; /* amount skipped in a row */ uint32_t active:1; uint32_t allow:1; uint32_t frame_ready:1; @@ -89,17 +90,19 @@ extern const unsigned char cmd_lengths[256]; void do_cmd_list(uint32_t *list, int count); +struct rearmed_cbs; + 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); +void renderer_set_config(const struct rearmed_cbs *config); int vout_init(void); int vout_finish(void); /* listing these here for correct linkage if rasterizer uses c++ */ struct GPUFreeze; -struct rearmed_cbs; long GPUinit(void); long GPUshutdown(void);