summaryrefslogtreecommitdiffstats
path: root/modules/openxr/openxr_api.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Properly load multiple action sets in XRFaolan2023-08-091-12/+21
|
* Fix various typos with codespellRémi Verschelde2023-08-071-2/+2
| | | | | | | | | Also includes typo fixes from #79993, #80068, #80276, and #80303. Co-authored-by: betalars <contact@betalars.de> Co-authored-by: spaceyjase <429978+spaceyjase@users.noreply.github.com> Co-authored-by: Swarkin <102416174+Swarkin@users.noreply.github.com> Co-authored-by: Raul Santos <raulsntos@gmail.com>
* Merge pull request #68259 from konczg/openxr_extension_wrapper_gdextensionYuri Sizov2023-07-271-0/+1
|\ | | | | | | Add GDExtension support for OpenXR extension wrappers
| * Add GDExtension support for OpenXR extension wrappersGabor Koncz2023-07-261-0/+1
| | | | | | | | | | | | | | | | | | This commit adds the classes OpenXRExtensionWrapperExtension and OpenXRAPIExtension that can be used in GDExtensions to define OpenXR extension wrappers. It modifies extension wrapper registration so that they can be registered before OpenXRAPI instantiation (e.g. in core level initialization of GDExtensions). Developed by Migeran (https://migeran.com)
* | Compile OpenXR into MacOS buildBastiaan Olij2023-07-191-3/+3
|/
* Fix incorrect depth buffer option in OpenXRBastiaan Olij2023-06-221-8/+10
|
* Style: Harmonize header includes in modulesRémi Verschelde2023-06-151-5/+6
| | | | | | | | | | | | | | | | | | | | This applies our existing style guide, and adds a new rule to that style guide for modular components such as platform ports and modules: Includes from the platform port or module ("local" includes) should be listed first in their own block using relative paths, before Godot's "core" includes which use "absolute" (project folder relative) paths, and finally thirdparty includes. Includes in `#ifdef`s come after their relevant section, i.e. the overall structure is: - Local includes * Conditional local includes - Core includes * Conditional core includes - Thirdparty includes * Conditional thirdparty includes
* Fix misuses of error macrosDanil Alexeev2023-04-181-1/+1
|
* Merge pull request #73558 from Malcolmnixon/render-target-size-multiplierRémi Verschelde2023-04-111-2/+10
|\ | | | | | | Added render target size multiplier option
| * Added render target size multiplier option.Malcolm Nixon2023-02-181-2/+10
| | | | | | | | Fix formatting
* | Merge pull request #74848 from BastiaanOlij/add_xr_system_infoYuri Sizov2023-03-251-1/+6
|\ \ | | | | | | Add a get_system_info method to XRInterface
| * | Add a get_system_info method to XRInterfaceBastiaan Olij2023-03-151-1/+6
| |/
* / XR: When an sRGB target is used, check hardware sRGB conversionBastiaan Olij2023-03-161-1/+7
|/
* Add XR Environment Blend Mode SupportRon Bessems2023-02-021-2/+60
|
* Convert en_GB spelling to en_US with codespellRémi Verschelde2023-01-231-1/+1
|
* Fixes issue where failed start of OpenXR causes issuesBastiaan Olij2023-01-151-0/+10
|
* OpenXR: Fix initialization warning on Androidrsjtdrjgfuzkfg2023-01-111-1/+5
| | | | | | | 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.
* OpenXR: Add preliminary Pico controller profilersjtdrjgfuzkfg2023-01-061-1/+1
| | | | | | | 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.
* One Copyright Update to rule them allRémi Verschelde2023-01-051-29/+29
| | | | | | | | | | | | | | | | | | | | 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".
* Removed member variables from OpenXRExtensionWrapperBastiaan Olij2023-01-041-38/+17
| | | | | Made extension container in OpenXRAPI static Moved controller meta data into extensions where applicable
* Merge pull request #68528 from BastiaanOlij/openxr_actionmap_changesRémi Verschelde2022-12-131-13/+75
|\ | | | | | | Various fixes for OpenXR action map meta data and editing
| * Various fixes for OpenXR action map meta data and editingBastiaan Olij2022-11-251-13/+75
| |
* | Merge pull request #69654 from BastiaanOlij/openxr_submit_depth_optionalRémi Verschelde2022-12-071-3/+30
|\ \ | | | | | | | | | Make submitting depth buffer in OpenXR optional
| * | Make submitting depth buffer in OpenXR optionalBastiaan Olij2022-12-061-3/+30
| | |
* | | Fix typo that resulted in left eye depth buffer being submitted for the ↵Bastiaan Olij2022-12-061-1/+1
|/ / | | | | | | right eye
* | Enable GLES3 on Androidclayjohn2022-11-291-2/+2
| | | | | | | | | | | | | | | | | | | | 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>
* | Fix GLAD-related build problems on LinuxJens Nolte2022-11-251-3/+2
|/ | | | | | - Use gl.h provided by GLAD in the OpenXR module - Use non-EXT variants of some OpenGL defines - Remove libGL-related code paths
* Merge pull request #68023 from rsjtdrjgfuzkfg/picoRémi Verschelde2022-11-241-1/+9
|\ | | | | | | Partial support for Pico 4
| * OpenXR: support XR_KHR_android_create_instancersjtdrjgfuzkfg2022-11-041-1/+9
| | | | | | | | | | | | This commit adds support for the OpenXR extension XR_KHR_android_create_instance, which seems to be required on Pico devices.
* | Add support for OpenGL to OpenXRDavid Snopek2022-11-081-3/+32
|/
* Fix several render issues found while debugging XRBastiaan Olij2022-11-011-1/+1
|
* Fix missing itos for OpenXR loggingBastiaan Olij2022-10-181-6/+6
|
* Merge pull request #67179 from BastiaanOlij/openxr_add_refresh_rate_extensionRémi Verschelde2022-10-171-0/+27
|\ | | | | | | Adding support for the OpenXR Display Refresh Rate extension
| * Adding support for the OpenXR Display Refresh Rate extensionBastiaan Olij2022-10-101-0/+27
| |
* | Cleanup a bunch of debug messages in OpenXR and change the ones we want to ↵Bastiaan Olij2022-10-101-75/+32
|/ | | | keep to print_verbose
* Fixing an incorrect error message in OpenXR reporting missing OpenGL supportBastiaan Olij2022-10-061-1/+1
|
* Adding getters to RenderTarget and implementing override functionality for XRBastiaan Olij2022-10-051-55/+145
|
* Add Passthrough extension wrapperGabor Koncz2022-09-271-0/+22
|
* Merge pull request #66282 from BastiaanOlij/openxr_palm_poseRémi Verschelde2022-09-271-0/+30
|\ | | | | | | Add OpenXR palm pose extension support
| * Add OpenXR palm pose extension supportBastiaan Olij2022-09-231-0/+30
| |
* | Adding OpenXR hand tracking supportBastiaan Olij2022-09-261-0/+2
| |
* | Merge pull request #65798 from kisg/dynamic_openxr_loaderRémi Verschelde2022-09-261-0/+105
|\ \ | |/ |/| | | Dynamic loading of OpenXR Loader on Android
| * Dynamic loading of OpenXR Loader on AndroidGergely Kis2022-09-241-0/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Fix OpenXR layer composition blendingGabor Koncz2022-09-161-1/+1
|/
* Add startup flag to override XR mode settingsBastiaan Olij2022-07-281-10/+5
|
* Implement Vector4, Vector4i, Projectionreduz2022-07-231-1/+1
| | | | | | | | | | | | | 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.
* Adding HTC tracker supportBastiaan Olij2022-06-161-1/+6
|
* Expose XRPose's get angular velocity.K. S. Ernest (iFire) Lee2022-06-141-3/+3
|
* fix OpenXRAPI::is_extension_supported returning opposite resultSaenoe2022-05-181-1/+1
|
* Replace most uses of Map by HashMapreduz2022-05-161-8/+14
| | | | | | | | | | | | * 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!