Mir
|
#include <configurable_display_buffer.h>
Public Member Functions | |
virtual void | configure (MirPowerMode power_mode, MirOrientation orientation)=0 |
![]() | |
virtual | ~DisplayBuffer () |
virtual geometry::Rectangle | view_area () const =0 |
The area the DisplayBuffer occupies in the virtual screen space. More... | |
virtual void | make_current ()=0 |
Makes the DisplayBuffer the current GL rendering target. More... | |
virtual void | release_current ()=0 |
Releases the current GL rendering target. More... | |
virtual void | gl_swap_buffers ()=0 |
Swap buffers for OpenGL rendering. More... | |
virtual void | flip ()=0 |
After gl_swap_buffers, flip the new front buffer to the screen This most likely involves a wait for vblank so can be very time consuming. More... | |
__attribute__ ((__deprecated__("Use gl_swap_buffers() and flip(), remembering to release all compositor buffers in the middle."))) void post_update() | |
virtual bool | post_renderables_if_optimizable (RenderableList const &renderlist)=0 |
This will render renderlist to the screen and post the result to the screen if there is a hardware optimization that can be done. More... | |
virtual MirOrientation | orientation () const =0 |
Returns the orientation of the display buffer relative to how the user should see it (the orientation of the output). More... | |
virtual bool | uses_alpha () const =0 |
Returns true if the display buffer has an alpha channel and the alpha channel will be read from at some point - in which case the renderer must produce valid alpha channel content. More... | |
Additional Inherited Members | |
![]() | |
DisplayBuffer ()=default | |
DisplayBuffer (DisplayBuffer const &c)=delete | |
DisplayBuffer & | operator= (DisplayBuffer const &c)=delete |
|
pure virtual |
Implemented in mir::graphics::android::DisplayBuffer.
Copyright © 2012,2013 Canonical Ltd.
Generated on Tue Mar 24 16:15:19 UTC 2015