comparison render_sdl.c @ 2686:05915f01046d

WIP attempt to move VDP rendering to a separate thread
author Michael Pavone <pavone@retrodev.com>
date Mon, 31 Mar 2025 21:02:17 -0700
parents da2e06c42d16
children
comparison
equal deleted inserted replaced
2685:da2e06c42d16 2686:05915f01046d
104 } 104 }
105 105
106 uint8_t render_is_audio_sync(void) 106 uint8_t render_is_audio_sync(void)
107 { 107 {
108 return sync_src < SYNC_VIDEO; 108 return sync_src < SYNC_VIDEO;
109 }
110
111 uint8_t render_is_threaded_video(void)
112 {
113 return sync_src == SYNC_AUDIO_THREAD || sync_src == SYNC_EXTERNAL;
109 } 114 }
110 115
111 uint8_t render_should_release_on_exit(void) 116 uint8_t render_should_release_on_exit(void)
112 { 117 {
113 #ifdef __EMSCRIPTEN__ 118 #ifdef __EMSCRIPTEN__