[Webkit-unassigned] [Bug 79659] Optimize Canvas fill and drawImage with SourceIn, DestinationIn, SourceOut, and DestinationAtop using transparencyLayer.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Feb 27 09:52:36 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=79659
Simon Fraser (smfr) <simon.fraser at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #129011|review? |review-
Flag| |
--- Comment #6 from Simon Fraser (smfr) <simon.fraser at apple.com> 2012-02-27 09:52:34 PST ---
(From update of attachment 129011)
View in context: https://bugs.webkit.org/attachment.cgi?id=129011&action=review
> Source/WebCore/html/canvas/CanvasRenderingContext2D.cpp:935
> +#if PLATFORM(QT)
We try to discourage platform #ifdefs like this in common code. It would be much better if the #ifdef was something like
TRANSPARENCYLAYER_USES_COMPOSITING_OPERATOR
or something.
> Source/WebCore/platform/graphics/cg/GraphicsContextCG.cpp:990
> -void GraphicsContext::endPlatformTransparencyLayer()
> +void GraphicsContext::endPlatformTransparencyLayer(CompositeOperator)
I think this patch should at least add an assertion that the operator is srcOver on all platforms where you leave it unimplemented.
--
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