OGRE  2.0
Object-Oriented Graphics Rendering Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Ogre::OSXCarbonContext Class Reference

#include <OgreOSXCarbonContext.h>

+ Inheritance diagram for Ogre::OSXCarbonContext:
+ Collaboration diagram for Ogre::OSXCarbonContext:

Public Member Functions

 OSXCarbonContext (AGLContext aglContext, AGLPixelFormat pixelFormat)
 
virtual ~OSXCarbonContext ()
 
virtual GLContextclone () const
 Create a new context based on the same window/pbuffer as this context - mostly useful for additional threads. More...
 
virtual void endCurrent ()
 This is called before another context is made current. More...
 
AGLContext getContext ()
 Grab the AGLContext if it exists. More...
 
virtual String getContextType ()
 Return value will be "AGL". More...
 
bool getInitialized ()
 
void operator delete (void *ptr)
 
void operator delete (void *ptr, void *)
 
void operator delete (void *ptr, const char *, int, const char *)
 
void operator delete[] (void *ptr)
 
void operator delete[] (void *ptr, const char *, int, const char *)
 
void * operator new (size_t sz, const char *file, int line, const char *func)
 operator new, with debug line info More...
 
void * operator new (size_t sz)
 
void * operator new (size_t sz, void *ptr)
 placement operator new More...
 
void * operator new[] (size_t sz, const char *file, int line, const char *func)
 array operator new, with debug line info More...
 
void * operator new[] (size_t sz)
 
virtual void releaseContext ()
 Release the render context. More...
 
virtual void setCurrent ()
 See GLContext. More...
 
void setInitialized ()
 

Protected Member Functions

void _unregisterContext ()
 Must be called from destructor of final descendant. More...
 

Protected Attributes

bool initialized
 

Private Attributes

AGLContext mAGLContext
 
AGLPixelFormat mPixelFormat
 

Detailed Description

Definition at line 37 of file OgreOSXCarbonContext.h.

Constructor & Destructor Documentation

Ogre::OSXCarbonContext::OSXCarbonContext ( AGLContext  aglContext,
AGLPixelFormat  pixelFormat 
)
virtual Ogre::OSXCarbonContext::~OSXCarbonContext ( )
virtual

Member Function Documentation

void Ogre::OSXContext::_unregisterContext ( )
protectedinherited

Must be called from destructor of final descendant.

virtual GLContext* Ogre::OSXCarbonContext::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::OSXContext.

virtual void Ogre::OSXCarbonContext::endCurrent ( )
virtual

This is called before another context is made current.

By default, nothing is done here.

Implements Ogre::OSXContext.

AGLContext Ogre::OSXCarbonContext::getContext ( )
inline

Grab the AGLContext if it exists.

Definition at line 62 of file OgreOSXCarbonContext.h.

References mAGLContext.

virtual String Ogre::OSXCarbonContext::getContextType ( )
virtual

Return value will be "AGL".

Implements Ogre::OSXContext.

bool Ogre::GLContext::getInitialized ( )
inlineinherited

Definition at line 57 of file OgreGLContext.h.

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void *  ptr)
inlineinherited

Definition at line 96 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void *  ptr,
void *   
)
inlineinherited

Definition at line 102 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void *  ptr,
const char *  ,
int  ,
const char *   
)
inlineinherited

Definition at line 108 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete[] ( void *  ptr)
inlineinherited

Definition at line 113 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete[] ( void *  ptr,
const char *  ,
int  ,
const char *   
)
inlineinherited

Definition at line 119 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new ( size_t  sz,
const char *  file,
int  line,
const char *  func 
)
inlineinherited

operator new, with debug line info

Definition at line 68 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new ( size_t  sz)
inlineinherited

Definition at line 73 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new ( size_t  sz,
void *  ptr 
)
inlineinherited

placement operator new

Definition at line 79 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new[] ( size_t  sz,
const char *  file,
int  line,
const char *  func 
)
inlineinherited

array operator new, with debug line info

Definition at line 86 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new[] ( size_t  sz)
inlineinherited

Definition at line 91 of file OgreMemoryAllocatedObject.h.

virtual void Ogre::GLContext::releaseContext ( )
inlinevirtualinherited

Release the render context.

Reimplemented in Ogre::Win32Context, and Ogre::Win32Context.

Definition at line 69 of file OgreGLContext.h.

virtual void Ogre::OSXCarbonContext::setCurrent ( )
virtual

See GLContext.

Implements Ogre::OSXContext.

void Ogre::GLContext::setInitialized ( )
inlineinherited

Definition at line 58 of file OgreGLContext.h.

Member Data Documentation

bool Ogre::GLContext::initialized
protectedinherited

Definition at line 71 of file OgreGLContext.h.

AGLContext Ogre::OSXCarbonContext::mAGLContext
private

Definition at line 65 of file OgreOSXCarbonContext.h.

Referenced by getContext().

AGLPixelFormat Ogre::OSXCarbonContext::mPixelFormat
private

Definition at line 66 of file OgreOSXCarbonContext.h.


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