Mercurial > repos > blastem
comparison render.h @ 426:add9e2f5c0e3
Make VDP render in native pixel format of the renderer for a modest performance gain and to make it easier to use OpenGL for rendering
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Sun, 30 Jun 2013 11:45:58 -0700 |
parents | dbf4e1c86f3c |
children | 18cde14e8c10 7696d824489d |
comparison
equal
deleted
inserted
replaced
425:8b3ae850d1c4 | 426:add9e2f5c0e3 |
---|---|
2 #define RENDER_H_ | 2 #define RENDER_H_ |
3 | 3 |
4 #include "vdp.h" | 4 #include "vdp.h" |
5 #include "psg.h" | 5 #include "psg.h" |
6 #include "ym2612.h" | 6 #include "ym2612.h" |
7 uint32_t render_map_color(uint8_t r, uint8_t g, uint8_t b); | |
8 uint8_t render_depth(); | |
7 void render_init(int width, int height, char * title, uint32_t fps); | 9 void render_init(int width, int height, char * title, uint32_t fps); |
8 void render_context(vdp_context * context); | 10 void render_context(vdp_context * context); |
9 void render_wait_quit(vdp_context * context); | 11 void render_wait_quit(vdp_context * context); |
10 void render_wait_psg(psg_context * context); | 12 void render_wait_psg(psg_context * context); |
11 void render_wait_ym(ym2612_context * context); | 13 void render_wait_ym(ym2612_context * context); |