aboutsummaryrefslogtreecommitdiff
path: root/shm.c (unfollow)
Commit message (Expand)AuthorLines
2026-09-18shm: clang 23 complains max_pool_size is unused on x86 (which it is)Daniel Eklöf-0/+1
2026-01-04shm: don't bother with xrgb surfaces, always use argbDaniel Eklöf-58/+26
2025-12-17shm: revert part of 299186a6547f6e038ee6f3822caf9a0fdfabceefDaniel Eklöf-5/+5
2025-10-10render: when double-buffering, pre-apply previous frame's damage earlyDaniel Eklöf-4/+20
2025-10-05shm: page-align the memfd size (also needed for GPU direct import)Daniel Eklöf-4/+8
2025-10-05config: add tweak.min-stride-alignmentDaniel Eklöf-1/+16
2025-07-21shm: don't set pixman_fmt_without_alpha twiceDaniel Eklöf-1/+1
2025-05-03config: tweak.surface-bit-depth: add support for 16-bit surfacesDaniel Eklöf-8/+45
2025-05-01config: tweak.surface-bit-depth now defaults to 'auto'Daniel Eklöf-3/+12
2025-05-01config: tweak.surface-bit-depth now defaults to 'auto'Daniel Eklöf-3/+12
2025-03-05render: gamma-correct blendingDaniel Eklöf-4/+76
2025-01-22shm: codespell: re-using -> reusingDaniel Eklöf-1/+1
2024-09-21shm: fix compilation when FORCED_DOUBLE_BUFFERING is enabledDaniel Eklöf-2/+2
2024-07-30notify: don't close FD 0Daniel Eklöf-1/+1
2024-06-24shm: discard shm buffers with mis-matching alpha-settingDaniel Eklöf-1/+3
2024-05-22shm: minor optimizationDaniel Eklöf-1/+1
2024-02-21shm: use XRGB surfaces when we know we wont be using transparencyDaniel Eklöf-8/+13
2024-02-06Don't use fancy Unicode quotes, stick to ASCIIDaniel Eklöf-4/+4
2024-01-25Replace unchecked allocations with calls to xmalloc.h functionsCraig Barnes-1/+1
2023-10-12shm: memfd_create: fallback to not using MFD_NOEXEC_SEALDaniel Eklöf-5/+16
2023-10-10render: more fine-grained wayland surface damage trackingDaniel Eklöf-3/+11
2023-10-08shm: move definition of FOOT_MFD_FLAGS to the topDaniel Eklöf-5/+6
2023-10-05shm: if defined, set MFD_NOEXEC_SEAL flag for memfd_create6t8k-1/+6
2023-10-03Codespell fixesDaniel Eklöf-1/+1
2023-10-03Codespell fixesDaniel Eklöf-1/+1
2022-09-23render: fix application of old scroll damage when double bufferingDaniel Eklöf-3/+0
2022-04-16shm: add shm_did_not_use_buffer()Daniel Eklöf-0/+7
2022-01-15replace gettimeofday with clock_gettimePranjal Kole-40/+43
2021-12-18shm: get_buffer(): make sure buffer->busy is setDaniel Eklöf-10/+19
2021-10-04fix crashes when resizing after CSD enabled at runtime with csd.size = 0feeptr-1/+3
2021-07-18shm: get_many(): allow “NULL” buffers - buffers where width or height is 0Daniel Eklöf-0/+4
2021-07-17shm: chain_free: BUG() if there are buffers remaining after purgeDaniel Eklöf-0/+11
2021-07-17shm: get_buffer: purge mismatching buffers in first buffer iterationDaniel Eklöf-26/+6
2021-07-17shm: refactor: move away from a single, global, buffer listDaniel Eklöf-103/+112
2021-07-17shm: remove deferred buffers from main list immediatelyDaniel Eklöf-53/+90
2021-07-17shm: replace 'locked' attribute with a ref-counterDaniel Eklöf-44/+50
2021-07-17shm: we may exit with busy buffers remaining (seen on KDE)Daniel Eklöf-7/+21
2021-07-17shm: move ‘size’ to the private buffer structDaniel Eklöf-15/+16
2021-07-17shm: rename buffer.mmapped to buffer.dataDaniel Eklöf-8/+10
2021-07-17shm: split up buffer struct into internal/private and public partsDaniel Eklöf-79/+126
2021-07-15shm: codespellDaniel Eklöf-1/+1
2021-07-15shm: auto-purge when we have multiple buffers eligible for re-useDaniel Eklöf-0/+9
2021-07-15shm: add shm_get_many() - allows buffers to share a single poolDaniel Eklöf-120/+218
2021-07-14shm: reset buffer pool FD when we close itDaniel Eklöf-0/+1
2021-07-11shm: close pool FD if buffer doesn’t support SHM scrollingDaniel Eklöf-1/+6
2021-05-12shm: clear buffer’s dirty region before returning a cached bufferDaniel Eklöf-0/+1
2021-05-12shm: set ‘age’ in newly allocated buffers to something largeDaniel Eklöf-1/+1
2021-05-12shm: free scroll damage before returning cached bufferDaniel Eklöf-0/+2
2021-05-12render: code cleanup, log double buffering timeDaniel Eklöf-1/+1
2021-05-12shm: add damage tracking to bufferDaniel Eklöf-0/+5
2021-05-12shm: track busy buffers’ age, and add compile-time option to force double bufferingDaniel Eklöf-11/+26
2021-01-23shm: don’t check for __i386__ and __x86_64__ - there are other architectures out thereDaniel Eklöf-11/+11
2021-01-23shm: unbreak build without memfd_createJan Beich-2/+12
2021-01-23shm: disable fallocate optimization if not supportedJan Beich-1/+7
2021-01-23shm: silence -Wunused-function on i386Jan Beich-0/+2
2021-01-23shm: don’t check for __i386__ and __x86_64__ - there are other architectures out thereDaniel Eklöf-11/+11
2021-01-23shm: unbreak build without memfd_createJan Beich-2/+12
2021-01-23shm: disable fallocate optimization if not supportedJan Beich-1/+7
2021-01-23shm: silence -Wunused-function on i386Jan Beich-0/+2
2021-01-16debug: rename assert() to xassert(), to avoid clashing with <assert.h>Craig Barnes-24/+24
2021-01-16Print stack trace on assert() failure or when calling fatal_error()Craig Barnes-1/+1
2020-12-07shm: fix badly indented function return typeDaniel Eklöf-1/+1
2020-10-13shm: MAP_UNINITIALIZED is a linux only mmap flagDaniel Eklöf-0/+4
2020-10-10selection: use appropriate check for PRIMARY pasteSergey Nazaryev-674/+237
2020-10-10shm: MAP_UNINITIALIZED is a linux only mmap flagDaniel Eklöf-0/+4
2020-08-25fix some buggy comparisons relating to signed/unsigned typesCraig Barnes-2/+4
2020-08-23Cast printf formatter %p arguments to void*Daniel Eklöf-4/+4
2020-08-11shm: don't even try to punch a memfd hole in 32-bitDaniel Eklöf-0/+6
2020-08-08Convert most dynamic allocations to use functions from xmalloc.hCraig Barnes-1/+2
2020-08-07Replace GCC "unused" and "format" attributes with portable macrosCraig Barnes-1/+2
2020-06-04render: re-write cell clipping to use pixman destination clippingDaniel Eklöf-11/+23
2020-04-18shm: #ifdef conditional code to measure total size of SHM allocationsDaniel Eklöf-0/+20
2020-04-03shm: memfd seal failures are not fatal errorsDaniel Eklöf-1/+1
2020-03-26conf: max-shm-pool-size-mb=0 now disables SHM scrollingDaniel Eklöf-7/+6
2020-03-25shm: make max pool size user configurable (via a 'tweak' setting)Daniel Eklöf-11/+21
2020-03-25shm: handle ftruncate failureDaniel Eklöf-1/+5
2020-03-25shm: seal the memfdDaniel Eklöf-0/+9
2020-03-25shm: scroll: keep shm pool around, and fix its size at max allowedDaniel Eklöf-124/+129
2020-03-24shm: scroll: implement offset wrap-aroundDaniel Eklöf-41/+152
2020-03-23shm: shm_scroll(): initial implementation of reverse scrollingDaniel Eklöf-8/+92
2020-03-23shm: scroll: move top/bottom region handling from renderer into shmDaniel Eklöf-6/+43
2020-03-23shm: add shm_can_scroll()Daniel Eklöf-0/+7
2020-03-22shm: print performance warning when FALLOC_FL_PUNCH_HOLE isn't supportedDaniel Eklöf-3/+6
2020-03-22shm: verify the system supports FALLOC_FL_PUNCH_HOLEDaniel Eklöf-0/+12
2020-03-22shm: scroll: no need to instantiate a new buffer when ftruncate() failsDaniel Eklöf-21/+1
2020-03-22shm: new function, shm_scroll()Daniel Eklöf-68/+199
2020-03-18shm: log size of purged bufferDaniel Eklöf-2/+3
2020-03-10shm: we don't really handle SHM failures, so just abort()Daniel Eklöf-0/+2
2020-03-10shm: mmap returns MAP_FAILED, so use that as guard valueDaniel Eklöf-2/+2
2020-03-10shm: set pool_fd=1 after closing it, to avoid double-closing on errorDaniel Eklöf-1/+1
2020-03-10shm: try to mmap with MAP_UNINITIALIZEDDaniel Eklöf-1/+2
2020-03-10shm: log errno error message tooDaniel Eklöf-1/+1
2020-03-01shm: log 'size' when failing to fallocate()Daniel Eklöf-1/+1
2020-02-25shm: handle EINTR in posix_fallocate()Daniel Eklöf-1/+4
2020-02-15shm: prefer posix_fallocate over ftruncateDaniel Eklöf-3/+14
2019-12-01fcft: include <fcft/fcft.h>, and use fcft/stride.h instead of local copyDaniel Eklöf-1/+1
2019-11-17tllist: is now an external "library", so use <> includesDaniel Eklöf-1/+2
2019-11-05scan-build: fix a couple of minor warnings from a scan-build runDaniel Eklöf-1/+1
2019-11-02shm: purge buffers *before* we (maybe) return one from the cacheDaniel Eklöf-16/+16
2019-11-02shm: automatic buffer purging is now delayed one cycleDaniel Eklöf-5/+20