Ogre::Win32EGLContext Class Reference

`#include <OgreWin32EGLContext.h>`

Inheritance diagram for Ogre::Win32EGLContext:
[legend]

List of all members.

## Public Member Functions

| Win32EGLContext (EGLDisplay eglDisplay, const EGLSupport *glsupport,::EGLConfig fbconfig,::EGLSurface drawable)
virtual | ~Win32EGLContext ()
GLESContext * | clone () const
| Create a new context based on the same window/pbuffer as this context - mostly useful for additional threads.
| Win32EGLContext (EGLDisplay eglDisplay, const EGLSupport *glsupport,::EGLConfig fbconfig,::EGLSurface drawable)
virtual | ~Win32EGLContext ()
GLES2Context * | clone () const
| Create a new context based on the same window/pbuffer as this context - mostly useful for additional threads.
virtual void | setCurrent ()
| Enable the context.
virtual void | setCurrent ()
| Enable the context.
virtual void | endCurrent ()
| This is called before another context is made current.
virtual void | endCurrent ()
| This is called before another context is made current.
EGLSurface | getDrawable () const
EGLSurface | getDrawable () const
bool | getInitialized ()
bool | getInitialized ()
void | setInitialized ()
void | setInitialized ()
virtual void | releaseContext ()
| Release the render context.

## Protected Attributes

::EGLConfig | mConfig
const EGLSupport * | mGLSupport
::EGLSurface | mDrawable
::EGLContext | mContext
EGLDisplay | mEglDisplay
bool | initialized
bool | initialized

## Detailed Description

Definition at line 36 of file include/EGL/WIN32/OgreWin32EGLContext.h.

## Constructor & Destructor Documentation

Ogre::Win32EGLContext::Win32EGLContext | ( | EGLDisplay | eglDisplay,
|  | const EGLSupport * | glsupport,
|  | ::EGLConfig | fbconfig,
|  | ::EGLSurface | drawable
| ) |  |

virtual Ogre::Win32EGLContext::~Win32EGLContext | ( |  | ) | `[virtual]`

Ogre::Win32EGLContext::Win32EGLContext | ( | EGLDisplay | eglDisplay,
|  | const EGLSupport * | glsupport,
|  | ::EGLConfig | fbconfig,
|  | ::EGLSurface | drawable
| ) |  |

virtual Ogre::Win32EGLContext::~Win32EGLContext | ( |  | ) | `[virtual]`

## Member Function Documentation

GLESContext* Ogre::Win32EGLContext::clone | ( |  | ) | const`[virtual]`

Create a new context based on the same window/pbuffer as this context - mostly useful for additional threads.

Note:
  The caller is responsible for deleting the returned context.

Implements Ogre::EGLContext.

GLES2Context* Ogre::Win32EGLContext::clone | ( |  | ) | const`[virtual]`

Create a new context based on the same window/pbuffer as this context - mostly useful for additional threads.

Note:
  The caller is responsible for deleting the returned context.

Implements Ogre::EGLContext.

virtual void Ogre::EGLContext::endCurrent | ( |  | ) | `[virtual, inherited]`

This is called before another context is made current.

By default, nothing is done here.

Implements Ogre::GLESContext.

virtual void Ogre::EGLContext::endCurrent | ( |  | ) | `[virtual, inherited]`

This is called before another context is made current.

By default, nothing is done here.

Implements Ogre::GLESContext.

EGLSurface Ogre::EGLContext::getDrawable | ( |  | ) | const`[inherited]`

EGLSurface Ogre::EGLContext::getDrawable | ( |  | ) | const`[inherited]`

bool Ogre::GLES2Context::getInitialized | ( |  | ) | `[inherited]`

Definition at line 58 of file OgreGLES2Context.h.

bool Ogre::GLESContext::getInitialized | ( |  | ) | `[inherited]`

Definition at line 59 of file OgreGLESContext.h.

virtual void Ogre::GLES2Context::releaseContext | ( |  | ) | `[virtual, inherited]`

Release the render context.

Definition at line 70 of file OgreGLES2Context.h.

virtual void Ogre::EGLContext::setCurrent | ( |  | ) | `[virtual, inherited]`

Enable the context.

All subsequent rendering commands will go here.

Implements Ogre::GLESContext.

virtual void Ogre::EGLContext::setCurrent | ( |  | ) | `[virtual, inherited]`

Enable the context.

All subsequent rendering commands will go here.

Implements Ogre::GLESContext.

void Ogre::GLES2Context::setInitialized | ( |  | ) | `[inherited]`

Definition at line 59 of file OgreGLES2Context.h.

void Ogre::GLESContext::setInitialized | ( |  | ) | `[inherited]`

Definition at line 60 of file OgreGLESContext.h.

## Member Data Documentation

bool Ogre::GLESContext::initialized `[protected, inherited]`

Definition at line 69 of file OgreGLESContext.h.

bool Ogre::GLES2Context::initialized `[protected, inherited]`

Definition at line 73 of file OgreGLES2Context.h.

EGLConfig Ogre::EGLContext::mConfig `[protected, inherited]`

Definition at line 41 of file include/EGL/OgreEGLContext.h.

EGLContext Ogre::EGLContext::mContext `[protected, inherited]`

Definition at line 44 of file include/EGL/OgreEGLContext.h.

EGLSurface Ogre::EGLContext::mDrawable `[protected, inherited]`

Definition at line 43 of file include/EGL/OgreEGLContext.h.

EGLDisplay Ogre::EGLContext::mEglDisplay `[protected, inherited]`

Definition at line 45 of file include/EGL/OgreEGLContext.h.

const EGLSupport * Ogre::EGLContext::mGLSupport `[protected, inherited]`

Definition at line 42 of file include/EGL/OgreEGLContext.h.

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

- include/EGL/WIN32/OgreWin32EGLContext.h
- /include/EGL/WIN32/OgreWin32EGLContext.h

Copyright © 2012 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Sun Sep 2 2012 07:27:56