netsurf/desktop
John Tytgat 5685170036 Make the knockout plotter calling behaviour optional by added a new entry
'option_knockout' to 'struct plotter_table' which basically is a request
from that plotter backend for the content redraw routine to get called in
such a way that overlapping render areas are avoided as much as possible.

It is up to the content redraw code to actually implement this
option if it is reasonably profitable.  This was and is currently done
explicitly by the html content redraw code.  On top of that the riscos
plotter code was installing the knockout plotter itself for all content
types except plaintext and SVG and this is no longer being done in this
patch.

In more detail:

- desktop/plotters.h: added struct plotter_table::option_knockout
- render/html_redraw.c(html_redraw): if the plotter backend wants the
knockout calling behaviour, install the knockout plotter which will then
call the real backend.  Also check on the return values of clg and clip
plotter calls.
- Plotter backend changes:
  -> no longer plotting in knockout mode:
     - gtk/gtk_print.c: Also removed a 2nd instance of
       "struct plotter_table plot".
     - riscos/save_draw.c
     - riscos/print.c: Also the path plotter function pointer wasn't
       filled in and this is now fixed.
     - pdf/pdf_plotters.c: Removed the flush function as this is
       optional and we only had a dummy implementation there.
  -> remaining to request knockout mode if it makes sense based on the
     content type:
     - gtk/gtk_plotters.c
     - riscos/plotters.c
     - desktop/knockout.c
- riscos/window.c: Removed what's believed an obsolete test on the
  content type which determined to additionally install the
  knockout plotter in front of the real plotter code.

svn path=/trunk/netsurf/; revision=4823
2008-07-30 19:17:27 +00:00
..
401login.h - Include utils/config.h before each WITH_* test entiry enabling/disabling the object file. 2008-07-26 23:42:24 +00:00
browser.c - C89 again 2008-07-29 09:28:45 +00:00
browser.h + Change core to handle different front end click behaviour 2008-06-06 13:58:56 +00:00
cookies.h Update all source code file headers to reflect GPL version 2 only and contain appropriate licence text 2007-08-08 16:16:03 +00:00
frames.c Include headers we need, rather than depending on (optional) features doing so. 2008-07-28 20:32:51 +00:00
frames.h Update all source code file headers to reflect GPL version 2 only and contain appropriate licence text 2007-08-08 16:16:03 +00:00
gui.h First merge of Adam Blokus' GSoC work from his branch 'branches/adamblokus/netsurf'. 2008-07-26 16:01:59 +00:00
history_core.c First merge of Adam Blokus' GSoC work from his branch 'branches/adamblokus/netsurf'. 2008-07-26 16:01:59 +00:00
history_core.h Update all source code file headers to reflect GPL version 2 only and contain appropriate licence text 2007-08-08 16:16:03 +00:00
knockout.c Make the knockout plotter calling behaviour optional by added a new entry 2008-07-30 19:17:27 +00:00
knockout.h Use static for variables local to one source file. 2008-07-29 23:19:24 +00:00
netsurf.c Performance improvements: rather than calling content_clean() every poll, we now call it no more frequently than once every 5 seconds. Additionally, we cache the result of talloc_total_size() in content_clean() rather than calculating it twice. On large documents, this function took 25% of CPU time. This makes the fetching/rendering/scrolling/redrawing of large documents over twice as fast. 2008-07-07 14:05:29 +00:00
netsurf.h Update all source code file headers to reflect GPL version 2 only and contain appropriate licence text 2007-08-08 16:16:03 +00:00
options.c - C89 again 2008-07-29 09:28:45 +00:00
options.h Change meaning of c->redraw_time to be the earliest time to reflow during page asset fetch. Have the time selected vary depending on how long the last reflow took. 2008-03-11 00:14:39 +00:00
plotters.h Make the knockout plotter calling behaviour optional by added a new entry 2008-07-30 19:17:27 +00:00
print.c - Include utils/config.h before each WITH_* test entiry enabling/disabling the object file. 2008-07-26 23:42:24 +00:00
print.h First merge of Adam Blokus' GSoC work from his branch 'branches/adamblokus/netsurf'. 2008-07-26 16:01:59 +00:00
printer.h First merge of Adam Blokus' GSoC work from his branch 'branches/adamblokus/netsurf'. 2008-07-26 16:01:59 +00:00
save_text.c Fix comment typos. 2008-04-14 08:28:55 +00:00
save_text.h Remove text export build config option. Tidy up save_text code. 2008-04-13 21:58:43 +00:00
selection.c - C89 again 2008-07-29 09:28:45 +00:00
selection.h Merged revisions 4282-4285,4288-4293,4297-4298,4307,4309-4313,4322,4324-4680 via svnmerge from 2008-07-16 10:19:30 +00:00
textinput.c Assert first, before acting on selection 2008-07-29 10:13:01 +00:00
textinput.h Initial attempt at implementing data: URLs. Needs cleaning and verifying that I'm using the fetcher API correctly. Appears to work, though. 2008-03-05 14:21:29 +00:00
tree.c - Compiler warning squash 2008-07-26 22:29:15 +00:00
tree.h - Compiler warning squash 2008-07-26 22:29:15 +00:00
version.c