Mir
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
mir::graphics::android::GLContext Class Reference

#include <gl_context.h>

Inheritance diagram for mir::graphics::android::GLContext:
[legend]

Public Member Functions

 ~GLContext ()
 
- Public Member Functions inherited from mir::graphics::GLContext
virtual void make_current () const =0
 

Protected Member Functions

 GLContext (MirPixelFormat display_format, GLConfig const &gl_config, DisplayReport &report)
 
 GLContext (GLContext const &shared_gl_context)
 
void release_current () const override
 
void make_current (EGLSurface) const
 
- Protected Member Functions inherited from mir::graphics::GLContext
 GLContext ()=default
 
 GLContext (GLContext const &)=delete
 
GLContextoperator= (GLContext const &)=delete
 

Protected Attributes

EGLDisplay const egl_display
 
EGLConfig const egl_config
 
EGLContextStore const egl_context
 

Constructor & Destructor Documentation

mir::graphics::android::GLContext::~GLContext ( )
virtual

Reimplemented from mir::graphics::GLContext.

mir::graphics::android::GLContext::GLContext ( MirPixelFormat  display_format,
mg::GLConfig const &  gl_config,
mg::DisplayReport report 
)
protected
mir::graphics::android::GLContext::GLContext ( GLContext const &  shared_gl_context)
protected

Member Function Documentation

void mir::graphics::android::GLContext::make_current ( EGLSurface  egl_surface) const
protected
void mir::graphics::android::GLContext::release_current ( ) const
overrideprotectedvirtual

Member Data Documentation

EGLConfig const mir::graphics::android::GLContext::egl_config
protected
EGLContextStore const mir::graphics::android::GLContext::egl_context
protected
EGLDisplay const mir::graphics::android::GLContext::egl_display
protected

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

Copyright © 2012,2013 Canonical Ltd.
Generated on Tue Mar 24 16:15:19 UTC 2015