[Webkit-unassigned] [Bug 95614] Add support for blendmode to platform code for mac

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 18 14:46:48 PDT 2012


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





--- Comment #10 from Simon Fraser (smfr) <simon.fraser at apple.com>  2012-09-18 14:47:18 PST ---
(From update of attachment 163315)
View in context: https://bugs.webkit.org/attachment.cgi?id=163315&action=review

> Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp:2794
> +void GraphicsLayerCA::updateBlending()
> +{
> +    primaryLayer()->setBlendMode(m_blendMode);
> +    
> +    if (LayerMap* layerCloneMap = primaryLayerClones()) {
> +        LayerMap::const_iterator end = layerCloneMap->end();
> +        for (LayerMap::const_iterator it = layerCloneMap->begin(); it != end; ++it) {
> +            if (m_replicaLayer && isReplicatedRootClone(it->first))
> +                continue;
> +            it->second->setBlendMode(m_blendMode);
> +        } 
> +    }
> +}

Does this play nicely with -webkit-transform: preserve-3d? Before, we've had spew from Core Animation when setting filters on a CATransformLayer.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list