\r
namespace caspar { namespace core {\r
\r
-class host_buffer;\r
-\r
class device_buffer : boost::noncopyable\r
{\r
public:\r
void bind();\r
void bind(int index);\r
void unbind();\r
-\r
- void clear();\r
-\r
- void attach(int index = 0);\r
-\r
- void begin_read(host_buffer& source);\r
+ \r
+ void begin_read();\r
bool ready() const;\r
private:\r
friend class ogl_device;\r
device_buffer(size_t width, size_t height, size_t stride);\r
\r
+ int id() const;\r
+\r
struct implementation;\r
safe_ptr<implementation> impl_;\r
};\r