Skip to content

Commit 7f84a8f

Browse files
committed
nv2a: Drop now-unused winding test
1 parent 1faf550 commit 7f84a8f

File tree

9 files changed

+0
-994
lines changed

9 files changed

+0
-994
lines changed

hw/xbox/nv2a/pgraph/gl/gpuprops.c

Lines changed: 0 additions & 356 deletions
This file was deleted.

hw/xbox/nv2a/pgraph/gl/meson.build

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ specific_ss.add([sdl, gloffscreen, files(
33
'debug.c',
44
'display.c',
55
'draw.c',
6-
'gpuprops.c',
76
'renderer.c',
87
'reports.c',
98
'shaders.c',

hw/xbox/nv2a/pgraph/gl/renderer.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,6 @@ static void early_context_init(void)
3232
g_nv2a_context_render = glo_context_create();
3333
g_nv2a_context_display = glo_context_create();
3434

35-
// Note: Due to use of shared contexts, this must happen after some other
36-
// context is created so the temporary context will not become the thread
37-
// context. After destroying the context, some a durable context should be
38-
// selected.
39-
GloContext *context = glo_context_create();
40-
pgraph_gl_determine_gpu_properties();
41-
glo_context_destroy(context);
4235
glo_set_current(g_nv2a_context_display);
4336
}
4437

@@ -207,7 +200,6 @@ static PGRAPHRenderer pgraph_gl_renderer = {
207200
.set_surface_scale_factor = pgraph_gl_set_surface_scale_factor,
208201
.get_surface_scale_factor = pgraph_gl_get_surface_scale_factor,
209202
.get_framebuffer_surface = pgraph_gl_get_framebuffer_surface,
210-
.get_gpu_properties = pgraph_gl_get_gpu_properties,
211203
}
212204
};
213205

hw/xbox/nv2a/pgraph/gl/renderer.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -294,8 +294,4 @@ void pgraph_gl_shader_write_cache_reload_list(PGRAPHState *pg);
294294
void pgraph_gl_set_surface_scale_factor(NV2AState *d, unsigned int scale);
295295
unsigned int pgraph_gl_get_surface_scale_factor(NV2AState *d);
296296
int pgraph_gl_get_framebuffer_surface(NV2AState *d);
297-
/** Note: The caller must set up a clean GL context before invoking. */
298-
void pgraph_gl_determine_gpu_properties(void);
299-
GPUProperties *pgraph_gl_get_gpu_properties(void);
300-
301297
#endif

0 commit comments

Comments
 (0)