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

#include <surface.h>

Inheritance diagram for mir::shell::Surface:
Inheritance graph
[legend]

Public Member Functions

 Surface (Session *session, std::shared_ptr< SurfaceBuilder > const &builder, std::shared_ptr< SurfaceConfigurator > const &configurator, SurfaceCreationParameters const &params, frontend::SurfaceId id, std::shared_ptr< frontend::EventSink > const &event_sink)
 
 ~Surface () noexcept
 
virtual void hide ()
 
virtual void show ()
 
virtual void force_requests_to_complete ()
 
virtual std::string name () const
 
virtual void move_to (geometry::Point const &top_left)
 
virtual geometry::Size size () const
 
virtual geometry::Point top_left () const
 
virtual geometry::PixelFormat pixel_format () const
 
virtual void with_most_recent_buffer_do (std::function< void(graphics::Buffer &)> const &exec)
 
virtual std::shared_ptr
< graphics::Buffer
advance_client_buffer ()
 
virtual bool supports_input () const
 
virtual int client_input_fd () const
 
virtual int configure (MirSurfaceAttrib attrib, int value)
 
virtual MirSurfaceType type () const
 
virtual MirSurfaceState state () const
 
virtual void take_input_focus (std::shared_ptr< InputTargeter > const &targeter)
 
virtual void set_input_region (std::vector< geometry::Rectangle > const &region)
 
virtual void allow_framedropping (bool)
 
virtual void raise (std::shared_ptr< SurfaceController > const &controller)
 
- Public Member Functions inherited from mir::frontend::ClientTrackingSurface
 ClientTrackingSurface ()
 
virtual ~ClientTrackingSurface ()=default
 
virtual std::shared_ptr
< graphics::Buffer
advance_client_buffer (bool &need_full_ipc) override
 Submit the current client buffer, return the next client buffer. More...
 
- Public Member Functions inherited from mir::shell::SurfaceBufferAccess
virtual ~SurfaceBufferAccess ()=default
 

Additional Inherited Members

- Protected Member Functions inherited from mir::frontend::Surface
 Surface ()=default
 
 Surface (Surface const &)=delete
 
Surfaceoperator= (Surface const &)=delete
 
- Protected Member Functions inherited from mir::shell::SurfaceBufferAccess
 SurfaceBufferAccess ()=default
 
 SurfaceBufferAccess (SurfaceBufferAccess const &)=delete
 
SurfaceBufferAccessoperator= (SurfaceBufferAccess const &)=delete
 

Constructor & Destructor Documentation

mir::shell::Surface::Surface ( Session session,
std::shared_ptr< SurfaceBuilder > const &  builder,
std::shared_ptr< SurfaceConfigurator > const &  configurator,
SurfaceCreationParameters const &  params,
frontend::SurfaceId  id,
std::shared_ptr< frontend::EventSink > const &  event_sink 
)
mir::shell::Surface::~Surface ( )
virtualnoexcept

Reimplemented from mir::frontend::Surface.

Member Function Documentation

std::shared_ptr< mg::Buffer > mir::shell::Surface::advance_client_buffer ( )
virtual
void mir::shell::Surface::allow_framedropping ( bool  allow)
virtual
int mir::shell::Surface::client_input_fd ( ) const
virtual
int mir::shell::Surface::configure ( MirSurfaceAttrib  attrib,
int  value 
)
virtual
void mir::shell::Surface::force_requests_to_complete ( )
virtual
void mir::shell::Surface::hide ( )
virtual
void mir::shell::Surface::move_to ( geometry::Point const &  top_left)
virtual
std::string mir::shell::Surface::name ( ) const
virtual
mir::geometry::PixelFormat mir::shell::Surface::pixel_format ( ) const
virtual
void mir::shell::Surface::raise ( std::shared_ptr< SurfaceController > const &  controller)
virtual
void mir::shell::Surface::set_input_region ( std::vector< geometry::Rectangle > const &  region)
virtual
void mir::shell::Surface::show ( )
virtual
mir::geometry::Size mir::shell::Surface::size ( ) const
virtual
MirSurfaceState mir::shell::Surface::state ( ) const
virtual
bool mir::shell::Surface::supports_input ( ) const
virtual
void mir::shell::Surface::take_input_focus ( std::shared_ptr< InputTargeter > const &  targeter)
virtual
mir::geometry::Point mir::shell::Surface::top_left ( ) const
virtual
MirSurfaceType mir::shell::Surface::type ( ) const
virtual
void mir::shell::Surface::with_most_recent_buffer_do ( std::function< void(graphics::Buffer &)> const &  exec)
virtual

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

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