Comments (9)
Planning to switch this to a VisStudio .def file, rather than in-line decorations. It'll be a few weeks before I have time to look at it.
from openxr-sdk-source.
I think it could be solved either way. With in-line decorations, we just need to be careful to not use the macro with declspec(export) on things that shouldn't be exported (the ones at the top of Ryan's list starting with 'Loader')
from openxr-sdk-source.
The inline decorations would also keep things consistent across platforms.
from openxr-sdk-source.
Also, need to do the same export check on the API layers projects.
from openxr-sdk-source.
I've had some difficulty getting this right with inline decorations, mostly due to some of the fxn declarations being in code-gen'd header files. Adding a .def file is slam-dunk easy but doesn't do anything for the linux exports, so I'll take another run at in-lining it.
from openxr-sdk-source.
WIP branch daveh-loader-exports-redux
from openxr-sdk-source.
We're only exporting core functions, right? There's a check at the beginning of the loop through the functions where it figures out if it's core, an extension that's just starting, or an existing extension. Could probably set a "export prefix" variable there (to the export macro or empty string) and use it in the replace later. (On phone so this is all from memory but I'm pretty sure this is the easiest way to do that.)
from openxr-sdk-source.
OK, I've got two approaches here done and ready for discussion by wg
from openxr-sdk-source.
WG consensus was to go with 'core-only' export for now, with an eye towards restricting to the minimal set of 4 in the future (possibly with some additional extension-wrangling helpers). PR #98 is approved, closing this issue.
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.