Currently, GraphicsLayerTextureMapper::setContentsNeedsDisplay() marks a DisplayChange dirty bit.
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()); }
I misunderstood. You suggested using ContentsDisplayChange rather than DisplayChange.
*** This bug has been marked as a duplicate of bug 108312 ***