Title: [279332] releases/WebKitGTK/webkit-2.32/Source/WebKit
- Revision
- 279332
- Author
- [email protected]
- Date
- 2021-06-28 05:20:15 -0700 (Mon, 28 Jun 2021)
Log Message
Merge r278156 - Transient quarter display with a HiDPI /4k screen and a 200% scaling
https://bugs.webkit.org/show_bug.cgi?id=219202
Patch by Alexander Mikhaylenko <[email protected]> on 2021-05-27
Reviewed by Adrian Perez de Castro.
Set the root layer transformation before syncing animations and not after.
This way we avoid having the first frame use the wrong scale on hidpi.
* Shared/CoordinatedGraphics/CoordinatedGraphicsScene.cpp:
(WebKit::CoordinatedGraphicsScene::paintToCurrentGLContext):
Modified Paths
Diff
Modified: releases/WebKitGTK/webkit-2.32/Source/WebKit/ChangeLog (279331 => 279332)
--- releases/WebKitGTK/webkit-2.32/Source/WebKit/ChangeLog 2021-06-28 11:52:38 UTC (rev 279331)
+++ releases/WebKitGTK/webkit-2.32/Source/WebKit/ChangeLog 2021-06-28 12:20:15 UTC (rev 279332)
@@ -1,3 +1,16 @@
+2021-05-27 Alexander Mikhaylenko <[email protected]>
+
+ Transient quarter display with a HiDPI /4k screen and a 200% scaling
+ https://bugs.webkit.org/show_bug.cgi?id=219202
+
+ Reviewed by Adrian Perez de Castro.
+
+ Set the root layer transformation before syncing animations and not after.
+ This way we avoid having the first frame use the wrong scale on hidpi.
+
+ * Shared/CoordinatedGraphics/CoordinatedGraphicsScene.cpp:
+ (WebKit::CoordinatedGraphicsScene::paintToCurrentGLContext):
+
2021-05-24 Zan Dobersek <[email protected]>
[CoordinatedGraphics] Handle null native surface handle for surfaceless rendering
Modified: releases/WebKitGTK/webkit-2.32/Source/WebKit/Shared/CoordinatedGraphics/CoordinatedGraphicsScene.cpp (279331 => 279332)
--- releases/WebKitGTK/webkit-2.32/Source/WebKit/Shared/CoordinatedGraphics/CoordinatedGraphicsScene.cpp 2021-06-28 11:52:38 UTC (rev 279331)
+++ releases/WebKitGTK/webkit-2.32/Source/WebKit/Shared/CoordinatedGraphics/CoordinatedGraphicsScene.cpp 2021-06-28 12:20:15 UTC (rev 279332)
@@ -68,13 +68,13 @@
if (!currentRootLayer)
return;
+ if (currentRootLayer->transform() != matrix)
+ currentRootLayer->setTransform(matrix);
+
bool sceneHasRunningAnimations = currentRootLayer->applyAnimationsRecursively(MonotonicTime::now());
m_textureMapper->beginPainting(PaintFlags);
m_textureMapper->beginClip(TransformationMatrix(), FloatRoundedRect(clipRect));
- if (currentRootLayer->transform() != matrix)
- currentRootLayer->setTransform(matrix);
-
currentRootLayer->paint(*m_textureMapper);
m_fpsCounter.updateFPSAndDisplay(*m_textureMapper, clipRect.location(), matrix);
m_textureMapper->endClip();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes