Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 690223fa5be1bd5bfc14c0aa602a7c751a85619a
https://github.com/WebKit/WebKit/commit/690223fa5be1bd5bfc14c0aa602a7c751a85619a
Author: Carlos Garcia Campos <[email protected]>
Date: 2023-07-19 (Wed, 19 Jul 2023)
Changed paths:
M
Source/WebKit/Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.cpp
M
Source/WebKit/Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.h
M Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.cpp
Log Message:
-----------
[GTK][WPE] Device scale factor not applied if changed at runtime
https://bugs.webkit.org/show_bug.cgi?id=259334
Reviewed by Alejandro G. Castro.
The problem is that the viewport size is the scaled size based on the
device scale factor, but when only scale factor changes, we don't update
the viewport size.
*
Source/WebKit/Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.cpp:
(WebKit::ThreadedCompositor::setScaleFactor): Deleted.
*
Source/WebKit/Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.h:
* Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.cpp:
(WebKit::LayerTreeHost::deviceOrPageScaleFactorChanged): Call
ThreadedCompositor::setViewportSize().
Canonical link: https://commits.webkit.org/266157@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes