Mir
Public Member Functions | List of all members
mir::graphics::android::FramebufferGLContext Class Reference

#include <gl_context.h>

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

Public Member Functions

 FramebufferGLContext (GLContext const &shared_gl_context, std::shared_ptr< FramebufferBundle > const &fb_bundle, std::shared_ptr< ANativeWindow > const &native_window)
 
void make_current () const override
 
void release_current () const override
 
void swap_buffers () const override
 
std::shared_ptr< Bufferlast_rendered_buffer () const override
 
- Public Member Functions inherited from mir::graphics::android::GLContext
 ~GLContext ()
 
- Public Member Functions inherited from mir::graphics::android::SwappingGLContext
virtual ~SwappingGLContext ()=default
 

Additional Inherited Members

- Protected Member Functions inherited from mir::graphics::android::GLContext
 GLContext (MirPixelFormat display_format, GLConfig const &gl_config, DisplayReport &report)
 
 GLContext (GLContext const &shared_gl_context)
 
void make_current (EGLSurface) const
 
- Protected Member Functions inherited from mir::graphics::GLContext
 GLContext ()=default
 
 GLContext (GLContext const &)=delete
 
GLContextoperator= (GLContext const &)=delete
 
- Protected Member Functions inherited from mir::graphics::android::SwappingGLContext
 SwappingGLContext ()=default
 
 SwappingGLContext (SwappingGLContext const &)=delete
 
SwappingGLContextoperator= (SwappingGLContext const &)=delete
 
- Protected Attributes inherited from mir::graphics::android::GLContext
EGLDisplay const egl_display
 
EGLConfig const egl_config
 
EGLContextStore const egl_context
 

Constructor & Destructor Documentation

mir::graphics::android::FramebufferGLContext::FramebufferGLContext ( GLContext const &  shared_gl_context,
std::shared_ptr< FramebufferBundle > const &  fb_bundle,
std::shared_ptr< ANativeWindow > const &  native_window 
)

Member Function Documentation

std::shared_ptr< mg::Buffer > mir::graphics::android::FramebufferGLContext::last_rendered_buffer ( ) const
overridevirtual
void mir::graphics::android::FramebufferGLContext::make_current ( ) const
overridevirtual
void mir::graphics::android::FramebufferGLContext::release_current ( ) const
overridevirtual

Reimplemented from mir::graphics::android::GLContext.

void mir::graphics::android::FramebufferGLContext::swap_buffers ( ) const
overridevirtual

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

Copyright © 2012-2015 Canonical Ltd.
Generated on Wed Mar 30 00:29:56 UTC 2016