Refer to the following design document for detailed explanation: https://docs.google.com/document/pub?id=12gf7MhNHfupeR3GdRF-h2Vzg86viCbwXq8_JByHKlg0
Created attachment 151601 [details] Patch
This patch makes ImageElement and SVGImageElement be able to decode a image using parallel image decoder. We will summit another patch that the background, mask and border image of CSS box model can use parallel image decoder soon.
Created attachment 151864 [details] Patch
Created attachment 151865 [details] Patch
(In reply to comment #4) > Created an attachment (id=151865) [details] > Patch Oops. I am sorry this patch belongs to Bug 90869!
(In reply to comment #2) > This patch makes ImageElement and SVGImageElement be able to decode a image using parallel image decoder. > > We will summit another patch that the background, mask and border image of CSS box model can use parallel image decoder soon. We uploaded the patch in Bug 91203
Comment on attachment 151864 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=151864&action=review > Source/WebCore/CMakeLists.txt:1203 > + platform/graphics/ParallelImageDecoder.cpp Nit : Please add file by alphabetical order. > Source/WebCore/Target.pri:1106 > + platform/graphics/RetainedModeBitmapImage.cpp \ ditto. > Source/WebCore/Target.pri:2246 > + platform/graphics/RetainedModeBitmapImage.h \ ditto.
Created attachment 152868 [details] Patch
(In reply to comment #7) > (From update of attachment 151864 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=151864&action=review > > > Source/WebCore/CMakeLists.txt:1203 > > + platform/graphics/ParallelImageDecoder.cpp > > Nit : Please add file by alphabetical order. > > > Source/WebCore/Target.pri:1106 > > + platform/graphics/RetainedModeBitmapImage.cpp \ > > ditto. > > > Source/WebCore/Target.pri:2246 > > + platform/graphics/RetainedModeBitmapImage.h \ > > ditto. Thanks. Done!
Created attachment 152891 [details] Patch
(In reply to comment #10) > Created an attachment (id=152891) [details] > Patch Changed the threshold to 300 * 300.
Created attachment 153219 [details] Patch
Created attachment 153220 [details] Patch
Created attachment 153221 [details] Patch
(In reply to comment #14) > Created an attachment (id=153221) [details] > Patch Amended RenderLayerBacking in order to not decode the image repeatedly. After sending the decoding complete image to each platform accelerated compositing tree, RenderLayerBacking should not decode again.
Created attachment 154506 [details] Patch
Created attachment 154507 [details] Patch
(In reply to comment #17) > Created an attachment (id=154507) [details] > Patch Rebased to the latest revision.
Created attachment 154871 [details] Patch
(In reply to comment #19) > Created an attachment (id=154871) [details] > Patch Fix the bug to cause crash.
Comment on attachment 154871 [details] Patch Clearing review flag on patches from before 2014. If this patch is still relevant, please reset the r? flag.