/dports/graphics/ogre3d/ogre-1.11.6/RenderSystems/GLSupport/src/GLX/ |
H A D | OgreGLXWindow.cpp | 63 mGLSupport(glsupport), mContext(0) in GLXWindow() 82 Display* xDisplay = mGLSupport->getXDisplay(); in ~GLXWindow() 109 Display *xDisplay = mGLSupport->getXDisplay(); in create() 514 mGLSupport->switchMode(); in destroy() 542 mGLSupport->switchMode(); in setFullscreen() 590 XMapWindow(mGLSupport->getXDisplay(), mWindow); in setHidden() 679 XFlush(mGLSupport->getXDisplay()); in resize() 696 Display* xDisplay = mGLSupport->getXDisplay(); in windowMovedOrResized() 807 if (mGLSupport->mAtomFullScreen != None) in switchFullScreen() 809 Display* xDisplay = mGLSupport->getXDisplay(); in switchFullScreen() [all …]
|
H A D | OgreGLXContext.cpp | 37 …mDrawable(drawable), mContext(0), mFBConfig(fbconfig), mGLSupport(glsupport), mExternalContext(fal… in GLXContext() 55 … mContext = mGLSupport->createNewContext(mFBConfig, GLX_RGBA_TYPE, shareContext, GL_TRUE); in GLXContext() 69 glXDestroyContext(mGLSupport->getGLDisplay(), mContext); in ~GLXContext() 76 glXMakeCurrent(mGLSupport->getGLDisplay(), mDrawable, mContext); in setCurrent() 81 glXMakeCurrent(mGLSupport->getGLDisplay(), None, None); in endCurrent() 86 return new GLXContext(mGLSupport, mFBConfig, mDrawable); in clone()
|
H A D | OgreGLXRenderTexture.cpp | 46 GLPBuffer(format, width, height), mContext(0), mGLSupport(glsupport) in GLXPBuffer() 48 Display *glDisplay = mGLSupport->getGLDisplay(); in GLXPBuffer() 128 fbConfig = mGLSupport->selectFBConfig(minAttribs, maxAttribs); in GLXPBuffer() 149 mContext = new GLXContext(mGLSupport, fbConfig, glxDrawable); in GLXPBuffer() 155 glXDestroyPbuffer(mGLSupport->getGLDisplay(), mContext->mDrawable); in ~GLXPBuffer()
|
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/RenderSystems/GL/src/GLX/ |
H A D | OgreGLXWindow.cpp | 66 mGLSupport(glsupport), mContext(0) in GLXWindow() 84 Display* xDisplay = mGLSupport->getXDisplay(); in ~GLXWindow() 111 Display *xDisplay = mGLSupport->getXDisplay(); in create() 469 mGLSupport->switchMode(); in destroy() 493 mGLSupport->switchMode(width, height, frequency); in setFullscreen() 497 mGLSupport->switchMode(); in setFullscreen() 545 XMapWindow(mGLSupport->getXDisplay(), mWindow); in setHidden() 642 Display* xDisplay = mGLSupport->getXDisplay(); in windowMovedOrResized() 767 if (&mGLSupport->mAtomFullScreen != None) in switchFullScreen() 769 Display* xDisplay = mGLSupport->getXDisplay(); in switchFullScreen() [all …]
|
H A D | OgreGLXContext.cpp | 38 …mDrawable(drawable), mContext(0), mFBConfig(fbconfig), mGLSupport(glsupport), mExternalContext(fal… in GLXContext() 56 mContext = mGLSupport->createNewContext(mFBConfig, GLX_RGBA_TYPE, shareContext, GL_TRUE); in GLXContext() 70 glXDestroyContext(mGLSupport->getGLDisplay(), mContext); in ~GLXContext() 77 glXMakeCurrent(mGLSupport->getGLDisplay(), mDrawable, mContext); in setCurrent() 82 glXMakeCurrent(mGLSupport->getGLDisplay(), None, None); in endCurrent() 87 return new GLXContext(mGLSupport, mFBConfig, mDrawable); in clone()
|
H A D | OgreGLXRenderTexture.cpp | 48 GLPBuffer(format, width, height), mContext(0), mGLSupport(glsupport) in GLXPBuffer() 50 Display *glDisplay = mGLSupport->getGLDisplay(); in GLXPBuffer() 130 fbConfig = mGLSupport->selectFBConfig(minAttribs, maxAttribs); in GLXPBuffer() 151 mContext = new GLXContext(mGLSupport, fbConfig, glxDrawable); in GLXPBuffer() 157 glXDestroyPbuffer(mGLSupport->getGLDisplay(), mContext->mDrawable); in ~GLXPBuffer()
|
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/RenderSystems/GL3Plus/src/GLX/ |
H A D | OgreGLXWindow.cpp | 64 mGLSupport(glsupport), mContext(0) in GLXWindow() 82 Display* xDisplay = mGLSupport->getXDisplay(); in ~GLXWindow() 109 Display *xDisplay = mGLSupport->getXDisplay(); in create() 465 mGLSupport->switchMode(); in destroy() 489 mGLSupport->switchMode(width, height, frequency); in setFullscreen() 493 mGLSupport->switchMode(); in setFullscreen() 541 XMapWindow(mGLSupport->getXDisplay(), mWindow); in setHidden() 631 Display* xDisplay = mGLSupport->getXDisplay(); in windowMovedOrResized() 756 if (&mGLSupport->mAtomFullScreen != None) in switchFullScreen() 758 Display* xDisplay = mGLSupport->getXDisplay(); in switchFullScreen() [all …]
|
H A D | OgreGLXContext.cpp | 38 …mDrawable(drawable), mContext(0), mFBConfig(fbconfig), mGLSupport(glsupport), mExternalContext(fal… in GLXContext() 56 mContext = mGLSupport->createNewContext(mFBConfig, GLX_RGBA_TYPE, shareContext, GL_TRUE); in GLXContext() 70 glXDestroyContext(mGLSupport->getGLDisplay(), mContext); in ~GLXContext() 77 glXMakeCurrent(mGLSupport->getGLDisplay(), mDrawable, mContext); in setCurrent() 82 glXMakeCurrent(mGLSupport->getGLDisplay(), None, None); in endCurrent() 87 return new GLXContext(mGLSupport, mFBConfig, mDrawable); in clone()
|
/dports/graphics/ogre3d/ogre-1.11.6/RenderSystems/GLSupport/src/EGL/X11/ |
H A D | OgreX11EGLWindow.cpp | 60 mGLSupport = glsupport; in X11EGLWindow() 67 mNativeDisplay = mGLSupport->getNativeDisplay(); in ~X11EGLWindow() 104 NativeDisplayType mNativeDisplay = mGLSupport->getNativeDisplay(); in getLeftAndTopFromNativeWindow() 112 mNativeDisplay = mGLSupport->getNativeDisplay(); in initNativeCreatedWindow() 205 mEglDisplay = mGLSupport->getGLDisplay();//todo in createNativeWindow() 219 if(mIsFullScreen && mGLSupport->mAtomFullScreen == None) in createNativeWindow() 396 if (mGLSupport->mAtomFullScreen != None) in switchFullScreen() 405 xMessage.message_type = mGLSupport->mAtomState; in switchFullScreen() 408 xMessage.data.l[1] = mGLSupport->mAtomFullScreen; in switchFullScreen() 564 mGLSupport->switchMode (width, height, frequency); in create() [all …]
|
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/RenderSystems/GLES2/src/EGL/X11/ |
H A D | OgreX11EGLWindow.cpp | 64 mGLSupport = glsupport; in X11EGLWindow() 71 mNativeDisplay = mGLSupport->getNativeDisplay(); in ~X11EGLWindow() 90 *static_cast< ::Atom* >(pData) = mGLSupport->mAtomDeleteWindow; in getCustomAttribute() 113 NativeDisplayType mNativeDisplay = mGLSupport->getNativeDisplay(); in getLeftAndTopFromNativeWindow() 126 mNativeDisplay = mGLSupport->getNativeDisplay(); in initNativeCreatedWindow() 215 mEglDisplay = mGLSupport->getGLDisplay();//todo in createNativeWindow() 229 if(mIsFullScreen && mGLSupport->mAtomFullScreen == None) in createNativeWindow() 408 if (&mGLSupport->mAtomFullScreen != None) in switchFullScreen() 417 xMessage.message_type = mGLSupport->mAtomState; in switchFullScreen() 420 xMessage.data.l[1] = mGLSupport->mAtomFullScreen; in switchFullScreen() [all …]
|
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/RenderSystems/GLES/src/EGL/X11/ |
H A D | OgreX11EGLWindow.cpp | 64 mGLSupport = glsupport; in X11EGLWindow() 71 mNativeDisplay = mGLSupport->getNativeDisplay(); in ~X11EGLWindow() 90 *static_cast< ::Atom* >(pData) = mGLSupport->mAtomDeleteWindow; in getCustomAttribute() 113 NativeDisplayType mNativeDisplay = mGLSupport->getNativeDisplay(); in getLeftAndTopFromNativeWindow() 126 mNativeDisplay = mGLSupport->getNativeDisplay(); in initNativeCreatedWindow() 215 mEglDisplay = mGLSupport->getGLDisplay();//todo in createNativeWindow() 229 if(mIsFullScreen && mGLSupport->mAtomFullScreen == None) in createNativeWindow() 408 if (&mGLSupport->mAtomFullScreen != None) in switchFullScreen() 417 xMessage.message_type = mGLSupport->mAtomState; in switchFullScreen() 420 xMessage.data.l[1] = mGLSupport->mAtomFullScreen; in switchFullScreen() [all …]
|
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/RenderSystems/GL/src/ |
H A D | OgreGLHardwarePixelBuffer.cpp | 599 mGLSupport.getStateCacheManager()->activateGLTextureUnit(0); in blitFromTexture() 606 mGLSupport.getStateCacheManager()->setDisabled(GL_ALPHA_TEST); in blitFromTexture() 607 mGLSupport.getStateCacheManager()->setDisabled(GL_DEPTH_TEST); in blitFromTexture() 608 mGLSupport.getStateCacheManager()->setDisabled(GL_SCISSOR_TEST); in blitFromTexture() 609 mGLSupport.getStateCacheManager()->setDisabled(GL_BLEND); in blitFromTexture() 610 mGLSupport.getStateCacheManager()->setDisabled(GL_CULL_FACE); in blitFromTexture() 611 mGLSupport.getStateCacheManager()->setDisabled(GL_LIGHTING); in blitFromTexture() 612 mGLSupport.getStateCacheManager()->setDisabled(GL_FOG); in blitFromTexture() 718 mGLSupport.getStateCacheManager()->setEnabled(src->mTarget); in blitFromTexture() 729 mGLSupport.getStateCacheManager()->setDisabled(src->mTarget); in blitFromTexture() [all …]
|
H A D | OgreGLTexture.cpp | 65 mTextureID(0), mGLSupport(support) in GLTexture() 139 mGLSupport.getStateCacheManager()->bindGLTexture( getGLTextureTarget(), mTextureID ); in createInternalResourcesImpl() 143 mGLSupport.getStateCacheManager()->setTexParameteri(getGLTextureTarget(), in createInternalResourcesImpl() 147 …mGLSupport.getStateCacheManager()->setTexParameteri(getGLTextureTarget(), GL_TEXTURE_MIN_FILTER, G… in createInternalResourcesImpl() 148 …mGLSupport.getStateCacheManager()->setTexParameteri(getGLTextureTarget(), GL_TEXTURE_MAG_FILTER, G… in createInternalResourcesImpl() 151 …mGLSupport.getStateCacheManager()->setTexParameteri(getGLTextureTarget(), GL_TEXTURE_WRAP_S, GL_CL… in createInternalResourcesImpl() 152 …mGLSupport.getStateCacheManager()->setTexParameteri(getGLTextureTarget(), GL_TEXTURE_WRAP_T, GL_CL… in createInternalResourcesImpl() 158 …mGLSupport.getStateCacheManager()->setTexParameteri( getGLTextureTarget(), GL_GENERATE_MIPMAP, GL_… in createInternalResourcesImpl() 389 mGLSupport.getStateCacheManager()->invalidateStateForTexture( mTextureID ); in freeInternalResourcesImpl() 408 …GLHardwarePixelBuffer *buf = new GLTextureBuffer(mGLSupport, mName, getGLTextureTarget(), mTexture… in _createSurfaceList()
|
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/RenderSystems/GLES2/src/ |
H A D | OgreGLES2RenderSystem.cpp | 95 mGLSupport = getGLSupport(); in GLES2RenderSystem() 101 mGLSupport->addConfig(); in GLES2RenderSystem() 132 OGRE_DELETE mGLSupport; in ~GLES2RenderSystem() local 133 mGLSupport = 0; in ~GLES2RenderSystem() 155 return mGLSupport->getConfigOptions(); in getConfigOptions() 160 mGLSupport->setConfigOption(name, value); in setConfigOption() 166 return mGLSupport->validateConfig(); in validateConfigOptions() 172 mGLSupport->start(); in _initialise() 514 mGLSupport->stop(); in shutdown() 1984 mGLSupport->initialiseExtensions(); in initialiseContext() [all …]
|
H A D | OgreGLES2TextureManager.cpp | 37 : TextureManager(), mGLSupport(support), mWarningTextureID(0) in GLES2TextureManager() 57 return OGRE_NEW GLES2Texture(this, name, handle, group, isManual, loader, mGLSupport); in createImpl() 81 if(mGLSupport.checkExtension("GL_APPLE_texture_max_level") || gleswIsSupported(3, 0)) in createWarningTexture() 82 … mGLSupport.getStateCacheManager()->setTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAX_LEVEL_APPLE, 0); in createWarningTexture()
|
/dports/graphics/ogre3d/ogre-1.11.6/RenderSystems/GLSupport/src/EGL/ |
H A D | OgreEGLWindow.cpp | 45 : mGLSupport(glsupport), in EGLWindow() 89 mGLSupport->switchMode(); in destroy() 109 mGLSupport->switchMode(width, height, frequency); in setFullscreen() 113 mGLSupport->switchMode(); in setFullscreen() 163 *static_cast<String*>(pData) = mGLSupport->getDisplayName(); in getCustomAttribute() 185 …return mGLSupport->getContextProfile() == GLNativeSupport::CONTEXT_ES ? PF_BYTE_RGBA : PF_BYTE_RGB; in suggestPixelFormat() 237 ::EGLDisplay dpy = mGLSupport->getGLDisplay(); in setVSyncEnabled()
|
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/RenderSystems/GLES2/src/EGL/Android/ |
H A D | OgreAndroidEGLWindow.cpp | 65 return new AndroidEGLContext(mEglDisplay, mGLSupport, mEglConfig, mEglSurface); in createEGLContext() 195 mEglConfig = mGLSupport->getGLConfigFromDrawable (mEglSurface, &width, &height); in create() 200 mEglConfig = mGLSupport->getGLConfigFromContext(eglContext); in create() 291 mEglConfig = mGLSupport->selectGLConfig(CSAAminAttribs, CSAAmaxAttribs); in _createInternalResources() 321 mEglConfig = mGLSupport->selectGLConfig(MSAAminAttribs, MSAAmaxAttribs); in _createInternalResources() 330 mEglDisplay = mGLSupport->getGLDisplay(); in _createInternalResources() 331 if (!bAASuccess) mEglConfig = mGLSupport->selectGLConfig(minAttribs, maxAttribs); in _createInternalResources() 344 mGLSupport->setConfigOption("Orientation", isLandscape ? "Landscape" : "Portrait"); in _createInternalResources()
|
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/RenderSystems/GLES/src/EGL/Android/ |
H A D | OgreAndroidEGLWindow.cpp | 62 return new AndroidEGLContext(mEglDisplay, mGLSupport, mEglConfig, mEglSurface); in createEGLContext() 179 mEglConfig = mGLSupport->getGLConfigFromDrawable (mEglSurface, &width, &height); in create() 184 mEglConfig = mGLSupport->getGLConfigFromContext(eglContext); in create() 249 mEglDisplay = mGLSupport->getGLDisplay(); in _createInternalResources() 250 mEglConfig = mGLSupport->selectGLConfig(minAttribs, maxAttribs); in _createInternalResources() 263 mGLSupport->setConfigOption("Orientation", isLandscape ? "Landscape" : "Portrait"); in _createInternalResources()
|
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/RenderSystems/GLES/src/EGL/ |
H A D | OgreEGLWindow.cpp | 49 : mGLSupport(glsupport), in EGLWindow() 254 mGLSupport->switchMode(); in destroy() 274 mGLSupport->switchMode(width, height, frequency); in setFullscreen() 278 mGLSupport->switchMode(); in setFullscreen() 331 *static_cast<String*>(pData) = mGLSupport->getDisplayName(); in getCustomAttribute()
|
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/RenderSystems/GLES2/src/EGL/ |
H A D | OgreEGLWindow.cpp | 48 : mGLSupport(glsupport), in EGLWindow() 93 mGLSupport->switchMode(); in destroy() 113 mGLSupport->switchMode(width, height, frequency); in setFullscreen() 117 mGLSupport->switchMode(); in setFullscreen() 169 *static_cast<String*>(pData) = mGLSupport->getDisplayName(); in getCustomAttribute()
|
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/RenderSystems/GLES/src/ |
H A D | OgreGLESRenderSystem.cpp | 124 mGLSupport = getGLSupport(); in GLESRenderSystem() 134 mGLSupport->addConfig(); in GLESRenderSystem() 163 OGRE_DELETE mGLSupport; in ~GLESRenderSystem() local 183 return mGLSupport->getConfigOptions(); in getConfigOptions() 188 mGLSupport->setConfigOption(name, value); in setConfigOption() 194 return mGLSupport->validateConfig(); in validateConfigOptions() 200 mGLSupport->start(); in _initialise() 321 if (mGLSupport->checkExtension("GL_OES_texture3D")) in createRenderSystemCapabilities() 444 mGLSupport->stop(); in shutdown() 2705 mGLSupport->initialiseExtensions(); in initialiseContext() [all …]
|
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/RenderSystems/GLES2/src/EGL/WIN32/ |
H A D | OgreWin32EGLWindow.cpp | 51 mGLSupport = glsupport; in Win32EGLWindow() 61 return new Win32EGLContext(mEglDisplay, mGLSupport, mEglConfig, mEglSurface); in createEGLContext() 287 mGLSupport->setGLDisplay(mEglDisplay); in createNativeWindow() 395 mEglConfig = mGLSupport->getGLConfigFromDrawable (mEglSurface, &width, &height); in create() 400 mEglConfig = mGLSupport->getGLConfigFromContext(eglContext); in create() 433 mEglConfig = mGLSupport->selectGLConfig(minAttribs, maxAttribs); in create() 445 mGLSupport->switchMode (width, height, frequency); in create() 461 mGLSupport->getGLConfigAttrib(mEglConfig, EGL_CONFIG_ID, &glConfigID); in create()
|
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/RenderSystems/GLES/src/EGL/WIN32/ |
H A D | OgreWin32EGLWindow.cpp | 51 mGLSupport = glsupport; in Win32EGLWindow() 61 return new Win32EGLContext(mEglDisplay, mGLSupport, mEglConfig, mEglSurface); in createEGLContext() 276 mGLSupport->setGLDisplay(mEglDisplay); in createNativeWindow() 384 mEglConfig = mGLSupport->getGLConfigFromDrawable (mEglSurface, &width, &height); in create() 389 mEglConfig = mGLSupport->getGLConfigFromContext(eglContext); in create() 419 mEglConfig = mGLSupport->selectGLConfig(minAttribs, maxAttribs); in create() 431 mGLSupport->switchMode (width, height, frequency); in create() 447 mGLSupport->getGLConfigAttrib(mEglConfig, EGL_CONFIG_ID, &glConfigID); in create()
|
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/RenderSystems/GL3Plus/src/ |
H A D | OgreGL3PlusRenderSystem.cpp | 129 mGLSupport = getGLSupport(); in GL3PlusRenderSystem() 174 if(mGLSupport) in ~GL3PlusRenderSystem() 175 delete mGLSupport; in ~GL3PlusRenderSystem() 186 mGLSupport->addConfig(); in initConfigOptions() 191 return mGLSupport->getConfigOptions(); in getConfigOptions() 196 mGLSupport->setConfigOption(name, value); in setConfigOption() 202 return mGLSupport->validateConfig(); in validateConfigOptions() 208 mGLSupport->start(); in _initialise() 582 mGLSupport->stop(); in shutdown() 2219 mGLSupport->initialiseExtensions(); in initialiseContext() [all …]
|
/dports/graphics/ogre3d/ogre-1.11.6/RenderSystems/GLSupport/src/EGL/Android/ |
H A D | OgreAndroidEGLWindow.cpp | 216 mEglConfig = mGLSupport->getGLConfigFromDrawable (mEglSurface, &width, &height); in create() 221 mEglConfig = mGLSupport->getGLConfigFromContext(eglContext); in create() 288 mEglDisplay = mGLSupport->getGLDisplay(); in _notifySurfaceCreated() 345 mEglConfig = mGLSupport->selectGLConfig(CSAAminAttribs, CSAAmaxAttribs); in _notifySurfaceCreated() 374 mEglConfig = mGLSupport->selectGLConfig(MSAAminAttribs, MSAAmaxAttribs); in _notifySurfaceCreated() 383 mEglDisplay = mGLSupport->getGLDisplay(); in _notifySurfaceCreated() 384 if (!bAASuccess) mEglConfig = mGLSupport->selectGLConfig(minAttribs, maxAttribs); in _notifySurfaceCreated()
|