broadway: Send diffs of node trees

Desktop / GNOME / GTK - Alexander Larsson [redhat.com] - 30 November 2017 20:57 UTC

Reusing pre-created nodes is a lot faster both in terms of dom modifications and of transfer sizes.

521b09cc96 broadway: Send diffs of node trees
gdk/broadway/broadway-output.c | 52 +++++++++-
gdk/broadway/broadway-protocol.h | 2 +
gdk/broadway/broadway-server.c | 39 ++++++--
gdk/broadway/broadway-server.h | 6 +-
gdk/broadway/broadway.js | 204 +++++++++++++++++++++++----------------
gdk/broadway/broadwayd.c | 7 +-
gsk/gskbroadwayrenderer.c | 130 ++++++++++++++-----------
7 files changed, 279 insertions(+), 161 deletions(-)

Upstream: git.gnome.org


  • Share