7 #include "gpu_frame.h"
\r
11 class composite_gpu_frame : public gpu_frame
\r
14 composite_gpu_frame(size_t width, size_t height);
\r
17 bool write_unlock();
\r
18 void read_lock(GLenum mode);
\r
23 virtual unsigned char* data();
\r
25 virtual const std::vector<short>& audio_data() const;
\r
26 virtual std::vector<short>& audio_data();
\r
28 void add(const gpu_frame_ptr& frame);
\r
31 struct implementation;
\r
32 std::shared_ptr<implementation> impl_;
\r
34 typedef std::shared_ptr<composite_gpu_frame> composite_gpu_frame_ptr;
\r