Mercurial > repos > blastem
comparison render.h @ 719:019d27995e32
Upgrade to SDL 2.0 and drop support for the non-OpenGL render path
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Wed, 20 May 2015 19:05:11 -0700 |
parents | 7b0df1aaf384 |
children | 7178d750efbd |
comparison
equal
deleted
inserted
replaced
718:eaba6789f316 | 719:019d27995e32 |
---|---|
16 int stride; | 16 int stride; |
17 } surface_info; | 17 } surface_info; |
18 | 18 |
19 uint32_t render_map_color(uint8_t r, uint8_t g, uint8_t b); | 19 uint32_t render_map_color(uint8_t r, uint8_t g, uint8_t b); |
20 void render_alloc_surfaces(vdp_context * context); | 20 void render_alloc_surfaces(vdp_context * context); |
21 uint8_t render_depth(); | 21 void render_init(int width, int height, char * title, uint32_t fps, uint8_t fullscreen); |
22 void render_init(int width, int height, char * title, uint32_t fps, uint8_t fullscreen, uint8_t use_gl); | |
23 void render_context(vdp_context * context); | 22 void render_context(vdp_context * context); |
24 void render_wait_quit(vdp_context * context); | 23 void render_wait_quit(vdp_context * context); |
25 void render_wait_psg(psg_context * context); | 24 void render_wait_psg(psg_context * context); |
26 void render_wait_ym(ym2612_context * context); | 25 void render_wait_ym(ym2612_context * context); |
27 int wait_render_frame(vdp_context * context, int frame_limit); | 26 int wait_render_frame(vdp_context * context, int frame_limit); |