• Ell's avatar
    app: add "direct" parameter to gimp_projection_flush_now() · dac9bfe3
    Ell authored
    Add a boolean "direct" parameter to gimp_projection_flush_now(),
    which specifies if the projection buffer should only be invalidated
    (FALSE), or rendered directly (TRUE).
    
    Pass TRUE when flushing the projection during painting, so that the
    affected regions are rendered in a single step, instead of tile-by-
    tile.  We previously only invalidated the projection buffer, but
    since we synchronously flush the display right after that, the
    invalidated regions would still get rendered, albeit less
    efficiently.
    
    Likewise, pass TRUE when benchmarking the projection through the
    debug action, and avoid flushing the display, to more accurately
    measure the render time.
    dac9bfe3
Name
Last commit
Last update
..
actions Loading commit data...
config Loading commit data...
core Loading commit data...
dialogs Loading commit data...
display Loading commit data...
file Loading commit data...
gegl Loading commit data...
gui Loading commit data...
menus Loading commit data...
operations Loading commit data...
paint Loading commit data...
pdb Loading commit data...
plug-in Loading commit data...
propgui Loading commit data...
tests Loading commit data...
text Loading commit data...
tools Loading commit data...
vectors Loading commit data...
widgets Loading commit data...
xcf Loading commit data...
.gitignore Loading commit data...
Makefile.am Loading commit data...
about.h Loading commit data...
app.c Loading commit data...
app.h Loading commit data...
errors.c Loading commit data...
errors.h Loading commit data...
gimp-debug.c Loading commit data...
gimp-debug.h Loading commit data...
gimp-intl.h Loading commit data...
gimp-log.c Loading commit data...
gimp-log.h Loading commit data...
gimp-priorities.h Loading commit data...
gimp-version.c Loading commit data...
gimp-version.h Loading commit data...
gimpcore.def Loading commit data...
language.c Loading commit data...
language.h Loading commit data...
main.c Loading commit data...
sanity.c Loading commit data...
sanity.h Loading commit data...
signals.c Loading commit data...
signals.h Loading commit data...
tests.c Loading commit data...
tests.h Loading commit data...
unique.c Loading commit data...
unique.h Loading commit data...