From cf4294d3a85518a6502ce63a58c0b05d5baab949 Mon Sep 17 00:00:00 2001 From: Richard Wilson Date: Sat, 1 Jul 2006 18:16:05 +0000 Subject: Implement knockout rendering (controlled by 'knockout_rendering' option or Ctrl+F11, default is off). This attempts to minimise the amount of overlapping redraw performed, and thus can drasticly reduce the rendering time of many pages. svn path=/trunk/netsurf/; revision=2682 --- desktop/options.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'desktop/options.c') diff --git a/desktop/options.c b/desktop/options.c index 1787e55a5..d01caad61 100644 --- a/desktop/options.c +++ b/desktop/options.c @@ -101,6 +101,8 @@ int option_max_fetchers_per_host = 5; * is this plus option_max_fetchers. */ int option_max_cached_fetch_handles = 6; +/** Whether to use knockout rendering */ +bool option_knockout_rendering = false; EXTRA_OPTION_DEFINE @@ -142,6 +144,7 @@ struct { OPTION_INTEGER, &option_max_fetchers_per_host }, { "max_cached_fetch_handles", OPTION_INTEGER, &option_max_cached_fetch_handles }, + { "knockout_rendering", OPTION_BOOL, &option_knockout_rendering }, EXTRA_OPTION_TABLE }; -- cgit v1.2.3