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

◆ ~GLConfig()

virtual mir::graphics::GLConfig::~GLConfig ( )
virtualdefault

◆ GLConfig() [1/2]

mir::graphics::GLConfig::GLConfig ( )
protecteddefault

◆ GLConfig() [2/2]

mir::graphics::GLConfig::GLConfig ( GLConfig const &  )
protecteddelete

Member Function Documentation

◆ depth_buffer_bits()

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

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

◆ operator=()

GLConfig& mir::graphics::GLConfig::operator= ( GLConfig const &  )
protecteddelete

◆ stencil_buffer_bits()

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 Mon Mar 27 12:06:55 UTC 2017