summaryrefslogtreecommitdiff
path: root/modules/openxr/openxr_api.cpp
AgeCommit message (Collapse)Author
2023-02-02Add XR Environment Blend Mode SupportRon Bessems
2023-01-23Convert en_GB spelling to en_US with codespellRémi Verschelde
2023-01-15Fixes issue where failed start of OpenXR causes issuesBastiaan Olij
2023-01-11OpenXR: Fix initialization warning on Androidrsjtdrjgfuzkfg
This commit adds proper checking for XR_KHR_loader_init support and fixes the warning regarding missing extensions on Android to only appear if neither XR_KHR_loader_init nor XR_KHR_loader_init_android are supported by the runtime.
2023-01-06OpenXR: Add preliminary Pico controller profilersjtdrjgfuzkfg
This commit adds the Pico controller used in the Pico 4 as implemented in current versions of the OpenXR runtime on the device itself. Note that the extension and paths used in this commit might become obsolete once there is official support for the Pico 4 in the OpenXR standard.
2023-01-05One Copyright Update to rule them allRémi Verschelde
As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
2023-01-04Removed member variables from OpenXRExtensionWrapperBastiaan Olij
Made extension container in OpenXRAPI static Moved controller meta data into extensions where applicable
2022-12-13Merge pull request #68528 from BastiaanOlij/openxr_actionmap_changesRémi Verschelde
Various fixes for OpenXR action map meta data and editing
2022-12-07Merge pull request #69654 from BastiaanOlij/openxr_submit_depth_optionalRémi Verschelde
Make submitting depth buffer in OpenXR optional
2022-12-06Make submitting depth buffer in OpenXR optionalBastiaan Olij
2022-12-06Fix typo that resulted in left eye depth buffer being submitted for the ↵Bastiaan Olij
right eye
2022-11-29Enable GLES3 on Androidclayjohn
Add necessary build flags and switch from using a GLES2 context to a GLES3 one. This also enables building for OpenXR Co-authored-by: m4gr3d <fhuyakou@gmail.com> Co-authored-by: dsnopek <dsnopek@gmail.com>
2022-11-25Various fixes for OpenXR action map meta data and editingBastiaan Olij
2022-11-25Fix GLAD-related build problems on LinuxJens Nolte
- Use gl.h provided by GLAD in the OpenXR module - Use non-EXT variants of some OpenGL defines - Remove libGL-related code paths
2022-11-24Merge pull request #68023 from rsjtdrjgfuzkfg/picoRémi Verschelde
Partial support for Pico 4
2022-11-08Add support for OpenGL to OpenXRDavid Snopek
2022-11-04OpenXR: support XR_KHR_android_create_instancersjtdrjgfuzkfg
This commit adds support for the OpenXR extension XR_KHR_android_create_instance, which seems to be required on Pico devices.
2022-11-01Fix several render issues found while debugging XRBastiaan Olij
2022-10-18Fix missing itos for OpenXR loggingBastiaan Olij
2022-10-17Merge pull request #67179 from BastiaanOlij/openxr_add_refresh_rate_extensionRémi Verschelde
Adding support for the OpenXR Display Refresh Rate extension
2022-10-10Adding support for the OpenXR Display Refresh Rate extensionBastiaan Olij
2022-10-10Cleanup a bunch of debug messages in OpenXR and change the ones we want to ↵Bastiaan Olij
keep to print_verbose
2022-10-06Fixing an incorrect error message in OpenXR reporting missing OpenGL supportBastiaan Olij
2022-10-05Adding getters to RenderTarget and implementing override functionality for XRBastiaan Olij
2022-09-27Add Passthrough extension wrapperGabor Koncz
2022-09-27Merge pull request #66282 from BastiaanOlij/openxr_palm_poseRémi Verschelde
Add OpenXR palm pose extension support
2022-09-26Adding OpenXR hand tracking supportBastiaan Olij
2022-09-26Merge pull request #65798 from kisg/dynamic_openxr_loaderRémi Verschelde
Dynamic loading of OpenXR Loader on Android
2022-09-24Dynamic loading of OpenXR Loader on AndroidGergely Kis
This change implements dynamic loading of the OpenXR Loader library on Android. If an OpenXR Loader library is not found, Godot will still function with OpenXR disabled. Also, on every platform, the OpenXR symbols are resolved at runtime using xrGetInstanceProcAddr. On Windows and Linux the OpenXR loader is included in the main engine binary. On Android, the OpenXR Loader is not built with the engine. Separately distributed Android plugins will be provided with the correct loader library for each device. Co-authored-by: Gábor Pál Korom <gabor.p.korom@migeran.com> Co-authored-by: Gábor Koncz <gabor.koncz@migeran.com>
2022-09-23Add OpenXR palm pose extension supportBastiaan Olij
2022-09-16Fix OpenXR layer composition blendingGabor Koncz
2022-07-28Add startup flag to override XR mode settingsBastiaan Olij
2022-07-23Implement Vector4, Vector4i, Projectionreduz
Implement built-in classes Vector4, Vector4i and Projection. * Two versions of Vector4 (float and integer). * A Projection class, which is a 4x4 matrix specialized in projection types. These types have been requested for a long time, but given they were very corner case they were not added before. Because in Godot 4, reimplementing parts of the rendering engine is now possible, access to these types (heavily used by the rendering code) becomes a necessity. **Q**: Why Projection and not Matrix4? **A**: Godot does not use Matrix2, Matrix3, Matrix4x3, etc. naming convention because, within the engine, these types always have a *purpose*. As such, Godot names them: Transform2D, Transform3D or Basis. In this case, this 4x4 matrix is _always_ used as a _Projection_, hence the naming.
2022-06-16Adding HTC tracker supportBastiaan Olij
2022-06-14Expose XRPose's get angular velocity.K. S. Ernest (iFire) Lee
2022-05-18fix OpenXRAPI::is_extension_supported returning opposite resultSaenoe
2022-05-16Replace most uses of Map by HashMapreduz
* Map is unnecessary and inefficient in almost every case. * Replaced by the new HashMap. * Renamed Map to RBMap and Set to RBSet for cases that still make sense (order matters) but use is discouraged. There were very few cases where replacing by HashMap was undesired because keeping the key order was intended. I tried to keep those (as RBMap) as much as possible, but might have missed some. Review appreciated!
2022-05-11corrected conditional compile of OpenXR with/without opengl3 driverderammo
2022-04-28Fix cppcheck const parametersMarkus Sauermann
Convert method signature parameters to const where it is possible # Conflicts: # drivers/gles3/rasterizer_canvas_gles3.cpp # drivers/gles3/rasterizer_canvas_gles3.h # editor/plugins/animation_state_machine_editor.cpp # editor/plugins/animation_state_machine_editor.h
2022-04-11Merge pull request #59940 from BastiaanOlij/xr_new_controllers_20220405Rémi Verschelde
2022-04-06Added missing interaction profiles and making sure related extensions are ↵Bastiaan Olij
enabled if available
2022-04-04Style: Apply clang-tidy to current code, add `readability-redundant-member-init`Rémi Verschelde
2022-04-04Add action map editor for OpenXRBastiaan Olij
2022-03-31Fix typos with codespellRémi Verschelde
Using codespell 2.2-dev from current git. Fix a couple incorrect uses of gendered pronouns.
2022-03-29Move OpenXR project settings to the main, to make them visible on ↵bruvzg
unsupported platforms.
2022-03-25Cleanup OpenXR on initialisation failureBastiaan Olij
2022-03-10Adding signals and events to OpenXR interfaceBastiaan Olij
Improving interaction profile logic
2022-02-28Fix color issues with OpenXRBastiaan Olij
2022-02-23Implementing OpenXR driverBastiaan Olij