summaryrefslogtreecommitdiffstats
path: root/platform/linuxbsd
Commit message (Collapse)AuthorAgeFilesLines
* Fix window_set_current_screen for maximized windows.bruvzg2024-10-031-1/+1
|
* Move Vulkan includes to a central godot_vulkan.h headerGergely Kis2024-09-292-10/+2
| | | | Also fixes Vulkan build problem with recent Clang.
* Replace squish with bcdec for BC decompressionBlueCube33102024-09-261-4/+0
|
* 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
| |
* | Merge pull request #93058 from Repiteo/scons/scons_hintsRémi Verschelde2024-09-263-0/+3
|\ \ | |/ |/| | | SCons: Add unobtrusive type hints in SCons files
| * SCons: Add unobtrusive type hints in SCons filesThaddeus Crews2024-09-253-0/+3
| |
* | Fix renaming nodes on X11David Snopek2024-09-251-7/+3
|/
* Fallback to OpenGL 3 if Vulkan isn't available on WaylandJoaquim Monteiro2024-09-211-12/+20
|
* Merge pull request #97142 from SheepYhangCN/masterRémi Verschelde2024-09-201-12/+20
|\ | | | | | | Fallback to OpenGL 3 if other rendering drivers are not supported
| * Added fallback_to_opengl3SheepYhangCN2024-09-201-12/+20
| |
* | Style: Apply new `clang-format` changesThaddeus Crews2024-09-204-5/+5
|/
* Fix project manager stealing focus on i3David Snopek2024-09-161-1/+5
|
* Merge pull request #96973 from Riteo/pointing-the-obviousRémi Verschelde2024-09-163-93/+59
|\ | | | | | | Wayland: Simplify cursor code and fix custom cursors
| * 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.
* | Enable Drag and Drop for SubViewports and WindowsMarkus Sauermann2024-09-151-6/+6
|/ | | | | | | | | | | | | | | Make Drag and Drop an application-wide operation. This allows do drop on Controls in other Viewports/Windows. In order to achieve this, `Viewport::_update_mouse_over` is adjusted to remember the Control, that the mouse is over (possibly within nested viewports). This Control is used as a basis for the Drop-operation, which replaces the previous algorithm, which was only aware of the topmost Viewport. Also now all nodes in the SceneTree are notified about the Drag and Drop operation, with the exception of SubViewports that are not children of SubViewportContainers.
* 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-042-38/+96
|\ \ | |/ |/| | | 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.
| * X11: Alert only when video drivers fail initializationRiteo2024-08-211-30/+45
| | | | | | | | | | | | | | | | | | Before, they would always complain even if there was no attempt at initializing them (e.g. because there's no X11 display). While we're at it, this patch also adds a specific message for OpenGL ES and rewords "OpenGLES" to "OpenGL ES" in an error, for consistency (AFAIK we either say "GLES" or "OpenGL ES").
* | Update rendering driver name on fallbacks. Fix rendering driver/method in ↵bruvzg2024-09-012-0/+2
| | | | | | | | the editor system info.
* | Merge pull request #96204 from bruvzg/fd_no_caseRémi Verschelde2024-08-301-1/+9
|\ \ | | | | | | | | | [Linux] Make file filters case insensitive.
| * | [Linux] Make file filters case insensitive.bruvzg2024-08-281-1/+9
| | |
* | | Merge pull request #90782 from bruvzg/export_platform_extensionRémi Verschelde2024-08-302-7/+6
|\ \ \ | |/ / |/| | | | | Allow adding custom export platforms using scripts / GDExtension.
| * | Allow adding custom export platforms using scripts / GDExtension.bruvzg2024-08-282-7/+6
| | |
* | | [Linux] Fix "all files" filter in the native file dialog.bruvzg2024-08-281-4/+13
|/ /
* | 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-222-2/+2
|\ \ | | | | | | Add debug utilities for Vulkan
| * | Add debug utilities for VulkanMatias N. Goldberg2024-08-212-2/+2
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | [Windows/Linux] Check custom export templates architecture.bruvzg2024-08-162-9/+93
| |
* | 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.
* | [X11] Use motion event button state instead of async state.bruvzg2024-08-011-2/+19
| |
* | Remove unneeded call in DisplayServerX11 alvinhochun2024-07-251-1/+0
| | | | | | | | | | X11 does not need setting exclusive flag (it is not implemented). Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
* | Pass window exclusive and transient properties for subwindow creationAlvin Wong2024-07-252-2/+8
| | | | | | | | | | | | On Windows this allows to avoid having to change the owner of the window after it has been created, which in rare circumstances may cause the window to bug out.
* | Disable FP contraction.bruvzg2024-07-231-0/+2
| |
* | 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.
* | Linux/X11: Fix memory leak from created screen imagesRonald Casili2024-07-181-4/+5
| | | | | | | | | | | | | | | | | | Allocated XImages are improperly free'd with XFree. The X11 documentation says that XImage should use XDestroyImage to free both the image structure and the data pointed to by the image structure. Also fix a potential use-after-free bug.
* | 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.
* | Merge pull request #93352 from ↵Rémi Verschelde2024-07-092-0/+21
|\ \ | | | | | | | | | | | | | | | Calinou/linuxbsd-controller-no-trackpad-graphics-tablet Fix trackpads and graphics tablets being recognized as controllers on Linux/*BSD
| * | Fix trackpads and graphics tablets being recognized as controllers on Linux/*BSDHugo Locurcio2024-07-062-0/+21
| | |
* | | 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.
* | X11: Fix creating RenderingDevice after #93706Rémi Verschelde2024-06-291-0/+1
| | | | | | | | The line was removed by mistake.
* | Improve handling of rendering startup errorsPedro J. Estébanez2024-06-282-3/+16
| |