Mir
Public Member Functions | Protected Member Functions | List of all members
mir::graphics::GLConfig Class Referenceabstract

Interface for customizing aspects of the GL config used by the server. More...

#include <gl_config.h>

Public Member Functions

virtual ~GLConfig ()=default
 
virtual int depth_buffer_bits () const =0
 Gets the bits to use for each pixel in the depth buffer. More...
 
virtual int stencil_buffer_bits () const =0
 Gets the bits to use for each pixel in the stencil buffer. More...
 

Protected Member Functions

 GLConfig ()=default
 
 GLConfig (GLConfig const &)=delete
 
GLConfigoperator= (GLConfig const &)=delete
 

Detailed Description

Interface for customizing aspects of the GL config used by the server.

Constructor & Destructor Documentation

virtual mir::graphics::GLConfig::~GLConfig ( )
virtualdefault
mir::graphics::GLConfig::GLConfig ( )
protecteddefault
mir::graphics::GLConfig::GLConfig ( GLConfig const &  )
protecteddelete

Member Function Documentation

virtual int mir::graphics::GLConfig::depth_buffer_bits ( ) const
pure virtual

Gets the bits to use for each pixel in the depth buffer.

GLConfig& mir::graphics::GLConfig::operator= ( GLConfig const &  )
protecteddelete
virtual int mir::graphics::GLConfig::stencil_buffer_bits ( ) const
pure virtual

Gets the bits to use for each pixel in the stencil buffer.


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

Copyright © 2012-2016 Canonical Ltd.
Generated on Tue Oct 31 05:57:28 UTC 2017