[Webkit-unassigned] [Bug 90375] Parallel image decoders

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 2 06:07:12 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=90375





--- Comment #62 from Huang Dongsung <luxtella at company100.net>  2012-08-02 06:07:10 PST ---
Created an attachment (id=156058)
 --> (https://bugs.webkit.org/attachment.cgi?id=156058&action=review)
Parallel image decoders based on Lam's preparation patches.

This is WIP. You can build this patch on Qt. I think this patch can be compiled on other ports but I have not tested yet.

I merged parallel image decoders with Lam's preparation patches.

In this patch, only draw() and nativeImagePtr() can trigger parallel image decoding.

The difference between previous and this parallel image decoders implementation is that ImageSource does not delegate ImageDecoder to ParallelImageDecoder in this patch.
ParallelImageDecoder creates its own ImageDecoder in ParallelImageDecoder::initialize().
So, the main thread is free to access ImageSource::m_imageDecoder.
When we call meta data query functions to BitmapImage, BitmapImage calls the functions of ImageSource and ImageSource calls the functions of ImageDecoder.

I am curious whether this implementation can get along with Lam's differed image decoder.
I welcome all folks' opinion. :)

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list