• Debarshi Ray's avatar
    gegl, test-gegl: Split out the code to convert a GeglBuffer to a format · 54b89044
    Debarshi Ray authored
    This code is necessary whenever the validity of a floating point
    GeglBuffer has to be asserted because floating point colour component
    values are inherently not reproducible. Minor errors can creep in due
    to differences in computer architecture, varying Babl conversions or
    other changes in code. These errors don't indicate a bug and will
    cause spurious test failures. Therefore, it's better to convert such
    GeglBuffers into integer values before checksumming. eg., this is
    relevant when a buffer is zoomed by a GeglSampler because the result
    is floating point premultiplied alpha.
    
    Subsequent commits will add a new codec API for GeglBuffer similar to
    those for GdkPixbuf, which is going to offer on-the-fly zooming while
    decoding a bitstream. Therefore, this will be useful for testing those
    code paths.
    
    #63
    54b89044
Name
Last commit
Last update
data Loading commit data...
flatpak Loading commit data...
help Loading commit data...
m4 Loading commit data...
po Loading commit data...
src Loading commit data...
subprojects Loading commit data...
tests Loading commit data...
.gitlab-ci.yml Loading commit data...
.gitmodules Loading commit data...
ARTISTS Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
git.mk Loading commit data...
glib-tap.mk Loading commit data...
gnome-photos.doap Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...
meson_post_install.py Loading commit data...
tap-driver.sh Loading commit data...
tap-test Loading commit data...
template-tap.test.in Loading commit data...
update-authors.sh Loading commit data...