diff options
author | Richard Wilson <rjw@netsurf-browser.org> | 2006-07-01 18:16:05 +0000 |
---|---|---|
committer | Richard Wilson <rjw@netsurf-browser.org> | 2006-07-01 18:16:05 +0000 |
commit | cf4294d3a85518a6502ce63a58c0b05d5baab949 (patch) | |
tree | 86af17af135871cee20434cad3fbfecca9a7f310 /desktop/knockout.h | |
parent | f22838ab626bed6948b18bd6eeb28c8bdf210057 (diff) | |
download | netsurf-cf4294d3a85518a6502ce63a58c0b05d5baab949.tar.gz netsurf-cf4294d3a85518a6502ce63a58c0b05d5baab949.tar.bz2 |
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
Diffstat (limited to 'desktop/knockout.h')
-rw-r--r-- | desktop/knockout.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/desktop/knockout.h b/desktop/knockout.h new file mode 100644 index 000000000..d564ee6f0 --- /dev/null +++ b/desktop/knockout.h @@ -0,0 +1,19 @@ +/* + * This file is part of NetSurf, http://netsurf.sourceforge.net/ + * Licensed under the GNU General Public License, + * http://www.opensource.org/licenses/gpl-license + * Copyright 2006 Richard Wilson <info@tinct.net> + */ + +/** \file + * Knockout rendering (interface). + */ + +#include "netsurf/desktop/plotters.h" + + +bool knockout_plot_start(struct plotter_table *plotter); +bool knockout_plot_end(void); + + +extern const struct plotter_table knockout_plotters; |