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
display
extensions
movie_writer
navigation
physics_2d
rendering Apply snap 2D transforms to pixel to viewport 2024-09-23 20:34:11 +08:00
text
xr Style: Apply new clang-format changes 2024-09-20 08:09:48 -05: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
display_server_headless.h
display_server.cpp Fix Vulkan Instance initialized twice in ProjectDialog 2024-09-17 20:35:10 +02:00
display_server.h
navigation_server_2d_dummy.h Add navigation region point and segment queries 2024-09-10 01:38:46 +02: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_3d_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
physics_server_2d_wrap_mt.cpp
physics_server_2d_wrap_mt.h
physics_server_2d.cpp
physics_server_2d.h
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
physics_server_3d_wrap_mt.h
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
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
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
SCsub Move Godot Physics 3D into a module; add dummy 3D physics server 2024-09-21 21:19:45 +02:00
server_wrap_mt_common.h
text_server.compat.inc
text_server.cpp Merge pull request #70096 from rune-scape/stringname-dict 2024-09-03 17:38:06 +02:00
text_server.h
xr_server.compat.inc
xr_server.cpp
xr_server.h