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
..
glamor.c treewide: replace xnfstrdup() calls by XNFstrdup() 2024-07-26 23:41:34 +00:00
glamor.h
glamor_addtraps.c
glamor_composite_glyphs.c glamor: use dixDestroyPixmap() instead of direct driver call 2025-02-12 17:48:30 +01:00
glamor_compositerects.c
glamor_context.h
glamor_copy.c
glamor_core.c glamor: Fallback to software rendering on GLSL link failure 2024-04-11 12:01:14 +00:00
glamor_dash.c
glamor_debug.h
glamor_egl.c glamor: use dixDestroyPixmap() instead of direct driver call 2025-02-12 17:48:30 +01:00
glamor_egl.h
glamor_egl_ext.h
glamor_eglmodule.c glamor: use explicit field initializers for XF86ModuleData 2025-02-17 19:41:29 +00:00
glamor_fbo.c
glamor_font.c include: dixfontstr.h: drop silent dependency on libxfont2 2024-09-01 17:45:13 +00:00
glamor_font.h
glamor_glx_provider.c glamor: reject configs using unsupported rgbBits size 2025-01-21 09:16:52 +00:00
glamor_glx_provider.h
glamor_glyphblt.c
glamor_gradient.c glamor: don't need NULL check before free() 2025-02-23 17:32:49 +00:00
glamor_image.c
glamor_largepixmap.c
glamor_lines.c glamor: explicitly draw endpoints of line segments 2025-02-24 20:39:12 +00:00
glamor_picture.c
glamor_pixmap.c
glamor_points.c
glamor_prepare.c
glamor_prepare.h
glamor_priv.h fix missing includes of <X11/Xfuncproto.h> 2024-07-20 17:18:38 +00:00
glamor_program.c glamor: Fix possible double-free 2024-07-29 13:49:27 +00:00
glamor_program.h
glamor_rects.c
glamor_render.c glamor: Fallback to software rendering on GLSL link failure 2024-04-11 12:01:14 +00:00
glamor_segs.c
glamor_spans.c
glamor_sync.c
glamor_text.c
glamor_transfer.c glamor: check BPP by render_format. 2024-08-01 10:48:11 +03:00
glamor_transfer.h
glamor_transform.c
glamor_transform.h
glamor_trapezoid.c
glamor_triangles.c
glamor_utils.c
glamor_utils.h
glamor_vbo.c treewide: replace xnfalloc() calls to XNFalloc() 2024-07-26 23:41:33 +00:00
glamor_window.c
glamor_xv.c drop obsolete HAVE_DIX_CONFIG_H 2024-10-10 13:38:31 +00:00
meson.build