[Webkit-unassigned] [Bug 236061] [WinCairo] transparent scrollbar layer doesn't repaint correctly
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jul 19 17:04:55 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=236061
--- Comment #3 from Fujii Hironori <Hironori.Fujii at sony.com> ---
In GTK port, the background of the custom scrollbar is always black, because it clears color buffers with black.
It doesn't have the repainting issue because it clears the background for every frames.
If I disable it, it also has the same issue with WinCairo.
diff --git a/Source/WebKit/Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.cpp b/Source/WebKit/Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.cpp
index 57537cf53881..2f133b10e61f 100644
--- a/Source/WebKit/Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.cpp
+++ b/Source/WebKit/Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.cpp
@@ -234,7 +234,7 @@ void ThreadedCompositor::renderLayerTree()
glViewport(0, 0, viewportSize.width(), viewportSize.height());
glClearColor(0, 0, 0, 0);
- glClear(GL_COLOR_BUFFER_BIT);
+ //glClear(GL_COLOR_BUFFER_BIT);
m_scene->applyStateChanges(states);
m_scene->paintToCurrentGLContext(viewportTransform, FloatRect { FloatPoint { }, viewportSize }, m_paintFlags);
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220720/f46fc194/attachment.htm>
More information about the webkit-unassigned
mailing list