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

#include <null_display_buffer.h>

Inheritance diagram for mir::test::doubles::NullDisplayBuffer:
Inheritance graph
[legend]

Public Member Functions

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

Member Function Documentation

bool mir::test::doubles::NullDisplayBuffer::can_bypass ( ) const
inlineoverridevirtual
void mir::test::doubles::NullDisplayBuffer::make_current ( )
inlinevirtual

Makes the DisplayBuffer the current GL rendering target.

Implements mir::graphics::DisplayBuffer.

void mir::test::doubles::NullDisplayBuffer::post_update ( )
inlinevirtual

Posts the DisplayBuffer to the screen.

Implements mir::graphics::DisplayBuffer.

void mir::test::doubles::NullDisplayBuffer::release_current ( )
inlinevirtual

Releases the current GL rendering target.

Implements mir::graphics::DisplayBuffer.

geometry::Rectangle mir::test::doubles::NullDisplayBuffer::view_area ( ) const
inlinevirtual

The area the DisplayBuffer occupies in the virtual screen space.

Implements mir::graphics::DisplayBuffer.

Reimplemented in mir::test::doubles::StubDisplayBuffer.


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

Copyright © 2012,2013 Canonical Ltd.
Generated on Tue Oct 15 00:23:28 UTC 2013