|
LibreOffice Module vcl (master) 1
|
#include <QtOpenGLContext.hxx>
Public Member Functions | |
| virtual void | initWindow () override |
Public Member Functions inherited from OpenGLContext | |
| virtual | ~OpenGLContext () |
| OpenGLContext (const OpenGLContext &)=delete | |
| OpenGLContext (OpenGLContext &&)=delete | |
| OpenGLContext & | operator= (const OpenGLContext &)=delete |
| OpenGLContext & | operator= (OpenGLContext &&)=delete |
| void | acquire () |
| void | release () |
| void | dispose () |
| void | requestLegacyContext () |
| bool | init (vcl::Window *pParent) |
| void | reset () |
| virtual bool | isCurrent () |
| Is this GL context the current context ? More... | |
| virtual bool | isAnyCurrent () |
| Is any GL context the current context ? More... | |
| virtual void | makeCurrent () |
| make this GL context current - so it is implicit in subsequent GL calls More... | |
| void | registerAsCurrent () |
| Put this GL context to the end of the context list. More... | |
| virtual void | resetCurrent () |
| reset the GL context so this context is not implicit in subsequent GL calls. More... | |
| virtual void | restoreDefaultFramebuffer () |
| unbind the GL_FRAMEBUFFER to its default state, needed for gtk3 More... | |
| virtual void | swapBuffers () |
| virtual void | sync () |
| void | show () |
| void | setWinPosAndSize (const Point &rPos, const Size &rSize) |
| virtual const GLWindow & | getOpenGLWindow () const =0 |
| SystemChildWindow * | getChildWindow () |
| const SystemChildWindow * | getChildWindow () const |
| bool | isInitialized () const |
| virtual SystemWindowData | generateWinData (vcl::Window *pParent, bool bRequestLegacyContext) |
Private Member Functions | |
| virtual const GLWindow & | getOpenGLWindow () const override |
| virtual GLWindow & | getModifiableOpenGLWindow () override |
| virtual bool | ImplInit () override |
| virtual void | makeCurrent () override |
| make this GL context current - so it is implicit in subsequent GL calls More... | |
| virtual void | destroyCurrentContext () override |
| virtual bool | isCurrent () override |
| Is this GL context the current context ? More... | |
| virtual bool | isAnyCurrent () override |
| Is any GL context the current context ? More... | |
| virtual void | resetCurrent () override |
| reset the GL context so this context is not implicit in subsequent GL calls. More... | |
| virtual void | swapBuffers () override |
Private Attributes | |
| GLWindow | m_aGLWin |
| QWindow * | m_pWindow |
| QOpenGLContext * | m_pContext |
Static Private Attributes | |
| static bool | g_bAnyCurrent |
Additional Inherited Members | |
Static Public Member Functions inherited from OpenGLContext | |
| static rtl::Reference< OpenGLContext > | Create () |
| static void | clearCurrent () |
| release bound resources from the current context More... | |
| static void | prepareForYield () |
| release contexts etc. before (potentially) allowing another thread run. More... | |
| static bool | hasCurrent () |
| Is there a current GL context ? More... | |
Public Attributes inherited from OpenGLContext | |
| OpenGLContext * | mpPrevContext |
| OpenGLContext * | mpNextContext |
Protected Member Functions inherited from OpenGLContext | |
| OpenGLContext () | |
| bool | InitGL () |
| virtual GLWindow & | getModifiableOpenGLWindow ()=0 |
| virtual bool | ImplInit () |
Static Protected Member Functions inherited from OpenGLContext | |
| static void | InitGLDebugging () |
| static void | InitChildWindow (SystemChildWindow *pChildWindow) |
| static void | BuffersSwapped () |
Protected Attributes inherited from OpenGLContext | |
| VclPtr< vcl::Window > | m_xWindow |
| VclPtr< vcl::Window > | mpWindow |
| VclPtr< SystemChildWindow > | m_pChildWindow |
| bool | mbInitialized |
| int | mnRefCount |
| bool | mbRequestLegacyContext |
Definition at line 27 of file qt5/QtOpenGLContext.hxx.
|
overrideprivatevirtual |
Reimplemented from OpenGLContext.
|
inlineoverrideprivatevirtual |
Implements OpenGLContext.
Definition at line 34 of file qt5/QtOpenGLContext.hxx.
References m_aGLWin.
|
inlineoverrideprivatevirtual |
Implements OpenGLContext.
Definition at line 33 of file qt5/QtOpenGLContext.hxx.
References m_aGLWin.
|
overrideprivatevirtual |
Reimplemented from OpenGLContext.
|
overridevirtual |
Reimplemented from OpenGLContext.
|
overrideprivatevirtual |
Is any GL context the current context ?
Reimplemented from OpenGLContext.
|
overrideprivatevirtual |
Is this GL context the current context ?
Reimplemented from OpenGLContext.
|
overrideprivatevirtual |
make this GL context current - so it is implicit in subsequent GL calls
Reimplemented from OpenGLContext.
|
overrideprivatevirtual |
reset the GL context so this context is not implicit in subsequent GL calls.
Reimplemented from OpenGLContext.
|
overrideprivatevirtual |
Reimplemented from OpenGLContext.
|
staticprivate |
Definition at line 44 of file qt5/QtOpenGLContext.hxx.
|
private |
Definition at line 46 of file qt5/QtOpenGLContext.hxx.
Referenced by getModifiableOpenGLWindow(), and getOpenGLWindow().
|
private |
Definition at line 49 of file qt5/QtOpenGLContext.hxx.
|
private |
Definition at line 48 of file qt5/QtOpenGLContext.hxx.