diff options
author | Michael Pavone <pavone@retrodev.com> | 2018-11-04 22:51:50 -0800 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2018-11-04 22:51:50 -0800 |
commit | 85dbe449fe94f8cb4d4b88eaa4acbbba2d52b153 (patch) | |
tree | 2c9fbfad84c55198c8aa50b9d1ea0d3d26ea7e45 /render.h | |
parent | 09884a02e3877fe74c0d2845acdca115d316f3be (diff) |
WIP new VDP plane debug view and support for detached VDP debug views generally
Diffstat (limited to 'render.h')
-rw-r--r-- | render.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -68,6 +68,7 @@ #define FRAMEBUFFER_ODD 0 #define FRAMEBUFFER_EVEN 1 +#define FRAMEBUFFER_USER_START 2 #include "vdp.h" @@ -88,8 +89,11 @@ typedef void (*drop_handler)(const char *filename); uint32_t render_map_color(uint8_t r, uint8_t g, uint8_t b); void render_save_screenshot(char *path); +uint8_t render_create_window(char *caption, uint32_t width, uint32_t height); uint32_t *render_get_framebuffer(uint8_t which, int *pitch); void render_framebuffer_updated(uint8_t which, int width); +//returns the framebuffer index associated with the Window that has focus +uint8_t render_get_active_framebuffer(void); void render_init(int width, int height, char * title, uint8_t fullscreen); void render_set_video_standard(vid_std std); void render_toggle_fullscreen(); |