Files
xserver/glamor
Jan Engelhardt 530e80375e glamor: explicitly draw endpoints of line segments
The OpenGL 4.6 specification §14.5.1 "Basic Line Rasterization"
figure 14.2 says:

"""A diamond shaped region of height 1 is placed around each fragment
center; those regions that the line segment **exits** cause
rasterization to produce corresponding fragments."""

As the line does not necessarily exit the last diamond,
it is necessary to explicitly paint a pixel at line ends.

Fixes: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1434
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1755>
2025-02-24 20:39:12 +00:00
..
2023-10-09 17:25:28 +00:00
2023-10-09 17:25:28 +00:00
2023-10-09 17:25:28 +00:00
2023-10-09 17:25:28 +00:00
2023-10-09 17:25:28 +00:00
2024-10-10 13:38:31 +00:00
2023-11-07 17:59:24 +03:00
2023-11-07 18:20:48 +03:00