godot/servers
Alvin Wong 1bd66af54c Apply snap 2D transforms to pixel to viewport
We shall not leave the viewport transform to be rounded by the code for
rounding canvas items. Since the viewport transform is inverse to the
camera transform, we get incorrect rounding at the halfway point that
misaligns the viewport and the canvas item which the camera is
following.

Instead, reintroduce viewport rounding, but do it in a way that matches
the rounding of canvas items. Also take into account the half-pixel
offset of the centre point when viewport dimension is not divisible by
two.  For `CanvasLayer`s that follows viewport, take into account the
scale when rounding. Overall this should work better compared to the
rounding in Godot 4.2 (and earlier).
2024-09-23 20:34:11 +08:00
..
audio AudioEffectPitchShift: Fix distortion when pitch is 1.0 2024-09-17 15:16:08 +03:00
camera
debugger Reduce and prevent unnecessary random-access to `List` 2024-05-04 16:08:55 +02:00
display [macOS] Improve native menu open/close callbacks. 2024-06-05 20:22:41 +03:00
extensions Disable all 3D nodes, physics, and resources when compiling without 3D 2024-03-11 01:00:55 -07:00
movie_writer Ensure MovieWriter output is in gamma space when using HDR 2D 2024-05-28 15:30:13 -07:00
navigation Extract navigation-related defaults to separate header 2024-08-27 20:12:10 +02:00
physics_2d fix rare physics crash 2024-06-18 02:18:11 -07:00
rendering Apply snap 2D transforms to pixel to viewport 2024-09-23 20:34:11 +08:00
text [Font Import] Detect pixel fonts and disable subpixel positioning. 2024-07-23 20:34:39 +03:00
xr Style: Apply new `clang-format` changes 2024-09-20 08:09:48 -05:00
SCsub Move Godot Physics 3D into a module; add dummy 3D physics server 2024-09-21 21:19:45 +02:00
audio_server.cpp [Editor,Servers]: Minor optimizations 2024-09-12 06:22:04 +10:00
audio_server.h Fix leak when using audio samples instead of streams 2024-09-04 12:56:03 -04:00
camera_server.cpp
camera_server.h Enforce template syntax `typename` over `class` 2024-03-07 22:39:09 -06:00
display_server.cpp Fix Vulkan Instance initialized twice in ProjectDialog 2024-09-17 20:35:10 +02:00
display_server.h Check if RD is supported in the ProjectManager and disable creating RD projects if not supported. 2024-08-02 12:36:45 -07:00
display_server_headless.h Pass window exclusive and transient properties for subwindow creation 2024-07-25 00:27:27 +08:00
navigation_server_2d.cpp Add navigation region point and segment queries 2024-09-10 01:38:46 +02:00
navigation_server_2d.h Add navigation region point and segment queries 2024-09-10 01:38:46 +02:00
navigation_server_2d_dummy.h Add navigation region point and segment queries 2024-09-10 01:38:46 +02:00
navigation_server_3d.cpp Add navigation region point and segment queries 2024-09-10 01:38:46 +02:00
navigation_server_3d.h Add navigation region point and segment queries 2024-09-10 01:38:46 +02:00
navigation_server_3d_dummy.h Add navigation region point and segment queries 2024-09-10 01:38:46 +02:00
physics_server_2d.cpp Bind `PhysicsServer*D::body_set_state_sync_callback` 2024-07-23 13:30:44 +02:00
physics_server_2d.h Update PinJoint2D API with angle limits and motor speed 2023-09-26 10:29:23 +02:00
physics_server_2d_wrap_mt.cpp Apply additional fixes to servers' threading 2024-05-08 17:41:40 +02:00
physics_server_2d_wrap_mt.h Only print physics sync warning on dev builds to avoid warning spam from using move_and_slide 2024-07-12 10:52:30 -07:00
physics_server_3d.cpp Move Godot Physics 3D into a module; add dummy 3D physics server 2024-09-21 21:19:45 +02:00
physics_server_3d.h Disable all 3D nodes, physics, and resources when compiling without 3D 2024-03-11 01:00:55 -07:00
physics_server_3d_dummy.h Move Godot Physics 3D into a module; add dummy 3D physics server 2024-09-21 21:19:45 +02:00
physics_server_3d_wrap_mt.cpp Apply additional fixes to servers' threading 2024-05-08 17:41:40 +02:00
physics_server_3d_wrap_mt.h Only print physics sync warning on dev builds to avoid warning spam from using move_and_slide 2024-07-12 10:52:30 -07:00
register_server_types.cpp Move Godot Physics 3D into a module; add dummy 3D physics server 2024-09-21 21:19:45 +02:00
register_server_types.h
rendering_server.compat.inc Add antialias support for CanvasItem draw primitives 2024-05-13 19:03:31 +08:00
rendering_server.cpp Add external texture support (GLES3) 2024-09-20 10:48:32 -05:00
rendering_server.h Add external texture support (GLES3) 2024-09-20 10:48:32 -05:00
server_wrap_mt_common.h Fix typo in preprocessor symbol 2024-06-19 22:04:29 +02:00
text_server.compat.inc Improve TextEdit/LineEdit word selection. 2024-04-22 14:02:07 +03:00
text_server.cpp Merge pull request #70096 from rune-scape/stringname-dict 2024-09-03 17:38:06 +02:00
text_server.h [Font Import] Detect pixel fonts and disable subpixel positioning. 2024-07-23 20:34:39 +03:00
xr_server.compat.inc Rework XR Trackers to have a common ancestor. Allow creation of XRNode3D to drive node positions and visibility. 2024-04-18 20:04:01 -04:00
xr_server.cpp Cleanup of raw `nullptr` checks with `Ref` 2024-08-31 15:01:09 +02:00
xr_server.h OpenXR: Change timing of xrWaitFrame and add thread safety features to OpenXR 2024-05-01 14:24:41 +10:00