summaryrefslogtreecommitdiff
path: root/modules/openxr
AgeCommit message (Collapse)Author
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-19Fix missing undo/redo object and issue with removing actionsBastiaan Olij
2022-12-16OpenXR: fix casts and loop in action map editorrsjtdrjgfuzkfg
This commit replaces potentially unsafe static casts with Object::cast_to and fixes the order in which UI elements are looped over when removing controls. This fixes crashes and wrong data being displayed in the OpenXR action map editor when saving or resetting action maps.
2022-12-15Fix typos with codespellRémi Verschelde
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 #69690 from BastiaanOlij/display_refresh_typeRémi Verschelde
Fix property type for OpenXR display refresh rate
2022-12-07Merge pull request #69654 from BastiaanOlij/openxr_submit_depth_optionalRémi Verschelde
Make submitting depth buffer in OpenXR optional
2022-12-07Fix property type for OpenXR display refresh rateBastiaan Olij
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-12-04Clean up DisplayServerAndroid::window_get_native_handle() with the GLES3 ↵David Snopek
renderer
2022-12-02SCons: Disable openxr module with disable_3d=yesRémi Verschelde
Fixes #69470.
2022-11-29Fix OpenXR on the Meta Quest: XR_KHR_loader_init_android is not reported as ↵David Snopek
available (but it works anyway)
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-22Merge pull request #64250 from raulsntos/openxr-string-arraysRémi Verschelde
Expose string array properties in OpenXR module as PackedStringArray
2022-11-21Code simplifications found by cppcheckMarkus Sauermann
They are based on: - Boolean arithmetic simplifications - setting variables that are not accessed - constant variables
2022-11-12Fix -Wtype-limits warning in openxr_interface.cppdzil123
2022-11-11Add index check to OpenXRInterface::get_projection_for_view and ↵avemort
OpenXRInterface::get_transform_for_view
2022-11-09[openxr] Remove unnecessary fallbacks for native handles on X11David Snopek
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-03Merge pull request #68102 from BastiaanOlij/fix_render_issues_xrRémi Verschelde
Fix several render issues found while debugging XR
2022-11-02Style: Misc docs and comment style and language fixesRémi Verschelde
- Removed empty paragraphs in XML. - Consistently use bold style for "Example:", on a new line. - Fix usage of `[code]` when hyperlinks could be used (`[member]`, `[constant]`). - Fix invalid usage of backticks for inline code in BBCode. - Fix some American/British English spelling inconsistencies. - Other minor fixes spotted along the way, including typo fixes with codespell. - Don't specify `@GlobalScope` for `enum` and `constant`.
2022-11-01Fix several render issues found while debugging XRBastiaan Olij
2022-10-31Merge pull request #67578 from KoBeWi/GEDITORRémi Verschelde
Unify usage of GLOBAL/EDITOR_GET
2022-10-31Merge pull request #67445 from Zylann/rename_queue_deleteRémi Verschelde
Rename queue_delete => queue_free
2022-10-28Change default OpenXR pose to aim poseBastiaan Olij
2022-10-24Rename queue_delete => queue_freeMarc Gilleron
# Conflicts: # editor/plugins/tiles/tiles_editor_plugin.cpp
2022-10-19Merge pull request #67527 from BastiaanOlij/fix_tracker_namesMax Hilbrunner
Fix two typos in tracker names and a bug in OpenXR haptic feedback
2022-10-18Unify usage of GLOBAL/EDITOR_GETkobewi
2022-10-19Merge pull request #67529 from BastiaanOlij/filter_out_htc_pathsBastiaan Olij
Filter out HTC OpenXR paths based on extension
2022-10-19Filter out HTC OpenXR paths based on extensionBastiaan 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-17Fix two typos in tracker names and a bug in OpenXR haptic feedbackBastiaan Olij
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-07Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg
change warnings=all to use /W4.
2022-10-06Fixing an incorrect error message in OpenXR reporting missing OpenGL supportBastiaan Olij
2022-10-05Merge pull request #66898 from aaronfranke/proj-mat-columnsRémi Verschelde
Rename Projection `matrix` to `columns`
2022-10-05Adding getters to RenderTarget and implementing override functionality for XRBastiaan Olij
2022-10-04Rename Projection `matrix` to `columns`Aaron Franke
2022-09-30Merge pull request #66242 from akien-mga/scons-unify-tools-targetRémi Verschelde
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-26SCons: Unify tools/target build type configurationRémi Verschelde
Implements https://github.com/godotengine/godot-proposals/issues/3371. New `target` presets ==================== The `tools` option is removed and `target` changes to use three new presets, which match the builds users are familiar with. These targets control the default optimization level and enable editor-specific and debugging code: - `editor`: Replaces `tools=yes target=release_debug`. * Defines: `TOOLS_ENABLED`, `DEBUG_ENABLED`, `-O2`/`/O2` - `template_debug`: Replaces `tools=no target=release_debug`. * Defines: `DEBUG_ENABLED`, `-O2`/`/O2` - `template_release`: Replaces `tools=no target=release`. * Defines: `-O3`/`/O2` New `dev_build` option ====================== The previous `target=debug` is now replaced by a separate `dev_build=yes` option, which can be used in combination with either of the three targets, and changes the following: - `dev_build`: Defines `DEV_ENABLED`, disables optimization (`-O0`/`/0d`), enables generating debug symbols, does not define `NDEBUG` so `assert()` works in thirdparty libraries, adds a `.dev` suffix to the binary name. Note: Unlike previously, `dev_build` defaults to off so that users who compile Godot from source get an optimized and small build by default. Engine contributors should now set `dev_build=yes` in their build scripts or IDE configuration manually. Changed binary names ==================== The name of generated binaries and object files are changed too, to follow this format: `godot.<platform>.<target>[.dev][.double].<arch>[.<extra_suffix>][.<ext>]` For example: - `godot.linuxbsd.editor.dev.arm64` - `godot.windows.template_release.double.x86_64.mono.exe` Be sure to update your links/scripts/IDE config accordingly. More flexible `optimize` and `debug_symbols` options ==================================================== The optimization level and whether to generate debug symbols can be further specified with the `optimize` and `debug_symbols` options. So the default values listed above for the various `target` and `dev_build` combinations are indicative and can be replaced when compiling, e.g.: `scons p=linuxbsd target=template_debug dev_build=yes optimize=debug` will make a "debug" export template with dev-only code enabled, `-Og` optimization level for GCC/Clang, and debug symbols. Perfect for debugging complex crashes at runtime in an exported project.