Mir
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Member Functions | List of all members
mir::graphics::gbm::GBMDisplayBuffer Class Reference

#include <gbm_display_buffer.h>

Inheritance diagram for mir::graphics::gbm::GBMDisplayBuffer:
Inheritance graph
[legend]

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 ()
 
- Public Member Functions inherited from mir::graphics::DisplayBuffer
virtual ~DisplayBuffer ()
 
virtual void post_update (std::shared_ptr< Buffer >)
 

Additional Inherited Members

- Protected Member Functions inherited from mir::graphics::DisplayBuffer
 DisplayBuffer ()=default
 
 DisplayBuffer (DisplayBuffer const &c)=delete
 
DisplayBufferoperator= (DisplayBuffer const &c)=delete
 

Constructor & Destructor Documentation

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 ( )

Member Function Documentation

bool mir::graphics::gbm::GBMDisplayBuffer::can_bypass ( ) const
overridevirtual
void mir::graphics::gbm::GBMDisplayBuffer::make_current ( )
virtual

Makes the DisplayBuffer the current GL rendering target.

Implements mir::graphics::DisplayBuffer.

void mir::graphics::gbm::GBMDisplayBuffer::post_update ( )
virtual

Posts the DisplayBuffer to the screen.

Implements mir::graphics::DisplayBuffer.

void mir::graphics::gbm::GBMDisplayBuffer::post_update ( std::shared_ptr< graphics::Buffer bypass_buf)
override
void mir::graphics::gbm::GBMDisplayBuffer::release_current ( )
virtual

Releases the current GL rendering target.

Implements mir::graphics::DisplayBuffer.

void mir::graphics::gbm::GBMDisplayBuffer::schedule_set_crtc ( )
geom::Rectangle mir::graphics::gbm::GBMDisplayBuffer::view_area ( ) const
virtual

The area the DisplayBuffer occupies in the virtual screen space.

Implements mir::graphics::DisplayBuffer.


The documentation for this class was generated from the following files:

Copyright © 2012,2013 Canonical Ltd.
Generated on Wed Oct 30 18:52:19 UTC 2013