Mercurial > repos > blastem
comparison render.h @ 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 |
---|---|
152 void render_reset_mappings(void); | 152 void render_reset_mappings(void); |
153 void render_update_display(void); | 153 void render_update_display(void); |
154 int render_ui_to_pixels_x(int ui); | 154 int render_ui_to_pixels_x(int ui); |
155 int render_ui_to_pixels_y(int ui); | 155 int render_ui_to_pixels_y(int ui); |
156 char *render_read_clipboard(void); | 156 char *render_read_clipboard(void); |
157 uint8_t render_is_threaded_video(void); | |
157 #ifndef IS_LIB | 158 #ifndef IS_LIB |
158 uint8_t render_create_thread(render_thread *thread, const char *name, render_thread_fun fun, void *data); | 159 uint8_t render_create_thread(render_thread *thread, const char *name, render_thread_fun fun, void *data); |
159 uint8_t render_static_image(uint8_t window, uint8_t *buffer, uint32_t size); | 160 uint8_t render_static_image(uint8_t window, uint8_t *buffer, uint32_t size); |
160 void render_draw_image(uint8_t window, uint8_t image, int x, int y, int width, int height); | 161 void render_draw_image(uint8_t window, uint8_t image, int x, int y, int width, int height); |
161 void render_clear_window(uint8_t window, uint8_t r, uint8_t g, uint8_t b); | 162 void render_clear_window(uint8_t window, uint8_t r, uint8_t g, uint8_t b); |