On 16/07/18 23:18, Jim Nagel wrote:
> Trying to learn stuff from  http://php.net  is so painful on NetSurf 
> because any page from the site takes ages to load and a further age to 
> scroll.  (Using #4342)
> 
> I'm curious about the mechanisms involved.  Any wisdom, please?

It's because of this SVG being used as a tiled background on the
HTML element:

  http://php.net/images/bg-texture-00.svg

Since its an SVG it bypasses all the optimisations we have
for tiled bitmap redraw.

It also isn't a filled rectangle, its just strokes, so
it doesn't get "knocked out" by our normal rendering
optimisations.

Finally it uses opacity, which wouldn't help either,
although I think we ignore that anyway for now.

It could potentially be optimised by pre-rendering it once
to a bitmap, but it would be a fair amount of effort for
what is a pretty uncommon case.

For now, I'd try just toggling background images off
in the menu for that window, and forcing a redraw
(F12, Return).


http://www.netsurf-browser.org/documentation/guide.html#BrowserWindowMenuDisplayImages

Hope that helps,

-- 
Michael Drake                 https://www.codethink.co.uk/

Reply via email to