[webkit-dev] image downscaling during decoding

2012-08-13 Thread Anton Obzhirov
Hi, We are looking for ways to improve page loading speed and reduce memory usage for WebKit in general and for GTK port of WebKit in particular. One of the ideas is to implement downscaling of the images during decoding for image elements with rectangle less then original image size. At the

Re: [webkit-dev] image downscaling during decoding

2012-08-13 Thread Ilyes Gouta
Hi, At the moment such images are full decoded to a full size buffer and get downscaled during rendering. WebKit has already a hard coded ImageSource::s_maxPixelsPerDecodedImage value, in WebCode/platform/graphics/ImageSource.cpp which defaults to 1024 * 1024 when WebKit's option

Re: [webkit-dev] image downscaling during decoding

2012-08-13 Thread Allan Sandfeld Jensen
On Monday 13 August 2012, Anton Obzhirov wrote: Hi, We are looking for ways to improve page loading speed and reduce memory usage for WebKit in general and for GTK port of WebKit in particular. One of the ideas is to implement downscaling of the images during decoding for image elements

Re: [webkit-dev] image downscaling during decoding

2012-08-13 Thread Anton Obzhirov
] On Behalf Of Tom Hudson Sent: 13 August 2012 15:00 To: webkit-dev@lists.webkit.org; Anton Obzhirov Subject: Fwd: [webkit-dev] image downscaling during decoding On Mon, Aug 13, 2012 at 9:39 AM, Anton Obzhirov a.obzhi...@samsung.com wrote: We are looking for ways to improve page loading speed

Re: [webkit-dev] image downscaling during decoding

2012-08-13 Thread Anton Obzhirov
- From: Ilyes Gouta [mailto:ilyes.go...@gmail.com] Sent: 13 August 2012 15:37 To: Anton Obzhirov Cc: webkit-dev@lists.webkit.org Subject: Re: [webkit-dev] image downscaling during decoding Hi, At the moment such images are full decoded to a full size buffer and get downscaled during rendering

Re: [webkit-dev] image downscaling during decoding

2012-08-13 Thread Ilyes Gouta
...@google.com] On Behalf Of Tom Hudson Sent: 13 August 2012 15:00 To: webkit-dev@lists.webkit.org; Anton Obzhirov Subject: Fwd: [webkit-dev] image downscaling during decoding On Mon, Aug 13, 2012 at 9:39 AM, Anton Obzhirov a.obzhi...@samsung.com wrote: We are looking for ways to improve page

Re: [webkit-dev] image downscaling during decoding

2012-08-13 Thread Alpha Lam
- such as by making that new API a mandatory stage in the decoding process. -Ilyes From: tomhud...@google.com [mailto:tomhud...@google.com] On Behalf Of Tom Hudson Sent: 13 August 2012 15:00 To: webkit-dev@lists.webkit.org; Anton Obzhirov Subject: Fwd: [webkit-dev] image downscaling during

Re: [webkit-dev] image downscaling during decoding

2012-08-13 Thread Ilyes Gouta
Of Tom Hudson Sent: 13 August 2012 15:00 To: webkit-dev@lists.webkit.org; Anton Obzhirov Subject: Fwd: [webkit-dev] image downscaling during decoding On Mon, Aug 13, 2012 at 9:39 AM, Anton Obzhirov a.obzhi...@samsung.com wrote: We are looking for ways to improve page

Re: [webkit-dev] image downscaling during decoding

2012-08-13 Thread Alpha Lam
...@google.com] On Behalf Of Tom Hudson Sent: 13 August 2012 15:00 To: webkit-dev@lists.webkit.org; Anton Obzhirov Subject: Fwd: [webkit-dev] image downscaling during decoding On Mon, Aug 13, 2012 at 9:39 AM, Anton Obzhirov a.obzhi...@samsung.com wrote: We

Re: [webkit-dev] image downscaling during decoding

2012-08-13 Thread Ilyes Gouta
- such as by making that new API a mandatory stage in the decoding process. -Ilyes From: tomhud...@google.com [mailto:tomhud...@google.com] On Behalf Of Tom Hudson Sent: 13 August 2012 15:00 To: webkit-dev@lists.webkit.org; Anton Obzhirov Subject: Fwd: [webkit-dev] image