Mir
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | List of all members
mir::graphics::android::Framebuffers Class Reference

#include <framebuffers.h>

Inheritance diagram for mir::graphics::android::Framebuffers:
[legend]

Public Member Functions

 Framebuffers (std::shared_ptr< GraphicBufferAllocator > const &buffer_allocator, std::shared_ptr< hwc_composer_device_1 > const &hwc, unsigned int num_framebuffers)
 
 Framebuffers (std::shared_ptr< GraphicBufferAllocator > const &buffer_allocator, std::shared_ptr< framebuffer_device_t > const &fb)
 
MirPixelFormat fb_format ()
 
geometry::Size fb_size ()
 
double fb_refresh_rate ()
 
std::shared_ptr< Bufferbuffer_for_render ()
 
std::shared_ptr< Bufferlast_rendered_buffer ()
 
void wait_for_consumed_buffer (bool)
 
- Public Member Functions inherited from mir::graphics::android::FramebufferBundle
virtual ~FramebufferBundle ()=default
 

Additional Inherited Members

- Protected Member Functions inherited from mir::graphics::android::FramebufferBundle
 FramebufferBundle ()=default
 
 FramebufferBundle (FramebufferBundle const &)=delete
 
FramebufferBundleoperator= (FramebufferBundle const &)=delete
 

Constructor & Destructor Documentation

mir::graphics::android::Framebuffers::Framebuffers ( std::shared_ptr< GraphicBufferAllocator > const &  buffer_allocator,
std::shared_ptr< hwc_composer_device_1 > const &  hwc,
unsigned int  num_framebuffers 
)
mir::graphics::android::Framebuffers::Framebuffers ( std::shared_ptr< GraphicBufferAllocator > const &  buffer_allocator,
std::shared_ptr< framebuffer_device_t > const &  fb 
)

Member Function Documentation

std::shared_ptr< mg::Buffer > mir::graphics::android::Framebuffers::buffer_for_render ( )
virtual
MirPixelFormat mir::graphics::android::Framebuffers::fb_format ( )
virtual
double mir::graphics::android::Framebuffers::fb_refresh_rate ( )
virtual
geom::Size mir::graphics::android::Framebuffers::fb_size ( )
virtual
std::shared_ptr< mg::Buffer > mir::graphics::android::Framebuffers::last_rendered_buffer ( )
virtual
void mir::graphics::android::Framebuffers::wait_for_consumed_buffer ( bool  )
virtual

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

Copyright © 2012,2013 Canonical Ltd.
Generated on Fri Oct 10 14:07:14 UTC 2014