[Webkit-unassigned] [Bug 102000] [EFL][WK2] White flicker when scrolling big pages with dark background on slower hardware.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 12 22:07:14 PST 2012


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


Noam Rosenthal <noam.rosenthal at nokia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #173814|review?                     |review-
               Flag|                            |




--- Comment #7 from Noam Rosenthal <noam.rosenthal at nokia.com>  2012-11-12 22:08:58 PST ---
(From update of attachment 173814)
View in context: https://bugs.webkit.org/attachment.cgi?id=173814&action=review

This will not work with semi-transparent backgrounds or with non rectangular clip, as it uses glClear and friends which completely clear the pixels in a given rectangle.
I suggest that instead of this we expose backgroundColor from DrawingAreaProxy, and let the embedded (ewk_view?) decide what and how to clear.

> Source/WebKit2/UIProcess/CoordinatedGraphics/LayerTreeRenderer.cpp:96
> +    , m_backgroundColor(255, 255, 255, 255)

Color::white()

> Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/LayerTreeCoordinator.cpp:768
> +    m_webPage->send(Messages::LayerTreeCoordinatorProxy::SetBackgroundColor(color));

So we do this on every layout? seems wasteful. Maybe we should make sure that the color has actually changed?

> Source/WebKit2/WebProcess/WebPage/WebPage.cpp:2770
> +        WebCore::Color color = WebCore::Color(float(red), float(green), float(blue), float(alpha));

Color color(red, green, blue, alpha);

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