Mercurial > repos > blastem
comparison vdp.h @ 2686:05915f01046d
WIP attempt to move VDP rendering to a separate thread
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Mon, 31 Mar 2025 21:02:17 -0700 |
parents | da2e06c42d16 |
children |
comparison
equal
deleted
inserted
replaced
2685:da2e06c42d16 | 2686:05915f01046d |
---|---|
181 typedef void (*vdp_reg_hook)(vdp_context *, uint16_t reg, uint16_t value); | 181 typedef void (*vdp_reg_hook)(vdp_context *, uint16_t reg, uint16_t value); |
182 typedef void (*vdp_data_hook)(vdp_context *, uint16_t value); | 182 typedef void (*vdp_data_hook)(vdp_context *, uint16_t value); |
183 | 183 |
184 struct vdp_context { | 184 struct vdp_context { |
185 system_header *system; | 185 system_header *system; |
186 struct vdp_context *renderer; | |
186 //pointer to current line in framebuffer | 187 //pointer to current line in framebuffer |
187 pixel_t *output; | 188 pixel_t *output; |
188 //pointer to current framebuffer | 189 //pointer to current framebuffer |
189 pixel_t *fb; | 190 pixel_t *fb; |
190 uint8_t *done_composite; | 191 uint8_t *done_composite; |