Fix createImageBitmap resize for sRGB gamma wide gamut images |
|||
Issue descriptionLooking at premul/unpremul code in ImageBitmap->GetImageWithAlphaDisposition() it seems that the resize coed path will not work properly for wide gamut ImageBitmaps. We also need layout tests to test this when it is fixed.
,
May 2 2018
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/41fc494c53b5c5f56d05648b1a9f5361f1e91060 commit 41fc494c53b5c5f56d05648b1a9f5361f1e91060 Author: Reza.Zakerinasab <zakerinasab@chromium.org> Date: Wed May 02 21:27:12 2018 Avoid GPU readback in CreateImageBitmap This change list removes GPU readback from scaling and premul code path in ImageBitmap and adds a unit test to verify that. Bug: 740197 , 822724 Change-Id: Iff74a8cd2d2641b1caab275c22bf3384053b27d2 Reviewed-on: https://chromium-review.googlesource.com/1035790 Reviewed-by: Justin Novosad <junov@chromium.org> Commit-Queue: Mohammad Reza Zakerinasab <zakerinasab@chromium.org> Cr-Commit-Position: refs/heads/master@{#555558} [modify] https://crrev.com/41fc494c53b5c5f56d05648b1a9f5361f1e91060/third_party/blink/renderer/core/imagebitmap/image_bitmap.cc [modify] https://crrev.com/41fc494c53b5c5f56d05648b1a9f5361f1e91060/third_party/blink/renderer/core/imagebitmap/image_bitmap_test.cc
,
Jul 25
,
Oct 11
This is fixed now. No further action is needed. |
|||
►
Sign in to add a comment |
|||
Comment 1 by zakerinasab@chromium.org
, Mar 16 2018