Keep isolated OpenGL fixtures linked with optional feature API doubles

This commit is contained in:
Matthew Stanley
2026-10-24 09:56:19 -07:00
parent 28baee6a09
commit ef3dc30d24
5 changed files with 13 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
#pragma once
/* These fixtures exercise native presentation. Decoder behavior has its own test. */
#include "gpu_fmv_hd.h"
int gpu_fmv_hd_lookup(const uint32_t *p,int w,int h,int cw,FmvHdImage *out) {
(void)p;(void)w;(void)h;(void)cw;(void)out;return 0;
}
void gpu_fmv_hd_shutdown(void) {}
void gpu_fmv_hd_stats(uint64_t *h,uint64_t *q,uint64_t *m) {if(h)*h=0;if(q)*q=0;if(m)*m=0;}
int gpu_fmv_hd_debug_json(char *out,size_t cap) {if(out&&cap)out[0]=0;return 0;}
+1
View File
@@ -34,6 +34,7 @@ static void fixture_present(int generated);
static void fixture_window(int slot);
#define GL_PRESENT_THREAD_TEST_HOOK(slot) fixture_window(slot)
#include "gpu_gl_renderer.c"
#include "gl_fmv_fixture.h"
#include "gpu_hd_texture_stubs.inc"
#include "mod_texture_banks.c"
#include "gl_batch_policy_lle.c"
+1
View File
@@ -1,5 +1,6 @@
/* Original source-owned GL readback-coherence regression. No retail payload. */
#include "gpu_gl_renderer.c"
#include "gl_fmv_fixture.h"
#include "gpu_hd_texture_stubs.inc"
#include "mod_texture_banks.c"
#include "gl_batch_policy_lle.c"
+1
View File
@@ -30,6 +30,7 @@
* surface), and with the thread on its record/acquire counters.
* Original source-owned scene; no retail payload. */
#include "gpu_gl_renderer.c"
#include "gl_fmv_fixture.h"
#include "gpu_hd_texture_stubs.inc"
#include "mod_texture_banks.c"
#include "gl_batch_policy_lle.c"
+1
View File
@@ -81,6 +81,7 @@
* 3x as the nearest rescale of all their pixels, before any redraw.
* Original source-owned scene; no retail payload. */
#include "gpu_gl_renderer.c"
#include "gl_fmv_fixture.h"
#include "gpu_hd_texture_stubs.inc"
#include "mod_texture_banks.c"
#include "gl_batch_policy_lle.c"