Debian Codegraph @

3rdparty/osgXR/CHANGELOG.md

raw symbols SCIP
1 Version 0.5.3
2 -------------
3
4 Highlights:
5 * Improved handling of OpenXR failures and runtime loss.
6 * Basic internal XR\_EXT\_debug\_utils logging support.
7 * Report recent errors in state string.
8
9 Runtime fixes:
10 * Improved handling of OpenXR failures:
11 * Handle swapchain creation failure.
12 * Handle session creation failure.
13 * Handle XR\_ERROR\_SESSION\_LOST.
14 * Only submit released CompositionLayerQuad swapchains to avoid xrEndFrame()
15 errors when layers are first added.
16
17 Debug & logging:
18 * Report recent errors in state string.
19 * Standardise log message prefixes.
20 * Basic internal XR\_EXT\_debug\_utils logging support.
21 * Check session destruction in more cases, and with warning message rather
22 than assert.
23
24 Behind the scenes:
25 * Refactor check() calls to drop "Failed to ".
26 * Improve comments in xrCreateSession error handling.
27 * Clean up extension function pointers.
28 * Instance: Fix valid() to compare against XR\_NULL\_HANDLE, and use in more
29 cases.
30 * Instance: Make check() safe for xrCreateInstance().
31
32 Version 0.5.2
33 -------------
34
35 Highlights:
36 * Misc build & runtime fixes.
37 * Fix osgteapot example.
38
39 Build fixes:
40 * Instance: Fix build with OpenXR < 1.0.16.
41 * pkgconf: Fix nix build by using CMAKE\_INSTALL\_FULL_*.
42 * pkgconf: Fix library name in Libs.
43 * Headers: Add missing &lt;cstdint&gt; includes.
44
45 Runtime fixes:
46 * Swapchain: Disable mipmapping in osg::Texture2Ds.
47 * XRState: Kill un-begun frames at end.
48 * OpenXRDisplay: Add an update operation to fix examples.
49 * OpenXRDisplay: Fix autoenable with Manager.
50 * SteamVR quirks: Tweak comments and min versions.
51 * SteamVR 1.25 fixes QUIRK\_GL\_CONTEXT\_CLEARED.
52 * OpenXR/EventHandler: Fix typo in warning message.
53
54 Version 0.5.1
55 -------------
56
57 Highlights:
58 * Windows build fix: Fix missing IUnknown.
59
60 Documentation:
61 * Settings: Fix typo in doxygen comment.
62
63 Version 0.5.0
64 -------------
65
66 Highlights:
67 * Windows build fixes.
68
69 Changed APIs (source incompatible, binary compatible):
70 * Renamed Settings::BlendMode enumerations to fix windows build:
71 * Settings::OPAQUE -> Settings::BLEND\_MODE\_OPAQUE.
72 * Settings::ADDITIVE -> Settings::BLEND\_MODE\_ADDITIVE.
73 * Settings::ALPHA\_BLEND -> Settings::BLEND\_MODE\_ALPHA\_BLEND.
74
75 Bug fixes:
76 * Swapchain: Use weak\_ptr::lock() to avoid exception.
77
78 Behind the scenes:
79 * XRState: Use OSG defs for GL texture formats.
80
81 Version 0.3.9
82 -------------
83
84 Highlights:
85 * New quad composition layer API.
86 * Improved quirk handling depending on OpenXR runtime.
87
88 Bug fixes:
89 * PkgConfig: Fix OpenXR dependency.
90 * XRState: Fix copy error in depth format selection.
91 * Handle releaseGLObjects on window close.
92 * Handle Monado instance loss.
93
94 New/expanded APIs:
95 * osgXR/Swapchain: New Swapchain class to represent a chain of images that can
96 be passed to OpenXR for use in composition layers. They can be linked to
97 cameras for rendering, and to state sets to update the texture of mirror
98 objects.
99 * osgXR/SubImage: New simple SubImage class to specify a sub-rectangle of a
100 Swapchain, for use by composition layers.
101 * osgXR/CompositionLayer: New CompositionLayer base class for general
102 composition layer handling.
103 * osgXR/CompositionLayerQuad: New CompositionLayerQuad class for applications
104 to use to implement OpenXR compositor quad layers.
105
106 Behind the scenes:
107 * Subaction: Tweak indentation.
108 * Add Quirks infrastructure.
109 * Handle OpenXR GL context mishandling with quirks.
110 * Compositor: Add internal OpenXR::CompositionLayerQuad API.
111 * XRState: Split image format selection into functions for shared use by new
112 public Swapchain API.
113 * XRState::XRSwapchain: Add forced alpha internal API for use by new public
114 APIs.
115
116 Build system:
117 * CMake: Explicitly find Threads with old OpenXR loaders.
118
119 Version 0.3.8
120 -------------
121
122 Highlights:
123 * Swapchain format preferences, allowing more formats to be chosen, and using
124 sRGB formats by default.
125 * Handle building as a CMake subproject.
126
127 New/expanded APIs:
128 * Settings::preferRGBEncoding(), Settings::allowRGBEncoding() - For choosing
129 preferred and allowed RGB encodings from linear, floating point (linear), and
130 sRGB (non-linear).
131 * Settings::preferDepthEncoding(), Settings::allowDepthEncoding() - For
132 choosing preferred and allowed depth encodings from linear, and floating
133 point.
134 * Settings::getRGBBits(), Settings::setRGBBits() - For choosing preferred
135 number of bits per RGB channel (for linear & float encodings only),
136 overriding the graphics window traits bit depths.
137 * Settings::getAlphaBits(), Settings::setAlphaBits() - For choosing preferred
138 number of alpha channel bits, overriding the graphics window traits bit
139 depths.
140 * Settings::getDepthBits(), Settings::setDepthBits() - For choosing preferred
141 number of depth channel bits, overriding the graphics window traits bit
142 depths.
143 * Settings::getStencilBits(), Settings::setStencilBits() - For choosing
144 preferred number of stencil channel bits, overriding the graphics window
145 traits bit depths.
146 * Settings::getPreferredRGBEncodingMask(),
147 Settings::setPreferredRGBEncodingMask(),
148 Settings::getAllowedRGBEncodingMask(),
149 Settings::setAllowedRGBEncodingMask() - Largely internal for directly
150 accessing the masks of preferred and allowed RGB encodings.
151 * Settings::getPreferredDepthEncodingMask(),
152 Settings::setPreferredDepthEncodingMask(),
153 Settings::getAllowedDepthEncodingMask(),
154 Settings::setAllowedDepthEncodingMask() - Largely internal for directly
155 accessing the masks of preferred and allowed depth encodings.
156
157 Documentation:
158 * Settings: Tweak comment wording for consistency.
159
160 Behaviour changes:
161 * Determine swapchain formats using new preferences specified in Settings,
162 using sRGB formats by default instead of linear.
163 * Choose a suitable depth/stencil fallback for when a depth swapchain cannot be
164 used.
165 * Enable gamma correction when rendering VR mirror to sRGB framebuffer.
166
167 Build system:
168 * Handle building as a subproject.
169 * Reduce minimum CMake version to 3.11.
170 * Add OSGXR\_WARNINGS option to enable compiler warnings (for development use).
171 * Drop osgXR\_INCLUDE\_DIR use since newer CMake handles automatically.
172
173 Version 0.3.7
174 -------------
175
176 New features:
177 * Implement basic Windows OpenGL graphics binding.
178
179 Windows (MSVC) build fixes:
180 * Session: #ifdef X11 specific workaround.
181 * CMake: Require osgUtil.
182 * Manager: Avoid undefined Mirror.
183 * Fix Win32 DLL imports/exports.
184 * Subaction: Use C++11 smart pointers for \_private to avoid undefined Private
185 implementation class.
186 * Fix build against old OpenGL headers.
187
188 ABI changes (ABI version 5):
189 * Subaction: Use C++11 smart pointers for \_private.
190 * Switch Action, ActionSet & InteractionProfile pimpls to std::unique\_ptr<>.
191
192 Version 0.3.6
193 -------------
194
195 Bug fixes:
196 * Work around Monado GL context assumptions for xrCreateSession &
197 xrCreateSwapchain calls.
198 * Permit new swapchain formats: GL\_RGB10\_A2 (for Monado on AMD) & GL\_RGBA8.
199
200 Behaviour changes:
201 * Report list of swapchain formats on failure to choose one.
202
203 Behind the scenes:
204 * Minor whitespace cleanups in src/XRState.cpp.
205
206 Version 0.3.5
207 -------------
208
209 Bug fixes:
210 * Ensure OpenXR::Action is valid before creating an action state object.
211 * Don't suggest empty InteractionProfile bindings to OpenXR.
212
213 Behaviour changes:
214 * Manager (XRState) no longer keeps counted references to ActionSets or
215 InteractionProfiles. The app should manage the lifetime of these objects
216 itself, and can now safely discard and recreate them.
217 * All created Actions are now provided to OpenXR even if unreferenced by any
218 InteractionProfile suggested bindings.
219 * Action setup is now treated as a separate initialisation stage. As such if
220 no action sets or no interaction profiles have been created, action setup
221 will now take place on the next update() after they are created.
222
223 New/expanded APIs:
224 * Manager::syncActionSet() - To inform osgXR that actions, action sets, or
225 interaction profiles have been altered, so it can take action to apply them
226 as soon as possible.
227 * ActionPose::Location::operator !=, ActionPose::Location::operator == - For
228 comparing pose location objects for equality.
229
230 Behind the scenes:
231 * Some minor refactoring in src/Action.cpp.
232
233 Version 0.3.4
234 -------------
235
236 Bug fixes:
237 * Fix draw pass accounting and slave cam VR mode.
238
239 Behaviour changes:
240 * Automatically fall back from SceneView mode if the view configuration isn't
241 stereo.
242
243 New/expanded APIs:
244 * New action APIs for exposing OpenXR actions (both input and haptics), action
245 sets, interaction profiles, and subactions:
246 * osgXR/Action: New Action, ActionBoolean, ActionFloat, ActionVector2f,
247 ActionPose and ActionVibration classes to represent different kinds of
248 XrAction.
249 * osgXR/ActionSet: New ActionSet class to group actions that can be activated
250 and deactivated together.
251 * osgXR/InteractionProfile: New InteractionProfile class to allows default
252 action bindings for interaction profiles to be suggested.
253 * osgXR/Subaction: New Subaction class to represent a subaction path (or top
254 level user path) which groups physical interactions, allowing single
255 actions that apply to both hands to be handled separately.
256
257 Behind the scenes:
258 * Add internal action management classes in OpenXR namespace.
259 * Wrap XrSpace in an OpenXR::Space class.
260 * Wrap XrPath in an OpenXR::Path class.
261 * Extend inline code documentation.
262 * Code cleanups.
263
264 Version 0.3.3 (formerly 0.4.0)
265 ------------------------------
266
267 New/expanded APIs:
268 * Settings::getVisibilityMask(), Settings::getVisibilityMask() - for setting
269 whether osgXR should create visibility masks (when supported by the OpenXR
270 runtime).
271 * Manager::hasVisibilityMaskExtension() - for finding whether the visibility
272 mask extension is supported by the OpenXR runtime.
273 * Manager::setVisibilityMaskNodeMasks() - for setting the left and right eye
274 NodeMasks to use for visibility masks.
275
276 Behind the scenes:
277 * Implement creation, caching, and updating of visibility mask geometry for each
278 OpenXR view.
279 * Implement rendering of visibility masks to the depth buffer to reduce fragment
280 overhead when GPU bound.
281
282 Version 0.3.2
283 -------------
284
285 Bug fixes:
286 * Fix a couple of bugs around session recreation (used when VR or swapchain mode
287 changes).
288
289 Behaviour changes:
290 * Pick depth buffer format based on GraphicsContext traits depth bits.
291 * Enable depth info submission at session state to allow it to be dynamically
292 switched without hitting a SteamVR hang during instance destruction.
293
294 Behind the scenes:
295 * Fix a few inconsequential compiler warnings with -Wall.
296 * Minor cosmetic cleanups (whitespace, explicit include).
297
298 Version 0.3.1
299 -------------
300
301 Behind the scenes:
302 * Fix possible crash in XRState::isRunning() if session is delayed coming up.
303
304 Version 0.3.0
305 -------------
306
307 API changes:
308 * Manager::checkAndResetStateChanged() - to detect when VR state may have
309 changed, requiring app caches to be invalidated or synchronised with the new
310 state.
311
312 Version 0.2.1
313 -------------
314
315 Behind the scenes:
316 * Make frame view location accessors thread safe so multiple cull threads can be
317 used.
318
319 Version 0.2.0
320 -------------
321
322 API changes:
323 * Cleanups (moving dynamic bits out of Settings).
324 * Manager::update() - should be called regularly to allow for incremental
325 bringup and OpenXR event handling.
326 * Manager::setEnabled() - for triggering bringing up/down of VR.
327
328 New/expanded APIs:
329 * Manager::destroyAndWait() and Manager::isDestroying() - for clean shutdown
330 before program exit.
331 * Manager::syncSettings() - to trigger appropriate reinitialisation to handle
332 any changed settings.
333 * Manager::getStateString() - to get a user readable description of the current
334 VR state.
335 * Manager::onRunning() - virtual callback when VR has started (consider setting
336 up desktop mirrors).
337 * Manager::onStopped() - virtual callback when VR has stopped (consider
338 removing desktop mirrors).
339 * Manager::onFocus() - virtual callback when VR app is running in focus
340 (consider resuming if paused).
341 * Manager::onUnfocus() - virtual callback when VR app has lost focus (consider
342 pausing the experience).
343
344 Behind the scenes highlights:
345 * Make OpenXR bringup incremental, reversible and restartable.
346 * Improved handling of SteamVR's messing with GL context and threading.
347 * Separated event handling.
348
349 Version 0.1.0
350 -------------
351
352 This represents early development with the API still in heavy flux.
353
354 It supported:
355 * A Manager class with virtual callbacks for configuring views.
356 * Desktop mirrors of the VR views.