Repository navigation
Ogre on QNX/Wayland - #3863
Closed
martinqnx wants to merge 7 commits into
Closed
Ogre on QNX/Wayland#3863martinqnx wants to merge 7 commits into
martinqnx wants to merge 7 commits into
Conversation
- while this is a QNX-enabling commit, the code changes are not QNX-specific but rather constitute a wl backend cleanup * do not assume the EGL 'platform-native' types are the same as the wl-native types when building for EGL/wl; the native EGL types for any given platform are fixed, but we may have multiple EGL 'non-native' providers. For instance QNX/Weston has screen-based EGL native types but EGL/wl has wl-based native types; decouple EGL platform-native types from EGL 'provider' types * for EGL 1.5 and Wayland prefer eglGetPlatformDisplay(EGL_PLATFORM_WAYLAND_KHR) and eglCreatePlatformWindowSurface() to obtain EGLDisplay and EGLSurface * clean up wl EGL rendersystem backend: don't try to establish a new wl display connection given the window provider (e.g. SDL) implicitly provides a display connection * split EGL extension query into two: pre-display (client) and post-display connection, to allow for early client extension checks * clean up EGL error checking (ENABLE_EGL_CHECK=1) * fix uninitialized-at-error FSAA miscParams bug
* Fix getGLConfigFromContext indexing of configs
Co-authored-by: Martin Krastev <mkrastev@qnx.com>
…uild, and TestContext does not work with wl backends (see ApplicationBase::setup override by TestContext)
This reverts commit 8e33407.
Member
|
if I read this correctly, all that was needed is using EGL platform ext. Did a cleaner take in #3865. Please report back if it does not work |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Getting Ogre to run on QNX/Wayland and squashing a few bugs along the way.
QNX uses the EGL/GLES2+ backend, while the compositor is Wayland. Both SDL and Qt5 windowing backends are supported.