Mercurial > repos > blastem
comparison render.h @ 2041:638eb2d25696 mame_interp
Merge from default
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Thu, 05 Aug 2021 09:29:33 -0700 |
parents | 193b804c9845 |
children | f11f4399d64b |
comparison
equal
deleted
inserted
replaced
1984:0d5f88e53dca | 2041:638eb2d25696 |
---|---|
3 This file is part of BlastEm. | 3 This file is part of BlastEm. |
4 BlastEm is free software distributed under the terms of the GNU General Public License version 3 or greater. See COPYING for full license text. | 4 BlastEm is free software distributed under the terms of the GNU General Public License version 3 or greater. See COPYING for full license text. |
5 */ | 5 */ |
6 #ifndef RENDER_H_ | 6 #ifndef RENDER_H_ |
7 #define RENDER_H_ | 7 #define RENDER_H_ |
8 | |
9 #include <stdint.h> | |
8 | 10 |
9 #ifndef IS_LIB | 11 #ifndef IS_LIB |
10 #ifdef USE_FBDEV | 12 #ifdef USE_FBDEV |
11 #include "special_keys_evdev.h" | 13 #include "special_keys_evdev.h" |
12 #define render_relative_mouse(V) | 14 #define render_relative_mouse(V) |
136 void render_set_ui_render_fun(ui_render_fun); | 138 void render_set_ui_render_fun(ui_render_fun); |
137 void render_set_ui_fb_resize_handler(ui_render_fun resize); | 139 void render_set_ui_fb_resize_handler(ui_render_fun resize); |
138 void render_video_loop(void); | 140 void render_video_loop(void); |
139 uint8_t render_should_release_on_exit(void); | 141 uint8_t render_should_release_on_exit(void); |
140 void render_set_external_sync(uint8_t ext_sync_on); | 142 void render_set_external_sync(uint8_t ext_sync_on); |
143 void render_reset_mappings(void); | |
144 #ifndef IS_LIB | |
141 uint8_t render_create_thread(render_thread *thread, const char *name, render_thread_fun fun, void *data); | 145 uint8_t render_create_thread(render_thread *thread, const char *name, render_thread_fun fun, void *data); |
146 #endif | |
142 | 147 |
143 #endif //RENDER_H_ | 148 #endif //RENDER_H_ |
144 | 149 |