• Ell's avatar
    buffer: in swap backend, fix queued compressed-tile cost · a79978a4
    Ell authored
    In GeglTileBackendSwap, when compressing a queued tile while
    waiting for sufficient queue space, we allocate a tile-sized buffer
    to hold the compressed data (since we don't know the compressed
    data size in advance), hence the cost of the compressed tile in the
    queue is equal to the full tile size.  However, we would previously
    take its cost to be the compressed data size, which can be much
    lower, causing us to over-fill the queue.  Use the full tile size
    as the cost of queued compressed tiles to fix that.
    
    Furthermore, don't compress cloned queued tiles, whose cost is less
    than their data size, since this would increase their cost (these
    tiles will still be compressed upon writing.)
    a79978a4
Name
Last commit
Last update
..
.gitignore Loading commit data...
Makefile.am Loading commit data...
gegl-algorithms-2x2-downscale.inc Loading commit data...
gegl-algorithms-bilinear.inc Loading commit data...
gegl-algorithms-boxfilter.inc Loading commit data...
gegl-algorithms.c Loading commit data...
gegl-algorithms.h Loading commit data...
gegl-buffer-access.c Loading commit data...
gegl-buffer-backend.h Loading commit data...
gegl-buffer-config.c Loading commit data...
gegl-buffer-config.h Loading commit data...
gegl-buffer-enums.c Loading commit data...
gegl-buffer-enums.h Loading commit data...
gegl-buffer-formats.h Loading commit data...
gegl-buffer-index.h Loading commit data...
gegl-buffer-iterator-private.h Loading commit data...
gegl-buffer-iterator.c Loading commit data...
gegl-buffer-iterator.h Loading commit data...
gegl-buffer-iterator2.c Loading commit data...
gegl-buffer-iterator2.h Loading commit data...
gegl-buffer-linear.c Loading commit data...
gegl-buffer-load.c Loading commit data...
gegl-buffer-matrix2.c Loading commit data...
gegl-buffer-matrix2.h Loading commit data...
gegl-buffer-private.h Loading commit data...
gegl-buffer-save.c Loading commit data...
gegl-buffer-swap-private.h Loading commit data...
gegl-buffer-swap.c Loading commit data...
gegl-buffer-swap.h Loading commit data...
gegl-buffer-types.h Loading commit data...
gegl-buffer.c Loading commit data...
gegl-buffer.h Loading commit data...
gegl-compression-nop.c Loading commit data...
gegl-compression-nop.h Loading commit data...
gegl-compression-rle.c Loading commit data...
gegl-compression-rle.h Loading commit data...
gegl-compression-zlib.c Loading commit data...
gegl-compression-zlib.h Loading commit data...
gegl-compression.c Loading commit data...
gegl-compression.h Loading commit data...
gegl-memory-private.h Loading commit data...
gegl-memory.c Loading commit data...
gegl-memory.h Loading commit data...
gegl-rectangle.c Loading commit data...
gegl-rectangle.h Loading commit data...
gegl-sampler-cubic.c Loading commit data...
gegl-sampler-cubic.h Loading commit data...
gegl-sampler-linear.c Loading commit data...
gegl-sampler-linear.h Loading commit data...
gegl-sampler-lohalo.c Loading commit data...
gegl-sampler-lohalo.h Loading commit data...
gegl-sampler-nearest.c Loading commit data...
gegl-sampler-nearest.h Loading commit data...
gegl-sampler-nohalo.c Loading commit data...
gegl-sampler-nohalo.h Loading commit data...
gegl-sampler.c Loading commit data...
gegl-sampler.h Loading commit data...
gegl-scratch-private.h Loading commit data...
gegl-scratch.c Loading commit data...
gegl-scratch.h Loading commit data...
gegl-tile-alloc.c Loading commit data...
gegl-tile-alloc.h Loading commit data...
gegl-tile-backend-buffer.c Loading commit data...
gegl-tile-backend-buffer.h Loading commit data...
gegl-tile-backend-file-async.c Loading commit data...
gegl-tile-backend-file.h Loading commit data...
gegl-tile-backend-ram.c Loading commit data...
gegl-tile-backend-ram.h Loading commit data...
gegl-tile-backend-swap.c Loading commit data...
gegl-tile-backend-swap.h Loading commit data...
gegl-tile-backend.c Loading commit data...
gegl-tile-backend.h Loading commit data...
gegl-tile-handler-cache.c Loading commit data...
gegl-tile-handler-cache.h Loading commit data...
gegl-tile-handler-chain.c Loading commit data...
gegl-tile-handler-chain.h Loading commit data...
gegl-tile-handler-empty.c Loading commit data...
gegl-tile-handler-empty.h Loading commit data...
gegl-tile-handler-log.c Loading commit data...
gegl-tile-handler-log.h Loading commit data...
gegl-tile-handler-private.h Loading commit data...
gegl-tile-handler-zoom.c Loading commit data...
gegl-tile-handler-zoom.h Loading commit data...
gegl-tile-handler.c Loading commit data...
gegl-tile-handler.h Loading commit data...
gegl-tile-source.c Loading commit data...
gegl-tile-source.h Loading commit data...
gegl-tile-storage.c Loading commit data...
gegl-tile-storage.h Loading commit data...
gegl-tile.c Loading commit data...
gegl-tile.h Loading commit data...