comparison render.h @ 2308:b7768c58f0da

Initial stab at DPI scaling support
author Michael Pavone <pavone@retrodev.com>
date Sun, 26 Mar 2023 22:39:18 -0700
parents eb45ad9d8a3f
children a71176b9903d
comparison
equal deleted inserted replaced
2307:a8080240cb92 2308:b7768c58f0da
144 void render_video_loop(void); 144 void render_video_loop(void);
145 uint8_t render_should_release_on_exit(void); 145 uint8_t render_should_release_on_exit(void);
146 void render_set_external_sync(uint8_t ext_sync_on); 146 void render_set_external_sync(uint8_t ext_sync_on);
147 void render_reset_mappings(void); 147 void render_reset_mappings(void);
148 void render_update_display(void); 148 void render_update_display(void);
149 int render_ui_to_pixels_x(int ui);
150 int render_ui_to_pixels_y(int ui);
149 #ifndef IS_LIB 151 #ifndef IS_LIB
150 uint8_t render_create_thread(render_thread *thread, const char *name, render_thread_fun fun, void *data); 152 uint8_t render_create_thread(render_thread *thread, const char *name, render_thread_fun fun, void *data);
151 #endif 153 #endif
152 154
153 #endif //RENDER_H_ 155 #endif //RENDER_H_