• Federico Mena Quintero's avatar
    Merge branch 'viewport-with-offsets' · 965d6bb5
    Federico Mena Quintero authored
    This looks like a lot of changes, but in reality it is this:
    
    * Instead of the draw_ctx.set_affine_on_cr() machinery all over the
      place, now DrawingCtx is responsible for maintaining all the
      affines for the temporary compositing surfaces.
    
    * There is no offset for temporary surfaces.  They are assumed to be
      always at (0, 0) in the toplevel viewport's coordinate system.
      We may ensure that temporary surfaces are pixel-aligned at some
      point in the future.
    
    * This lets Handle.render_element_to_viewport() actually work.
    
    * A couple new abstractions: DrawingCtx.with_saved_cr(),
      DrawingCtx.with_saved_matrix().
    
    * This gets us closer to unifying viewports/surfaces/contexts.  Now
      things can call DrawingCtx.create_surface_for_toplevel_viewport()
      instead of creating a surface by hand themselves.
    
    * Lots of cleanups for the big scary DrawingCtx.with_discrete_layer()
    
    This has new tests for librsvg_crate, which are particularly exciting,
    since librsvg_crate/tests/primitives.rs generates reftests
    programatically with Cairo, instead of using reference images.  It may
    be good to test all the primitives here in that fashion.
    965d6bb5
Name
Last commit
Last update
doc Loading commit data...
gdk-pixbuf-loader Loading commit data...
librsvg Loading commit data...
librsvg_crate Loading commit data...
m4 Loading commit data...
po Loading commit data...
rsvg_internals Loading commit data...
tests Loading commit data...
tools Loading commit data...
win32 Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.rustfmt.toml Loading commit data...
ARCHITECTURE.md Loading commit data...
AUTHORS Loading commit data...
COMPILING.md Loading commit data...
CONTRIBUTING.md Loading commit data...
COPYING Loading commit data...
COPYING.LIB Loading commit data...
Cargo.lock Loading commit data...
Cargo.toml Loading commit data...
ChangeLog.old Loading commit data...
INSTALL Loading commit data...
MAINTAINERS Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README.md Loading commit data...
Rsvg-2.0-custom.vala Loading commit data...
Rsvg-2.0.metadata Loading commit data...
acinclude.m4 Loading commit data...
appveyor.yml Loading commit data...
autogen.sh Loading commit data...
cargo-vendor-config Loading commit data...
code-of-conduct.md Loading commit data...
config.h.win32.in Loading commit data...
configure.ac Loading commit data...
glib-tap.mk Loading commit data...
librsvg-uninstalled.pc.in Loading commit data...
librsvg-zip.in Loading commit data...
librsvg.doap Loading commit data...
librsvg.pc.in Loading commit data...
rsvg-convert.1 Loading commit data...
rsvg-convert.c Loading commit data...
rsvg-view.c Loading commit data...
rsvg.symbols Loading commit data...
tap-driver.sh Loading commit data...
tap-test Loading commit data...