Comments (7)
I looked back at the definition for the 'ksGpuContext' struct in gfxwrapper_opengl.h
and noticed the #elif defined(OS_LINUX_XLIB) || defined(OS_LINUX_XCB_GLX)
directive that decides if the struct has the XLib fields. Was the || defined(OS_LINUX_XCB_GLX)
supposed to go with the #elif defined(OS_LINUX_XCB)
block of XCB fields instead? I thought I checked if the code compiled with XCB, but maybe I only checked OS_LINUX_XCB
and not OS_LINUX_XCB_GLX
.
from openxr-sdk-source.
Hmm, looks like the build system says:
# XCB + XCB GLX is limited to OpenGL 2.1
# add_definitions( -DOS_LINUX_XCB )
# XCB + Xlib GLX 1.3
add_definitions( -DOS_LINUX_XCB_GLX )
so it doesn't have all those fields. It does have connection - via window.connection
, and the visualid
and glxDrawable
are still OK, but the other 3 are absent.
from openxr-sdk-source.
Almost looks like the XCB OpenGL graphics binding is only half of what it needs to be - as in, it's missing a XCB + GLX xlib version. What a mess.
from openxr-sdk-source.
Oh, interesting. The XCB hello_xr never ran because of a missing "platform adapter". I'll probably just partially revert/comment out the change to fix this for now.
from openxr-sdk-source.
and monado doesn't support the xcb binding. OK. So I have a partial fix available but for the release I'll just do the partial revert, so you can review the mess I made of the code :)
from openxr-sdk-source.
OK, the less-than-perfect fix has been released. There may actually be a spec bug here.
from openxr-sdk-source.
An issue (number 1278) has been filed to correspond to this issue in the internal Khronos GitLab.
If you have a Khronos account, you can access that issue at KHR:openxr/openxr#1278.
from openxr-sdk-source.
Related Issues (20)
- [1.0.28] building without api layers result in cmake error HOT 1
- Meta Quest pro openXR extension HOT 2
- Can not use environment variable to control the loading of the layer on Android HOT 1
- can not load library when run hello_xr use inprocess monado runtime HOT 3
- Failed to run hello_xr with ERROR [comp_window_direct_acquire_xlib_display] HOT 1
- How to access XR_ML_marker_understanding? HOT 4
- Windows loader uses dynamic MSVCRT by default HOT 3
- Headers missing when building loader is turned off HOT 1
- Crash on xrCreateSession HOT 3
- hello_xr vulkan backend ignores `minApiVersion` from graphics requirements structs HOT 1
- Error on openxr_platform.h
- on Linux, search order for layers isn't consistent with Vulkan and XDG basedir spec HOT 7
- Android: loader can't find libopenxr_forwardloader.so library as it is inside .apk HOT 5
- Android build instructions out of date HOT 3
- Vulkan MissingAcquireWait Validation Errors HOT 3
- OpenXR-SDK: error compiling for Raspberry Pi armhf: "No architecture string known!" HOT 8
- OpenXR-SDK doesn't build on armv6 HOT 2
- Failed to distinguish different HMDs HOT 1
- hello_xr colors/non-linearity seems to be ill-defined and inconsistent, especially across different swapchain formats and headsets HOT 5
- Vive pro2 controller failed to sync position by calling xrGetActionStatePose HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openxr-sdk-source.