netsurf/render
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
..
box.c - Compiler warning squash 2008-07-26 22:29:15 +00:00
box.h First merge of Adam Blokus' GSoC work from his branch 'branches/adamblokus/netsurf'. 2008-07-26 16:01:59 +00:00
box_construct.c Squash more warnings. 2008-05-26 10:46:45 +00:00
box_normalise.c Improve handling of absolutely positioned table cells. Corrects positioning of "Weather" box contents on BBC homepage. 2008-04-20 15:49:25 +00:00
directory.c Lose spurious * 2008-03-19 17:41:38 +00:00
directory.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
font.h First merge of Adam Blokus' GSoC work from his branch 'branches/adamblokus/netsurf'. 2008-07-26 16:01:59 +00:00
form.c - riscos/gui.c(path_to_url): escape the characters which need to be escaped when converting the host path to file: URL. 2008-04-02 00:43:51 +00:00
form.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
html.c Whoops. Fix BNF to match reality. 2008-07-30 00:58:37 +00:00
html.h First merge of Adam Blokus' GSoC work from his branch 'branches/adamblokus/netsurf'. 2008-07-26 16:01:59 +00:00
html_redraw.c Make the knockout plotter calling behaviour optional by added a new entry 2008-07-30 19:17:27 +00:00
imagemap.c Add rectangle as alias for "rect" 2008-07-29 09:48:08 +00:00
imagemap.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
layout.c Include headers we need, rather than depending on (optional) features doing so. 2008-07-28 20:32:51 +00:00
layout.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
list.c 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
list.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
loosen.c - Compiler warning squash 2008-07-26 22:29:15 +00:00
loosen.h First merge of Adam Blokus' GSoC work from his branch 'branches/adamblokus/netsurf'. 2008-07-26 16:01:59 +00:00
table.c Maybe fix table layout problem caused by r4100. 2008-04-23 10:45:46 +00:00
table.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
textplain.c Include headers we need, rather than depending on (optional) features doing so. 2008-07-28 20:32:51 +00:00
textplain.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