[Webkit-unassigned] [Bug 107912] [TexMap] GraphicsLayerTextureMapper::setContentsNeedsDisplay() marks a ContentsDisplayChange dirty bit.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 21 20:23:48 PDT 2022


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

Fujii Hironori <Hironori.Fujii at sony.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |Hironori.Fujii at sony.com
         Resolution|---                         |INVALID

--- Comment #1 from Fujii Hironori <Hironori.Fujii at sony.com> ---
WinCairo WK1 is still using GraphicsLayerTextureMapper.
DisplayChange is needed to update WebGL canvas update.
If I remove the line, the following demo doesn't render as expected while mouse drugging.
https://threejs.org/examples/#webgl_geometry_teapot

diff --git a/Source/WebCore/platform/graphics/texmap/GraphicsLayerTextureMapper.cpp b/Source/WebCore/platform/graphics/texmap/GraphicsLayerTextureMapper.cpp
index 465a57e1c558..a661cb1e3ce3 100644
--- a/Source/WebCore/platform/graphics/texmap/GraphicsLayerTextureMapper.cpp
+++ b/Source/WebCore/platform/graphics/texmap/GraphicsLayerTextureMapper.cpp
@@ -77,7 +77,6 @@ void GraphicsLayerTextureMapper::setNeedsDisplay()

 void GraphicsLayerTextureMapper::setContentsNeedsDisplay()
 {
-    notifyChange(DisplayChange);
     addRepaintRect(contentsRect());
 }

-- 
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/20220622/5ef56dad/attachment.htm>


More information about the webkit-unassigned mailing list