Re: resolution independent px

"Sebastian Geerken" <[email protected]>
Newsgroups gmane.comp.web.dillo.devel
Message-ID <[email protected]>
On Fr, Jan 16, 2015, Jorge Arellano Cid wrote:
> On Fri, Jan 16, 2015 at 08:50:13AM +0100, Johannes Hofmann wrote:
> > Hi,
> > 
> > attached is a patch that would enable resolution independent
> > handling of px as described in [1].
> > It would result in roughly equally sized images on high and low
> > resolution devices at the cost of a higher overhead for additional
> > image scaling.
> 
>   A long time ago, image scaling was relatively low overhead,
> but since dillo got correct gamma correction, it became much
> more expensive.

It is not so much gamma correction, but some improvements before. BTW:
if you look at dw/fltkimgbuf.cc, you see that the old fast code is
still available, by setting scaleMode to SIMPLE. Perhaps this should
be configurable (should be simple), or depending on estimated CPU
performance.

If you run dillo (3.1-dev, not 3.0.4.1) with the attached page, change
the window width, and compare the results with Firefox, you'll notice
that Firefox responds a bit faster. I'm not sure whether Firefox
scales faster, but in other circumstances I've noticed that Firefox
seems to apply two scaling algorithms: one simple but fast one, with
higher priority, and a better but slower one, which is applied with
lower priority.

Sebastian

_______________________________________________
Dillo-dev mailing list
[email protected]
http://lists.dillo.org/cgi-bin/mailman/listinfo/dillo-dev
slow-scaling.html (text/html, 123 B)
<img src="http://upload.wikimedia.org/wikipedia/commons/7/7e/Essen_Werden_-_Sankt_Lucius_01_ies.jpg" style="width: 100%"/>
signature.asc (application/pgp-signature, 490 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQEcBAEBAgAGBQJUuTKCAAoJEAw7+YHB+ZL6wcAH/311rlk77G2OcmLNyfku9mAK
mqmDGaZ5KyXL3Nc79wT4ZXgkHZ17V6HA1DZ6c7G8AuxzC3bQNSnal4cuHvpd5T7I
3bwoJmBS9jEiGAuUcdTSki12VHC8cUakhWTTOjJlg+ZH1BVmXekA7nzhqAPQ33wQ
UPY1QSuNK7OH0NflRvYTJwFrOl7YU7fCm38FG7OgGnjF5tLV1zQrrbJddLLIamHm
+q2I/2l8gubpbusYwJu7tzFAZqGmb6SEUIhF6+pJSVg22de29QNhOo+d5dHgiz7y
F2w1oYuOfpWcHsBEtdBpxxyTuRr9w9e6lD2dkRo9PHOCuNUNT3/ECd52jtu21FA=
=1v9f
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.