Mir
|
#include <gbm_display_buffer.h>
Public Member Functions | |
GBMDisplayBuffer (std::shared_ptr< GBMPlatform > const &platform, std::shared_ptr< DisplayReport > const &listener, std::vector< std::shared_ptr< KMSOutput >> const &outputs, GBMSurfaceUPtr surface_gbm, geometry::Rectangle const &area, EGLContext shared_context) | |
~GBMDisplayBuffer () | |
geometry::Rectangle | view_area () const |
The area the DisplayBuffer occupies in the virtual screen space. More... | |
void | make_current () |
Makes the DisplayBuffer the current GL rendering target. More... | |
void | release_current () |
Releases the current GL rendering target. More... | |
void | post_update () |
Posts the DisplayBuffer to the screen. More... | |
bool | can_bypass () const override |
void | post_update (std::shared_ptr< graphics::Buffer > bypass_buf) override |
void | schedule_set_crtc () |
![]() | |
virtual | ~DisplayBuffer () |
virtual void | post_update (std::shared_ptr< Buffer >) |
Additional Inherited Members | |
![]() | |
DisplayBuffer ()=default | |
DisplayBuffer (DisplayBuffer const &c)=delete | |
DisplayBuffer & | operator= (DisplayBuffer const &c)=delete |
mir::graphics::gbm::GBMDisplayBuffer::GBMDisplayBuffer | ( | std::shared_ptr< GBMPlatform > const & | platform, |
std::shared_ptr< DisplayReport > const & | listener, | ||
std::vector< std::shared_ptr< KMSOutput >> const & | outputs, | ||
GBMSurfaceUPtr | surface_gbm, | ||
geometry::Rectangle const & | area, | ||
EGLContext | shared_context | ||
) |
mir::graphics::gbm::GBMDisplayBuffer::~GBMDisplayBuffer | ( | ) |
|
overridevirtual |
Implements mir::graphics::DisplayBuffer.
|
virtual |
Makes the DisplayBuffer the current GL rendering target.
Implements mir::graphics::DisplayBuffer.
|
virtual |
Posts the DisplayBuffer to the screen.
Implements mir::graphics::DisplayBuffer.
|
override |
|
virtual |
Releases the current GL rendering target.
Implements mir::graphics::DisplayBuffer.
void mir::graphics::gbm::GBMDisplayBuffer::schedule_set_crtc | ( | ) |
|
virtual |
The area the DisplayBuffer occupies in the virtual screen space.
Implements mir::graphics::DisplayBuffer.
Copyright © 2012,2013 Canonical Ltd.
Generated on Tue Oct 15 00:23:28 UTC 2013