[Webkit-unassigned] [Bug 225907] ASSERTION FAILED: m_imageBufferResult->colorSpace() == m_resultColorSpace in FilterEffect::copyPremultipliedResult

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 18 15:02:12 PDT 2021


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

--- Comment #3 from Fujii Hironori <Hironori.Fujii at sony.com> ---
FilterEffect::transformResultColorSpace does nothing if USE(CG). It calls ImageBuffer::transformColorSpace otherwise.
https://github.com/WebKit/WebKit/blob/3de6f842827f19bb0b6de1068d88026e8868cf26/Source/WebCore/platform/graphics/filters/FilterEffect.cpp#L641

There are three problems.

1. ImageBuffer::colorSpace() returns the old color space even after ImageBuffer::transformColorSpace.
2. ImageBufferBackend::colorSpace() returns the old color space even after ImageBuffer::transformColorSpace.
3. convertImagePixels doesn't support color space conversion yet for USE(ACCELERATE) && USE(CG).
   https://github.com/WebKit/WebKit/blob/3de6f842827f19bb0b6de1068d88026e8868cf26/Source/WebCore/platform/graphics/PixelBufferConversion.cpp#L254

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210518/838b112d/attachment-0001.htm>


More information about the webkit-unassigned mailing list