RESOLVED FIXED119535
Fall out of simple image layer optimization if the image has EXIF rotation
https://bugs.webkit.org/show_bug.cgi?id=119535
Summary Fall out of simple image layer optimization if the image has EXIF rotation
Tim Horton
Reported 2013-08-06 19:09:06 PDT
We need to transform the image when painting it, so we need to fall out of the optimization. We could do some complicated things to keep the optimization in this case, but it's not a super critical case and the simple image layer optimization is relatively new. <rdar://problem/14071174>
Attachments
patch (8.71 KB, patch)
2013-08-06 19:21 PDT, Tim Horton
no flags
patch (60.09 KB, patch)
2013-08-06 19:33 PDT, Tim Horton
simon.fraser: review+
Tim Horton
Comment 1 2013-08-06 19:09:57 PDT
Conveniently the layer is already the right size/shape, so we really just need to tell RenderLayerBacking to do the right thing.
Tim Horton
Comment 2 2013-08-06 19:21:04 PDT
Tim Horton
Comment 3 2013-08-06 19:33:56 PDT
Tim Horton
Comment 4 2013-08-07 12:52:00 PDT
Benjamin Poulain
Comment 5 2013-08-11 22:04:10 PDT
Wouldn't a ref-test be nicer here?
Tim Horton
Comment 6 2013-08-11 22:15:39 PDT
(In reply to comment #5) > Wouldn't a ref-test be nicer here? Yes; I just borrowed the existing image-orientation test and made it composited, though.
Note You need to log in before you can comment on or make changes to this bug.