Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: b7df35a60c2f4dc6755f671ef6d5fc45c3482d10 https://github.com/WebKit/WebKit/commit/b7df35a60c2f4dc6755f671ef6d5fc45c3482d10 Author: Pawel Lampe <pla...@igalia.com> Date: 2025-04-26 (Sat, 26 Apr 2025)
Changed paths: M Source/WebCore/platform/graphics/texmap/TextureMapperFPSCounter.cpp M Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.cpp M Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/ThreadedCompositor.cpp M Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/ThreadedCompositor.h Log Message: ----------- [GLib] Improve FPS counter https://bugs.webkit.org/show_bug.cgi?id=278460 Reviewed by Carlos Garcia Campos. This change makes the FPS counter on GLib-based ports logging the FPS periodically to the console instead of drawing as drawing interferes with the measurements it takes due to the usage of the same graphics pipeline. * Source/WebCore/platform/graphics/texmap/TextureMapperFPSCounter.cpp: (WebCore::TextureMapperFPSCounter::updateFPSAndDisplay): * Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.cpp: (WebKit::LayerTreeHost::didRenderFrame): * Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/ThreadedCompositor.cpp: (WebKit::ThreadedCompositor::paintToCurrentGLContext): (WebKit::ThreadedCompositor::renderLayerTree): (WebKit::ThreadedCompositor::initializeFPSCounter): (WebKit::ThreadedCompositor::updateFPSCounter): * Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/ThreadedCompositor.h: (WebKit::ThreadedCompositor::fps const): Canonical link: https://commits.webkit.org/294148@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes