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

#include <surface.h>

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

Public Member Functions

virtual ~Surface ()
 
virtual void force_requests_to_complete ()=0
 
virtual geometry::Size size () const =0
 
virtual geometry::PixelFormat pixel_format () const =0
 
virtual std::shared_ptr
< graphics::Buffer
advance_client_buffer (bool &need_full_ipc)=0
 Submit the current client buffer, return the next client buffer. More...
 
virtual bool supports_input () const =0
 
virtual int client_input_fd () const =0
 
virtual int configure (MirSurfaceAttrib attrib, int value)=0
 

Protected Member Functions

 Surface ()=default
 
 Surface (Surface const &)=delete
 
Surfaceoperator= (Surface const &)=delete
 

Constructor & Destructor Documentation

virtual mir::frontend::Surface::~Surface ( )
inlinevirtual

Reimplemented in mir::shell::Surface.

mir::frontend::Surface::Surface ( )
protecteddefault
mir::frontend::Surface::Surface ( Surface const &  )
protecteddelete

Member Function Documentation

virtual std::shared_ptr<graphics::Buffer> mir::frontend::Surface::advance_client_buffer ( bool &  need_full_ipc)
pure virtual

Submit the current client buffer, return the next client buffer.

Parameters
[out]need_ipc,:True if the buffer content must be sent via IPC False if only the buffer's ID must be sent.
Returns
The next client buffer

Implemented in mir::frontend::ClientTrackingSurface.

virtual int mir::frontend::Surface::client_input_fd ( ) const
pure virtual
virtual int mir::frontend::Surface::configure ( MirSurfaceAttrib  attrib,
int  value 
)
pure virtual
virtual void mir::frontend::Surface::force_requests_to_complete ( )
pure virtual
Surface& mir::frontend::Surface::operator= ( Surface const &  )
protecteddelete
virtual geometry::PixelFormat mir::frontend::Surface::pixel_format ( ) const
pure virtual
virtual geometry::Size mir::frontend::Surface::size ( ) const
pure virtual
virtual bool mir::frontend::Surface::supports_input ( ) const
pure virtual

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