30 #ifndef __EGLContext_H__ 31 #define __EGLContext_H__ 43 const EGLSupport* mGLSupport;
44 ::EGLSurface mDrawable;
45 ::EGLContext mContext;
46 EGLDisplay mEglDisplay;
49 EGLContext(EGLDisplay eglDisplay,
const EGLSupport* glsupport, ::EGLConfig fbconfig, ::EGLSurface drawable);
51 virtual ~EGLContext();
53 virtual void _createInternalResources(EGLDisplay eglDisplay, ::EGLConfig glconfig, ::EGLSurface drawable, ::EGLContext shareContext);
54 virtual void _destroyInternalResources();
56 virtual void setCurrent();
57 virtual void endCurrent();
58 virtual GLES2Context* clone()
const = 0;
60 EGLSurface getDrawable()
const;
This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info...