summaryrefslogtreecommitdiffstats
path: root/platform/linuxbsd/wayland
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit godotengine/godot@fd4c29a189e53a1e085df5b9b9a05cac9351b3efSpartan3222024-11-191-3/+3
|\
| * Wayland: Only set selection when there is not already a source.Trevor Davenport2024-11-171-3/+3
| | | | | | | | Co-authored-by: Riteo Siuga <riteo@posteo.net>
* | Merge commit godotengine/godot@c6c464cf9ae56e8b68620af65125dd980d0e8122Spartan3222024-11-021-1/+2
|\|
| * [DisplayServer] Add feature flag for native file dialog access to `user/res` ↵Anish Mishra2024-10-301-1/+2
| | | | | | | | and `options`
* | Fix remainder of godotengine referencesSpartan3222024-10-311-2/+2
| | | | | | | | (cherry picked from commit 1d62a70c5bb74dfbffffe1c018a861719e93e7ae)
* | Merge commit godotengine/godot@8004c7524fb9f43425c4d6f614410a76678e0f7cSpartan3222024-10-301-1/+4
|\|
| * Fix fallbacks to OpenGLSummersay4152024-10-281-1/+4
| |
* | Merge pull request #818 from Spartan322/fixup/copyright-headersGeorge L. Albany2024-10-2714-28/+28
|\ \ | | | | | | Fix copyright headers referring to Godot
| * | Fix copyright headers referring to GodotSpartan3222024-10-2714-28/+28
| | |
* | | Merge commit godotengine/godot@61accf060515416da07d913580419fd8c8490f7bSpartan3222024-10-261-0/+12
|\ \ \ | |/ / |/| / | |/
| * Merge pull request #97771 from dsnopek/openxr-linux-eglThaddeus Crews2024-10-251-0/+12
| |\ | | | | | | | | | OpenXR: Add support for Wayland on Linux
| | * OpenXR: Add support for Wayland on LinuxDavid Snopek2024-10-041-0/+12
| | |
* | | Merge commit godotengine/godot@80f0b33313dae52d072ba2771a88ebcc4f0b4d6dSpartan3222024-10-181-1/+1
|\| |
| * | Fix wrong Wayland path if building with opengl3=noMatias N. Goldberg2024-10-121-1/+1
| |/ | | | | | | | | | | | | | | Godot checks if there's Vulkan or GLES3 support. If no support is found, it shows an error message. However the code for this error message is left out when building with opengl3=no
* | Rebrand preambles to RedotDubhghlas McLaughlin2024-10-1114-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Credits: Co-authored-by: Skogi <skogi.b@gmail.com> Co-authored-by: Spartan322 <Megacake1234@gmail.com> Co-authored-by: swashberry <swashdev@pm.me> Co-authored-by: Christoffer Sundbom <christoffer_karlsson@live.se> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: McDubh <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: radenthefolf <radenthefolf@gmail.com> Co-authored-by: John Knight <80524176+Tekisasu-JohnK@users.noreply.github.com> Co-authored-by: Adam Vondersaar <adam.vondersaar@uphold.com> Co-authored-by: decryptedchaos <nixgod@gmail.com> Co-authored-by: zaftnotameni <122100803+zaftnotameni@users.noreply.github.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: wesam <108880473+wesamdev@users.noreply.github.com> Co-authored-by: Mister Puma <MisterPuma80@gmail.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: SingleError <isaaconeoneone@gmail.com> Co-authored-by: Bioblaze Payne <BioblazePayne@gmail.com>
* | Rebrand Godot to RedotRandolph W. Aarseth II2024-10-111-2/+2
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add Linux Editor tests workflow matrix Add Windows Editor w/ Mono workflow matrix Add Generate Glue Code job to Windows workflow Add Build GodotSharp job to Windows workflow Add godot compatibility version references Add Godot author info Add Godot version compatibility info Add Godot donor info Add Godot authors and donors to editor_about.cpp Credits: Co-authored-by: Skogi <skogi.b@gmail.com> Co-authored-by: Spartan322 <Megacake1234@gmail.com> Co-authored-by: swashberry <swashdev@pm.me> Co-authored-by: Christoffer Sundbom <christoffer_karlsson@live.se> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: McDubh <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: radenthefolf <radenthefolf@gmail.com> Co-authored-by: John Knight <80524176+Tekisasu-JohnK@users.noreply.github.com> Co-authored-by: Adam Vondersaar <adam.vondersaar@uphold.com> Co-authored-by: decryptedchaos <nixgod@gmail.com> Co-authored-by: zaftnotameni <122100803+zaftnotameni@users.noreply.github.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: wesam <108880473+wesamdev@users.noreply.github.com> Co-authored-by: Mister Puma <MisterPuma80@gmail.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: SingleError <isaaconeoneone@gmail.com> Co-authored-by: Bioblaze Payne <BioblazePayne@gmail.com>
* Move Vulkan includes to a central godot_vulkan.h headerGergely Kis2024-09-291-5/+1
| | | | Also fixes Vulkan build problem with recent Clang.
* Merge pull request #97483 from akien-mga/clang-format-19.1.0Rémi Verschelde2024-09-261-2/+2
|\ | | | | | | CI: Update `clang-format` pre-commit hook to 19.1.0
| * CI: Update `clang-format` pre-commit hook to 19.1.0Rémi Verschelde2024-09-261-2/+2
| |
* | SCons: Add unobtrusive type hints in SCons filesThaddeus Crews2024-09-251-0/+1
|/
* Fallback to OpenGL 3 if Vulkan isn't available on WaylandJoaquim Monteiro2024-09-211-12/+20
|
* Style: Apply new `clang-format` changesThaddeus Crews2024-09-201-1/+1
|
* Wayland: Simplify cursor code and fix custom cursorsRiteo2024-09-133-93/+59
| | | | | | | | | | | | Initially the WaylandThread cursor code was supposed to be as stateless as possible but, as time went on, this wasn't possible. This expectation made the resulting API quite convoluted, so this patch aims to simplify it substantially bot in terms of API surface and, most importantly, in terms of actual implementation complexity. This patch also fixes custom cursors since I accidentally changed the mmap flags to MAP_PRIVATE some time ago. This took me hours to notice.
* Wayland: clear button mask on pointer leaveRiteo2024-09-101-0/+2
| | | | | | | | | While experimenting with the recent "extent to title" PR, I noticed that it's not guaranteed for a "button released" event to be emitted when the pointer leaves the main surface, leaving some buttons stuck. Not doing this for tablets since the spec makes this behavior clear and explicit, so we (hopefully) shouldn't have this issue there.
* Wayland: make primary selection logic consistent with main clipboardRiteo2024-09-081-4/+5
|
* Merge pull request #96540 from hunterkepley/fix-wayland-middlemouse-pasteRémi Verschelde2024-09-041-1/+1
|\ | | | | | | Wayland: Fix primary clipboard handling
| * Wayland: Fix primary clipboard handlinghunterkepley2024-09-031-1/+1
| |
* | Merge pull request #91780 from Riteo/falling-with-styleRémi Verschelde2024-09-041-8/+51
|\ \ | |/ |/| | | Improve UX when falling back between Display Servers
| * Wayland: report when video drivers can't be loaded or foundRiteo2024-08-211-8/+51
| | | | | | | | This brings it to parity with the X11 backend.
* | Update rendering driver name on fallbacks. Fix rendering driver/method in ↵bruvzg2024-09-011-0/+1
| | | | | | | | the editor system info.
* | Use wayland-egl-core.h instead of wayland-egl.hJoel Winarske2024-08-231-1/+1
| | | | | | | | | | | | | | | | -avoid use of transitive wayland include -resolves https://github.com/godotengine/godot/issues/95830 Signed-off-by: Joel Winarske <joel.winarske@gmail.com>
* | Merge pull request #90993 from darksylinc/matias-TheForgeRémi Verschelde2024-08-221-1/+1
|\ \ | | | | | | Add debug utilities for Vulkan
| * | Add debug utilities for VulkanMatias N. Goldberg2024-08-211-1/+1
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Features: - Debug-only tracking of objects by type. See get_driver_allocs_by_object_type et al. - Debug-only Breadcrumb info for debugging GPU crashes and device lost - Performance report per frame from get_perf_report - Some VMA calls had to be modified in order to insert the necessary memory callbacks Functionality marked as "debug-only" is only available in debug or dev builds. Misc fixes: - Early break optimization in RenderingDevice::uniform_set_create ============================ The work was performed by collaboration of TheForge and Google. I am merely splitting it up into smaller PRs and cleaning it up.
* | Merge pull request #94022 from Riteo/a-fraction-of-the-workRémi Verschelde2024-08-222-13/+13
|\ \ | |/ |/| | | Wayland: Switch pointer position handling to doubles
| * Wayland: switch pointer position handling to doublesRiteo2024-07-072-13/+13
| | | | | | | | | | | | This reduces even further the amount of work we have to do when scaling and potentially improves input accuracy as now the input code is free from any form of rounding.
* | Wayland: Avoid recreating input objects on capability changeRiteo2024-08-091-17/+21
| | | | | | | | | | | | Before, multiple capability events would instantiate the same object over and over as long as its bit was set. This caused issues with hotplug and device suspension.
* | Wayland: Fix error spam when interacting with decorationsRiteo2024-07-201-15/+17
| | | | | | | | | | | | | | Also tried to make tablet handling a bit tidier (less whitespace). That said I'll uniform tablet handling better once we're back in the dev cycle.
* | Merge pull request #94411 from Riteo/suspending-the-right-wayRémi Verschelde2024-07-171-1/+1
|\ \ | | | | | | | | | Wayland: Check for suspended flag when unsuspending
| * | Wayland: check for suspended flag when unsuspendingRiteo2024-07-161-1/+1
| | | | | | | | | | | | | | | Before, we would only check for the frame flag, which is unreliable on newer suspension-aware compositors.
* | | Wayland: commit surface on window creationRiteo2024-07-151-0/+2
|/ / | | | | | | | | This is needed for initializing xdg_surfaces when not using libdecor. Now the pure xdg_shell code path should work again.
* / Wayland: scale relative pointer motionRiteo2024-07-071-0/+5
|/ | | | | Oops, forgot to do that. Motion-dependent stuff should now work properly when using scaled displays.
* Improve handling of rendering startup errorsPedro J. Estébanez2024-06-281-1/+8
|
* Wayland: minimize surface commits and limit them to the main threadRiteo2024-06-284-31/+53
| | | | | | | | | | | | | | | | | | Before of this patch, as explained in the usual commented-wall-of-text-longer-than-the-actual-patch-itself™, due to the multithreaded nature of the Wayland thread, it was possible to commit a surface while the renderer was doing stuff, which was _very_ wrong. Initially the consequences of such a sin weren't obvious but, now that explicit synchronization is becoming more and more common, we can't commit a buffer randomly without basically guaranteeing a nasty, nasty crash (and we should have avoided commits altogether in the first place to ensure atomic surface updates). We now only trigger a commit _in the main thread_ when low processor usage mode is on _and_ if we know that we won't be rendering anything as, due to its intermittent nature, it makes "legacy" (pre xdg_wm_base v6) frame callback based suspension quite annoying.
* Merge pull request #93021 from bruvzg/wl_imeRémi Verschelde2024-06-195-4/+288
|\ | | | | | | [Wayland] Implement IME support.
| * [Wayland] Implement IME support.bruvzg2024-06-115-4/+288
| |
* | Merge pull request #92663 from Riteo/holy-egl-batmanRémi Verschelde2024-06-133-18/+44
|\ \ | |/ |/| | | EGL: Use `EGL_EXT_platform_base` whenever possible
| * EGL: Use EGL_EXT_platform_base whenever possibleRiteo2024-06-043-18/+44
| | | | | | | | | | | | This avoids any assumption from the driver, which would otherwise select a specific platform and potentially mess up everything, resulting usually in a display server failure.
* | Fix creating cursor image from AtlasTexturekleonc2024-06-051-2/+1
|/
* Merge pull request #89033 from bruvzg/doc_end_errRémi Verschelde2024-05-281-1/+8
|\ | | | | | | [DisplayServer] Add error messages and descriptions to callbacks.
| * [DisplayServer] Add error messages and descriptions to callbacks.bruvzg2024-05-281-1/+8
| |