aboutsummaryrefslogtreecommitdiff
path: root/shm.c (follow)
Commit message (Expand)AuthorAgeLines
* render: more fine-grained wayland surface damage trackingDaniel Eklöf2023-10-10-3/+11
* shm: move definition of FOOT_MFD_FLAGS to the topDaniel Eklöf2023-10-08-5/+6
* shm: if defined, set MFD_NOEXEC_SEAL flag for memfd_create6t8k2023-10-05-1/+6
* Codespell fixesDaniel Eklöf2023-10-03-1/+1
* Codespell fixesDaniel Eklöf2023-10-03-1/+1
* render: fix application of old scroll damage when double bufferingDaniel Eklöf2022-09-23-3/+0
* shm: add shm_did_not_use_buffer()Daniel Eklöf2022-04-16-0/+7
* replace gettimeofday with clock_gettimePranjal Kole2022-01-15-40/+43
* shm: get_buffer(): make sure buffer->busy is setDaniel Eklöf2021-12-18-10/+19
* fix crashes when resizing after CSD enabled at runtime with csd.size = 0feeptr2021-10-04-1/+3
* shm: get_many(): allow “NULL” buffers - buffers where width or height is 0Daniel Eklöf2021-07-18-0/+4
* shm: chain_free: BUG() if there are buffers remaining after purgeDaniel Eklöf2021-07-17-0/+11
* shm: get_buffer: purge mismatching buffers in first buffer iterationDaniel Eklöf2021-07-17-26/+6
* shm: refactor: move away from a single, global, buffer listDaniel Eklöf2021-07-17-103/+112
* shm: remove deferred buffers from main list immediatelyDaniel Eklöf2021-07-17-53/+90
* shm: replace 'locked' attribute with a ref-counterDaniel Eklöf2021-07-17-44/+50
* shm: we may exit with busy buffers remaining (seen on KDE)Daniel Eklöf2021-07-17-7/+21
* shm: move ‘size’ to the private buffer structDaniel Eklöf2021-07-17-15/+16
* shm: rename buffer.mmapped to buffer.dataDaniel Eklöf2021-07-17-8/+10
* shm: split up buffer struct into internal/private and public partsDaniel Eklöf2021-07-17-79/+126
* shm: codespellDaniel Eklöf2021-07-15-1/+1
* shm: auto-purge when we have multiple buffers eligible for re-useDaniel Eklöf2021-07-15-0/+9
* shm: add shm_get_many() - allows buffers to share a single poolDaniel Eklöf2021-07-15-120/+218
* shm: reset buffer pool FD when we close itDaniel Eklöf2021-07-14-0/+1
* shm: close pool FD if buffer doesn’t support SHM scrollingDaniel Eklöf2021-07-11-1/+6
* shm: clear buffer’s dirty region before returning a cached bufferDaniel Eklöf2021-05-12-0/+1
* shm: set ‘age’ in newly allocated buffers to something largeDaniel Eklöf2021-05-12-1/+1
* shm: free scroll damage before returning cached bufferDaniel Eklöf2021-05-12-0/+2
* render: code cleanup, log double buffering timeDaniel Eklöf2021-05-12-1/+1
* shm: add damage tracking to bufferDaniel Eklöf2021-05-12-0/+5
* shm: track busy buffers’ age, and add compile-time option to force double bufferingDaniel Eklöf2021-05-12-11/+26
* shm: don’t check for __i386__ and __x86_64__ - there are other architectures out thereDaniel Eklöf2021-01-23-11/+11
* shm: unbreak build without memfd_createJan Beich2021-01-23-2/+12
* shm: disable fallocate optimization if not supportedJan Beich2021-01-23-1/+7
* shm: silence -Wunused-function on i386Jan Beich2021-01-23-0/+2
* debug: rename assert() to xassert(), to avoid clashing with <assert.h>Craig Barnes2021-01-16-24/+24
* Print stack trace on assert() failure or when calling fatal_error()Craig Barnes2021-01-16-1/+1
* shm: fix badly indented function return typeDaniel Eklöf2020-12-07-1/+1
* shm: MAP_UNINITIALIZED is a linux only mmap flagDaniel Eklöf2020-10-10-0/+4
* fix some buggy comparisons relating to signed/unsigned typesCraig Barnes2020-08-25-2/+4
* Cast printf formatter %p arguments to void*Daniel Eklöf2020-08-23-4/+4
* shm: don't even try to punch a memfd hole in 32-bitDaniel Eklöf2020-08-11-0/+6
* Convert most dynamic allocations to use functions from xmalloc.hCraig Barnes2020-08-08-1/+2
* Replace GCC "unused" and "format" attributes with portable macrosCraig Barnes2020-08-07-1/+2
* render: re-write cell clipping to use pixman destination clippingDaniel Eklöf2020-06-04-11/+23
* shm: #ifdef conditional code to measure total size of SHM allocationsDaniel Eklöf2020-04-18-0/+20
* shm: memfd seal failures are not fatal errorsDaniel Eklöf2020-04-03-1/+1
* conf: max-shm-pool-size-mb=0 now disables SHM scrollingDaniel Eklöf2020-03-26-7/+6
* shm: make max pool size user configurable (via a 'tweak' setting)Daniel Eklöf2020-03-25-11/+21
* shm: handle ftruncate failureDaniel Eklöf2020-03-25-1/+5
* shm: seal the memfdDaniel Eklöf2020-03-25-0/+9
* shm: scroll: keep shm pool around, and fix its size at max allowedDaniel Eklöf2020-03-25-124/+129
* shm: scroll: implement offset wrap-aroundDaniel Eklöf2020-03-24-41/+152
* shm: shm_scroll(): initial implementation of reverse scrollingDaniel Eklöf2020-03-23-8/+92
* shm: scroll: move top/bottom region handling from renderer into shmDaniel Eklöf2020-03-23-6/+43
* shm: add shm_can_scroll()Daniel Eklöf2020-03-23-0/+7
* shm: print performance warning when FALLOC_FL_PUNCH_HOLE isn't supportedDaniel Eklöf2020-03-22-3/+6
* shm: verify the system supports FALLOC_FL_PUNCH_HOLEDaniel Eklöf2020-03-22-0/+12
* shm: scroll: no need to instantiate a new buffer when ftruncate() failsDaniel Eklöf2020-03-22-21/+1
* shm: new function, shm_scroll()Daniel Eklöf2020-03-22-68/+199
* shm: log size of purged bufferDaniel Eklöf2020-03-18-2/+3
* shm: we don't really handle SHM failures, so just abort()Daniel Eklöf2020-03-10-0/+2
* shm: mmap returns MAP_FAILED, so use that as guard valueDaniel Eklöf2020-03-10-2/+2
* shm: set pool_fd=1 after closing it, to avoid double-closing on errorDaniel Eklöf2020-03-10-1/+1
* shm: try to mmap with MAP_UNINITIALIZEDDaniel Eklöf2020-03-10-1/+2
* shm: log errno error message tooDaniel Eklöf2020-03-10-1/+1
* shm: log 'size' when failing to fallocate()Daniel Eklöf2020-03-01-1/+1
* shm: handle EINTR in posix_fallocate()Daniel Eklöf2020-02-25-1/+4
* shm: prefer posix_fallocate over ftruncateDaniel Eklöf2020-02-15-3/+14
* fcft: include <fcft/fcft.h>, and use fcft/stride.h instead of local copyDaniel Eklöf2019-12-01-1/+1
* tllist: is now an external "library", so use <> includesDaniel Eklöf2019-11-17-1/+2
* scan-build: fix a couple of minor warnings from a scan-build runDaniel Eklöf2019-11-05-1/+1
* shm: purge buffers *before* we (maybe) return one from the cacheDaniel Eklöf2019-11-02-16/+16
* shm: automatic buffer purging is now delayed one cycleDaniel Eklöf2019-11-02-5/+20
* shm: add shm_purge()Daniel Eklöf2019-11-01-0/+17
* shm: purge unused buffersDaniel Eklöf2019-11-01-7/+28
* shm: associate a 'cookie' with each bufferDaniel Eklöf2019-11-01-4/+10
* shm: get_buffer(): remove 'copies' argument; it's not usedDaniel Eklöf2019-11-01-3/+1
* shm: add debug logging of how large the allocated memory buffer isDaniel Eklöf2019-11-01-0/+3
* shm: fix name of memfdDaniel Eklöf2019-11-01-1/+1
* refactor: break out stride calculation to new functionDaniel Eklöf2019-08-18-4/+2
* shm/render: there's no need to have one pixman image per threadDaniel Eklöf2019-08-16-24/+7
* Remove all references to cairo; we now use pixman onlyDaniel Eklöf2019-08-16-52/+8
* wip: render background and glyphs using pixmanDaniel Eklöf2019-08-16-1/+27
* wip: initial multithreaded rendererDaniel Eklöf2019-07-29-21/+48
* shm: width/height must matchDaniel Eklöf2019-06-12-0/+3
* initial commit: maps an XDG toplevel windowDaniel Eklöf2019-06-12-0/+163