19 #ifndef MIR_SCENE_GL_PIXEL_BUFFER_H_ 20 #define MIR_SCENE_GL_PIXEL_BUFFER_H_ 27 #include <GLES2/gl2.h> 43 GLPixelBuffer(std::unique_ptr<graphics::GLContext> gl_context);
47 void const* as_argb_8888();
53 void copy_and_convert_pixel_line(
char* src,
char* dst);
55 std::unique_ptr<graphics::GLContext>
const gl_context;
58 std::vector<char> pixels;
59 GLuint gl_pixel_format;
60 bool pixels_need_y_flip;
All things Mir.
Definition: atomic_callback.h:25
Interface for extracting the pixels from a graphics::Buffer.
Definition: pixel_buffer.h:36
Extracts the pixels from a graphics::Buffer using GL facilities.
Definition: gl_pixel_buffer.h:40
Definition: dimensions.h:36
int const size
Definition: make_socket_rpc_channel.cpp:51