xserver/glamor
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jan Engelhardt e140707ade 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>
(cherry picked from commit 530e80375e)
2026-01-25 10:40:00 -08:00
..
glamor.c treewide: replace xnfstrdup() calls by XNFstrdup() 2026-01-25 10:39:55 -08:00
glamor.h glamor: add glvnd_vendor private 2023-11-07 17:59:24 +03:00
glamor_addtraps.c
glamor_composite_glyphs.c glamor: support GLES3 shaders 2023-10-09 17:25:28 +00:00
glamor_compositerects.c glamor: Make glamor_solid_boxes take a DrawablePtr 2023-07-20 10:14:56 +02:00
glamor_context.h glamor: Assume EGL in glamor_context 2021-09-15 19:14:23 +00:00
glamor_copy.c glamor: Make glamor_set_alu take a DrawablePtr 2024-01-11 10:03:10 +00:00
glamor_core.c glamor: Fallback to software rendering on GLSL link failure 2026-01-19 12:32:25 -08:00
glamor_dash.c glamor: support GLES3 shaders 2023-10-09 17:25:28 +00:00
glamor_debug.h glamor: glamor_debug.h: drop unused AbortServer() declaration 2026-01-19 12:32:19 -08:00
glamor_egl.c glamor: use gbm_format_for_depth instead of open-coding it 2026-01-25 10:39:58 -08:00
glamor_egl.h
glamor_egl_ext.h
glamor_eglmodule.c glamor: use explicit field initializers for XF86ModuleData 2026-01-25 10:40:00 -08:00
glamor_fbo.c glamor: drop duplicate _X_EXPORT from .c source 2026-01-19 12:32:19 -08:00
glamor_font.c include: dixfontstr.h: drop silent dependency on libxfont2 2026-01-25 10:39:56 -08:00
glamor_font.h
glamor_glx_provider.c glamor: reject configs using unsupported rgbBits size 2026-01-25 10:39:58 -08:00
glamor_glx_provider.h glamor: Lift the GLX EGL backend from Xwayland 2023-11-07 17:59:24 +03:00
glamor_glyphblt.c Fixed mirrored glyphs on big-endian machines 2023-12-17 16:44:45 +00:00
glamor_gradient.c glamor: don't need NULL check before free() 2026-01-25 10:40:00 -08:00
glamor_image.c glamor: Add and use glamor_drawable_effective_depth helper 2023-07-20 10:14:56 +02:00
glamor_largepixmap.c
glamor_lines.c glamor: explicitly draw endpoints of line segments 2026-01-25 10:40:00 -08:00
glamor_picture.c glamor: make use of GL_EXT_texture_format_BGRA8888 2022-12-01 08:41:57 +00:00
glamor_pixmap.c glamor: Fall back for mixed depth 24/32 in glamor_set_alu 2024-01-11 10:03:10 +00:00
glamor_points.c glamor: support GLES3 shaders 2023-10-09 17:25:28 +00:00
glamor_prepare.c glamor: Add and use glamor_drawable_effective_depth helper 2023-07-20 10:14:56 +02:00
glamor_prepare.h
glamor_priv.h fix missing includes of <X11/Xfuncproto.h> 2026-01-25 10:39:55 -08:00
glamor_program.c glamor: Fix possible double-free 2026-01-25 10:39:55 -08:00
glamor_program.h glamor: Make program APIs take DrawablePtrs instead of PixmapPtrs 2023-07-18 09:34:39 +00:00
glamor_rects.c glamor: support GLES3 shaders 2023-10-09 17:25:28 +00:00
glamor_render.c glamor: Fallback to software rendering on GLSL link failure 2026-01-19 12:32:25 -08:00
glamor_segs.c glamor: support GLES3 shaders 2023-10-09 17:25:28 +00:00
glamor_spans.c glamor: support GLES3 shaders 2023-10-09 17:25:28 +00:00
glamor_sync.c glamor: Don't glFlush/ctx switch unless any work has been performed 2023-03-17 12:38:23 +00:00
glamor_text.c Fixed mirrored glyphs on big-endian machines 2023-12-17 16:44:45 +00:00
glamor_transfer.c glamor: check BPP by render_format. 2026-01-25 10:39:55 -08:00
glamor_transfer.h glamor: Take DrawablePtr instead of PixmapPtr in up/download_boxes 2023-07-18 09:34:39 +00:00
glamor_transform.c glamor: Make glamor_set_alu take a DrawablePtr 2024-01-11 10:03:10 +00:00
glamor_transform.h glamor: Add and use glamor_drawable_effective_depth helper 2023-07-20 10:14:56 +02:00
glamor_trapezoid.c
glamor_triangles.c
glamor_utils.c glamor: Make glamor_solid_boxes take a DrawablePtr 2023-07-20 10:14:56 +02:00
glamor_utils.h glamor: Don't glFlush/ctx switch unless any work has been performed 2023-03-17 12:38:23 +00:00
glamor_vbo.c treewide: replace xnfalloc() calls to XNFalloc() 2026-01-25 10:39:55 -08:00
glamor_window.c
glamor_xv.c glamor: xv: Rewrite UYVY shader to match NV12/I420 CSC 2026-01-25 10:39:56 -08:00
meson.build Xephyr: use glamor glx provider 2023-11-07 18:20:48 +03:00