Mir
|
#include <surface.h>
Public Member Functions | |
Surface (std::shared_ptr< surfaces::SurfaceState > const &surface_state, std::shared_ptr< BufferStream > const &buffer_stream, std::shared_ptr< input::InputChannel > const &input_channel) | |
~Surface () | |
std::string const & | name () const |
void | move_to (geometry::Point const &top_left) |
void | set_rotation (float degrees, glm::vec3 const &axis) |
void | set_alpha (float alpha) |
void | set_hidden (bool is_hidden) |
geometry::Point | top_left () const |
geometry::Size | size () const |
geometry::PixelFormat | pixel_format () const |
std::shared_ptr< graphics::Buffer > | snapshot_buffer () const |
std::shared_ptr< graphics::Buffer > | advance_client_buffer () |
void | force_requests_to_complete () |
void | flag_for_render () |
bool | supports_input () const |
int | client_input_fd () const |
void | allow_framedropping (bool) |
std::shared_ptr < input::InputChannel > | input_channel () const |
void | set_input_region (std::vector< geometry::Rectangle > const &input_rectangles) |
std::shared_ptr < compositor::CompositingCriteria > | compositing_criteria () |
std::shared_ptr< BufferStream > | buffer_stream () const |
std::shared_ptr< input::Surface > | input_surface () const |
mir::surfaces::Surface::Surface | ( | std::shared_ptr< surfaces::SurfaceState > const & | surface_state, |
std::shared_ptr< BufferStream > const & | buffer_stream, | ||
std::shared_ptr< input::InputChannel > const & | input_channel | ||
) |
mir::surfaces::Surface::~Surface | ( | ) |
std::shared_ptr< mg::Buffer > mir::surfaces::Surface::advance_client_buffer | ( | ) |
void mir::surfaces::Surface::allow_framedropping | ( | bool | allow) |
std::shared_ptr< ms::BufferStream > mir::surfaces::Surface::buffer_stream | ( | ) | const |
int mir::surfaces::Surface::client_input_fd | ( | ) | const |
std::shared_ptr< mc::CompositingCriteria > mir::surfaces::Surface::compositing_criteria | ( | ) |
void mir::surfaces::Surface::flag_for_render | ( | ) |
void mir::surfaces::Surface::force_requests_to_complete | ( | ) |
std::shared_ptr< mi::InputChannel > mir::surfaces::Surface::input_channel | ( | ) | const |
std::shared_ptr< mi::Surface > mir::surfaces::Surface::input_surface | ( | ) | const |
void mir::surfaces::Surface::move_to | ( | geometry::Point const & | top_left) |
std::string const & mir::surfaces::Surface::name | ( | ) | const |
geom::PixelFormat mir::surfaces::Surface::pixel_format | ( | ) | const |
void mir::surfaces::Surface::set_alpha | ( | float | alpha) |
void mir::surfaces::Surface::set_hidden | ( | bool | is_hidden) |
void mir::surfaces::Surface::set_input_region | ( | std::vector< geometry::Rectangle > const & | input_rectangles) |
void mir::surfaces::Surface::set_rotation | ( | float | degrees, |
glm::vec3 const & | axis | ||
) |
mir::geometry::Size mir::surfaces::Surface::size | ( | ) | const |
std::shared_ptr< mg::Buffer > mir::surfaces::Surface::snapshot_buffer | ( | ) | const |
bool mir::surfaces::Surface::supports_input | ( | ) | const |
geom::Point mir::surfaces::Surface::top_left | ( | ) | const |
Copyright © 2012,2013 Canonical Ltd.
Generated on Wed Oct 30 18:52:19 UTC 2013