• 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
bin Loading commit data...
build/buildbot Loading commit data...
docs Loading commit data...
examples Loading commit data...
gcut Loading commit data...
gegl Loading commit data...
libs Loading commit data...
m4 Loading commit data...
opencl Loading commit data...
operations Loading commit data...
perf Loading commit data...
po Loading commit data...
seamless-clone Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.kateconfig Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
COPYING.LESSER Loading commit data...
HACKING Loading commit data...
MAINTAINERS Loading commit data...
Makefile.am Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
gegl-uninstalled.pc.in Loading commit data...
gegl.doap Loading commit data...
gegl.pc.in Loading commit data...