[Webkit-unassigned] [Bug 157665] cross-fade() rendering doesn't match expectation

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 12 22:27:44 PDT 2016


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

--- Comment #2 from Simon Fraser (smfr) <simon.fraser at apple.com> ---
Crossfade draws with:

    context.beginTransparencyLayer(1);

    drawCrossfadeSubimage(context, m_fromImage.get(), CompositeSourceOver, 1 - m_percentage, m_crossfadeSize);
    drawCrossfadeSubimage(context, m_toImage.get(), CompositePlusLighter, m_percentage, m_crossfadeSize);

    context.endTransparencyLayer();

which I would expect to work, unless it fails because of non-linear gamma?

It works correctly if we always go down the "useTransparencyLayer" code path.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160513/5cd0cf16/attachment.html>


More information about the webkit-unassigned mailing list