mirror of
https://github.com/RetroPortingToolKit/psxrecomp
synced 2026-10-26 02:11:36 -04:00
Test: frame generation GL fixture stubs the HD texture pack hooks; TCP index
master's HD texture packs (#557 base) added gpu_hd_textures_* calls to the GL renderer and the gpu_render.c facade; the fixture runs without a pack. The command index is regenerated for frame_gen. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -479,9 +479,9 @@ between Play and TCP availability.
|
||||
|
||||
## Complete command index (generated)
|
||||
|
||||
**358 commands registered** — 345 on the native server (`runtime/src/debug_server.c`), 61 on the Beetle server (`runtime/src/beetle_debug_server.c`).
|
||||
**359 commands registered** — 346 on the native server (`runtime/src/debug_server.c`), 61 on the Beetle server (`runtime/src/beetle_debug_server.c`).
|
||||
|
||||
72 of 358 have prose above; **286 are index-only**. An index-only command still works — it just has no description here yet. Send it `{"cmd":"<name>"}` and read the reply, or find its `handle_*` function in the server source.
|
||||
72 of 359 have prose above; **287 are index-only**. An index-only command still works — it just has no description here yet. Send it `{"cmd":"<name>"}` and read the reply, or find its `handle_*` function in the server source.
|
||||
|
||||
Regenerate with `python tools/gen_tcp_commands.py`; `--check` fails if this block has drifted from the code.
|
||||
|
||||
@@ -602,6 +602,7 @@ Regenerate with `python tools/gen_tcp_commands.py`; `--check` fails if this bloc
|
||||
| `fntrace_unfiltered` | | ✓ | |
|
||||
| `frame` | ✓ | | ✓ |
|
||||
| `frame_fingerprint` | ✓ | | ✓ |
|
||||
| `frame_gen` | ✓ | | |
|
||||
| `frame_perf` | ✓ | | |
|
||||
| `frame_range` | ✓ | ✓ | ✓ |
|
||||
| `frame_timeseries` | ✓ | ✓ | ✓ |
|
||||
|
||||
@@ -19,7 +19,17 @@
|
||||
static void fixture_present(int generated);
|
||||
#define GL_PRESENT_TEST_HOOK(gen) fixture_present(gen)
|
||||
#include "gpu_gl_renderer.c"
|
||||
#include "gpu_hd_texture_stubs.inc"
|
||||
#include "mod_texture_banks.c"
|
||||
/* gpu_render.c (the facade) observes draws for HD texture packs: no pack here. */
|
||||
int gpu_hd_textures_active(void){return 0;}
|
||||
int gpu_hd_textures_dump_enabled(void){return 0;}
|
||||
void gpu_hd_textures_observe_draw(uint16_t tp,uint16_t cx,uint16_t cy,const int l[4],
|
||||
uint32_t w,int semi){(void)tp;(void)cx;(void)cy;(void)l;(void)w;(void)semi;}
|
||||
void gpu_hd_textures_set_vram(const uint16_t* v){(void)v;}
|
||||
void gpu_hd_textures_track_upload(int x,int y,int w,int h,const uint16_t* words){
|
||||
(void)x;(void)y;(void)w;(void)h;(void)words;}
|
||||
void gpu_hd_textures_invalidate(int x,int y,int w,int h){(void)x;(void)y;(void)w;(void)h;}
|
||||
uint32_t psx_mod_gpu_dma_memory_alloc(uint32_t n,uint32_t a){(void)n;(void)a;return 0;}
|
||||
uint32_t psx_mod_read_word(uint32_t a){(void)a;return 0;}
|
||||
int g_psx_vram_dirty_tracking=0;
|
||||
|
||||
Reference in New Issue
Block a user