[webkit-changes] [WebKit/WebKit] 5280ab: [WPE][GTK] Add damage visualizer
Pawel Lampe
noreply at github.com
Tue Feb 4 08:06:59 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 5280aba84b7db28f3a2d689c0f9c83a6f7a9c85d
https://github.com/WebKit/WebKit/commit/5280aba84b7db28f3a2d689c0f9c83a6f7a9c85d
Author: Pawel Lampe <plampe at igalia.com>
Date: 2025-02-04 (Tue, 04 Feb 2025)
Changed paths:
M Source/WebCore/platform/TextureMapper.cmake
A Source/WebCore/platform/graphics/texmap/TextureMapperDamageVisualizer.cpp
A Source/WebCore/platform/graphics/texmap/TextureMapperDamageVisualizer.h
M Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/ThreadedCompositor.cpp
M Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/ThreadedCompositor.h
Log Message:
-----------
[WPE][GTK] Add damage visualizer
https://bugs.webkit.org/show_bug.cgi?id=286907
Reviewed by Carlos Garcia Campos.
This change adds a damage visualizer that can be controlled via environment variable.
The visualizer visualizes the damage rectangles to visually highlight what changed
on the screen during the frame renedering.
* Source/WebCore/platform/TextureMapper.cmake:
* Source/WebCore/platform/graphics/texmap/TextureMapperDamageVisualizer.cpp: Added.
(WebCore::TextureMapperDamageVisualizer::TextureMapperDamageVisualizer):
(WebCore::TextureMapperDamageVisualizer::updateDamageAndDisplay):
* Source/WebCore/platform/graphics/texmap/TextureMapperDamageVisualizer.h: Added.
(WebCore::TextureMapperDamageVisualizer::isActive const):
* Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/ThreadedCompositor.cpp:
(WebKit::ThreadedCompositor::paintToCurrentGLContext):
* Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/ThreadedCompositor.h:
Canonical link: https://commits.webkit.org/289785@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list