54
54
geometry::Stride stride() const override;
55
55
MirPixelFormat pixel_format() const override;
56
56
void gl_bind_to_texture() override;
59
57
//note, you will get the native representation of an android buffer, including
60
58
//the fences associated with the buffer. You must close these fences
61
59
std::shared_ptr<NativeBuffer> native_buffer_handle() const override;
63
61
void write(unsigned char const* pixels, size_t size) override;
66
65
gralloc_module_t const* hw_module;