xserver/glamor
Enrico Weigelt, metux IT consult 34d42a47df (1823) glamor: replace xallocarray() by calloc()
Only key difference that calloc(), in contrast to rellocarray(),
is zero-initializing. The overhead is hard to measure on today's
machines, and it's safer programming practise to always allocate
zero-initialized, so one can't forget to do it explicitly.

Cocci rule:

    @@
    expression COUNT;
    expression LEN;
    @@
    - xallocarray(COUNT,LEN)
    + calloc(COUNT,LEN)

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 11:37:36 +02:00
..
glamor.c (!1714) glamor: use PixmapDestroy hook 2025-06-03 11:37:33 +02:00
glamor.h (!1714) glamor: use CloseScreen hook 2025-06-03 11:37:32 +02:00
glamor_addtraps.c (!1930) glamor: fix missing include of dix-config.h 2025-06-03 11:37:34 +02:00
glamor_composite_glyphs.c (!1898) os: drop Xasprintf() and Xvasprintf() 2025-06-03 11:37:34 +02:00
glamor_compositerects.c (1823) glamor: replace xallocarray() by calloc() 2025-06-03 11:37:36 +02:00
glamor_context.h glamor: Assume EGL in glamor_context 2021-09-15 19:14:23 +00:00
glamor_copy.c (!1944) treewide: drop COMPOSITE symbol 2025-06-03 11:37:33 +02:00
glamor_core.c (!1909) glamor: use calloc() instead of malloc() 2025-06-03 11:37:33 +02:00
glamor_dash.c (!1975) glamor: BUG_RETURN*() on pixmap private data 2025-06-03 11:37:31 +02:00
glamor_debug.h glamor: glamor_debug.h: drop unused AbortServer() declaration 2024-03-03 22:29:52 +00:00
glamor_egl.c (!1930) glamor: fix missing include of dix-config.h 2025-06-03 11:37:34 +02:00
glamor_egl.h glamor/xwayland: Define EGL_NO_X11 2019-11-04 20:49:33 +01:00
glamor_egl_ext.h glamor: Implement PixmapFromBuffers and BuffersFromPixmap 2018-03-05 13:27:49 -05:00
glamor_eglmodule.c (!1930) glamor: fix missing include of dix-config.h 2025-06-03 11:37:34 +02:00
glamor_fbo.c (!1975) glamor: BUG_RETURN*() on pixmap private data 2025-06-03 11:37:31 +02:00
glamor_font.c (!1909) glamor: use calloc() instead of malloc() 2025-06-03 11:37:33 +02:00
glamor_font.h glamor: store old fonts in double width textures. 2016-01-13 11:21:02 +10:00
glamor_glx_provider.c glamor: reject configs using unsupported rgbBits size 2025-01-21 09:16:52 +00:00
glamor_glx_provider.h glamor: Lift the GLX EGL backend from Xwayland 2023-11-07 17:59:24 +03:00
glamor_glyphblt.c (!1975) glamor: BUG_RETURN*() on pixmap private data 2025-06-03 11:37:31 +02:00
glamor_gradient.c (1823) glamor: replace xallocarray() by calloc() 2025-06-03 11:37:36 +02:00
glamor_image.c (!1930) glamor: fix missing include of dix-config.h 2025-06-03 11:37:34 +02:00
glamor_largepixmap.c (!1975) glamor: fix segfault on calloc() failure 2025-06-03 11:37:31 +02:00
glamor_lines.c (!1975) glamor: BUG_RETURN*() on pixmap private data 2025-06-03 11:37:31 +02:00
glamor_picture.c (!1975) glamor: BUG_RETURN*() on pixmap private data 2025-06-03 11:37:31 +02:00
glamor_pixmap.c (!1930) glamor: fix missing include of dix-config.h 2025-06-03 11:37:34 +02:00
glamor_points.c (!1975) glamor: BUG_RETURN*() on pixmap private data 2025-06-03 11:37:31 +02:00
glamor_prepare.c (1823) glamor: replace xallocarray() by calloc() 2025-06-03 11:37:36 +02:00
glamor_prepare.h glamor: Replace fallback preparation code 2014-06-15 22:02:40 +01:00
glamor_priv.h (!1714) glamor: use PixmapDestroy hook 2025-06-03 11:37:33 +02:00
glamor_program.c (!1930) glamor: fix missing include of dix-config.h 2025-06-03 11:37:34 +02:00
glamor_program.h glamor: Make program APIs take DrawablePtrs instead of PixmapPtrs 2023-07-18 09:34:39 +00:00
glamor_rects.c (!1975) glamor: BUG_RETURN*() on pixmap private data 2025-06-03 11:37:31 +02:00
glamor_render.c (!1975) glamor: BUG_RETURN*() on pixmap private data 2025-06-03 11:37:31 +02:00
glamor_segs.c (!1930) glamor: fix missing include of dix-config.h 2025-06-03 11:37:34 +02:00
glamor_spans.c (!1930) glamor: fix missing include of dix-config.h 2025-06-03 11:37:34 +02:00
glamor_sync.c (!1930) glamor: fix missing include of dix-config.h 2025-06-03 11:37:34 +02:00
glamor_text.c (!1975) glamor: BUG_RETURN*() on pixmap private data 2025-06-03 11:37:31 +02:00
glamor_transfer.c (!1975) glamor: BUG_RETURN*() on pixmap private data 2025-06-03 11:37:31 +02: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 (!1930) glamor: fix missing include of dix-config.h 2025-06-03 11:37:34 +02:00
glamor_transform.h glamor: Add and use glamor_drawable_effective_depth helper 2023-07-20 10:14:56 +02:00
glamor_trapezoid.c (!1930) glamor: fix missing include of dix-config.h 2025-06-03 11:37:34 +02:00
glamor_triangles.c (!1962) fb: pict: unexport fbTriangles() 2025-06-03 11:37:32 +02:00
glamor_utils.c (1823) glamor: replace xallocarray() by calloc() 2025-06-03 11:37:36 +02:00
glamor_utils.h (!1975) glamor: NULL-protect GLAMOR_PIXMAP_PRIV_HAS_FBO() 2025-06-03 11:37:31 +02:00
glamor_vbo.c (!1930) glamor: fix missing include of dix-config.h 2025-06-03 11:37:34 +02:00
glamor_window.c (!1930) glamor: fix missing include of dix-config.h 2025-06-03 11:37:34 +02:00
glamor_xv.c (!1975) glamor: BUG_RETURN*() on pixmap private data 2025-06-03 11:37:31 +02:00
meson.build Xephyr: use glamor glx provider 2023-11-07 18:20:48 +03:00