all repos — mgba @ cdddcbf7aa695818dd02ce122edfcb0bb6dbc45f

mGBA Game Boy Advance Emulator

src/gba/renderers/video-software.h (view raw)

 1#ifndef VIDEO_SOFTWARE_H
 2#define VIDEO_SOFTWARE_H
 3
 4#include "gba-video.h"
 5
 6#include <pthread.h>
 7
 8struct GBAVideoSoftwareRenderer {
 9	struct GBAVideoRenderer d;
10
11	uint16_t* outputBuffer;
12	unsigned outputBufferStride;
13
14	pthread_mutex_t mutex;
15	pthread_cond_t cond;
16};
17
18void GBAVideoSoftwareRendererCreate(struct GBAVideoSoftwareRenderer* renderer);
19
20#endif