[Webkit-unassigned] [Bug 94508] RenderLayer::paintLayerContents replace paint phase bit mask with enumeration

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 27 18:20:52 PDT 2012


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


Julien Chaffraix <jchaffraix at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jchaffraix at webkit.org




--- Comment #3 from Julien Chaffraix <jchaffraix at webkit.org>  2012-09-27 18:21:18 PST ---
I don't understand what your proposal is. Could it be possible for you to clarify what you are trying to achieve?

> Why do they need to be a bit mask? When do we set more than one bit at once?

The different operations in PaintLayerFlags are not orthogonal at all, which would be required to use an enumeration: you can be painting with some combination of them. Look at RenderLayer::paintOverlayScrollbars for an example. Alternatively painting some transparent transformed object with a reflection would trigger different sets of flags to be set at different point during the painting.

-- 
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