Go to file
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
!NetSurf Merged revisions 4282-4285,4288-4293,4297-4298,4307,4309-4313,4322,4324-4431,4434-4494,4500-4508,4515,4517,4525-4545,4548-4555,4558-4572,4574-4576,4579,4582-4615,4618-4628,4630-4634,4636-4641,4643-4654,4656-4675,4677,4679-4685,4687-4750 via svnmerge from 2008-07-26 17:30:26 +00:00
beos Make user agent string and default homepage configurable from Makefile.config 2008-07-29 15:10:31 +00:00
content Constify content_type_name & content_status_name 2008-07-30 00:54:43 +00:00
css more obvious C89 2008-07-29 09:25:17 +00:00
debug Fix callback prototype 2008-05-26 10:40:00 +00:00
desktop Make the knockout plotter calling behaviour optional by added a new entry 2008-07-30 19:17:27 +00:00
Docs Fix typos, fix libharu address and update homepage setting. 2008-07-30 12:02:10 +00:00
gtk Make the knockout plotter calling behaviour optional by added a new entry 2008-07-30 19:17:27 +00:00
image C89 again 2008-07-29 09:25:54 +00:00
pdf Make the knockout plotter calling behaviour optional by added a new entry 2008-07-30 19:17:27 +00:00
render Make the knockout plotter calling behaviour optional by added a new entry 2008-07-30 19:17:27 +00:00
riscos Make the knockout plotter calling behaviour optional by added a new entry 2008-07-30 19:17:27 +00:00
testres First merge of Adam Blokus' GSoC work from his branch 'branches/adamblokus/netsurf'. 2008-07-26 16:01:59 +00:00
utils Restore accidentally removed line 2008-07-29 15:36:54 +00:00
COPYING Clarify licensing arrangements 2007-08-09 15:32:39 +00:00
Makefile ASSEMBLE needs no padding. 2008-07-29 20:55:26 +00:00
Makefile.config Make user agent string and default homepage configurable from Makefile.config 2008-07-29 15:10:31 +00:00
Makefile.sources Fix wrap to 80 chars (mostly RISC OS section). Make GTK dialogs go in with GTK section, like RISC OS configure stuff. Move PDF bit to genearl core area. 2008-07-29 09:45:41 +00:00
netsurf Remove bashism and improve nsgtk launcher shell script, add simple BUILDING-GTK document. 2007-02-06 16:52:47 +00:00