7 #include "ref_counted_gl_sync.h"
11 void start_mixer(QSurface *surface, QSurface *surface2, QSurface *surface3, QSurface *surface4);
19 void mixer_cut(Source source);
23 RefCountedGLsync ready_fence; // Asserted when the texture is done rendering.
25 bool mixer_get_display_frame(DisplayFrame *frame); // Implicitly frees the previous one if there's a new frame available.
27 typedef std::function<void()> new_frame_ready_callback_t;
28 void set_frame_ready_fallback(new_frame_ready_callback_t callback);
30 #endif // !defined(_MIXER_H)