[webkit-changes] [WebKit/WebKit] 57b47f: [GTK][WPE] Add more WPE related trace points to be...

Nikolas Zimmermann noreply at github.com
Mon Aug 5 14:21:57 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 57b47fb1d205b4dfd9ac47dd5e9aa506f2de7a32
      https://github.com/WebKit/WebKit/commit/57b47fb1d205b4dfd9ac47dd5e9aa506f2de7a32
  Author: Nikolas Zimmermann <nzimmermann at igalia.com>
  Date:   2024-08-05 (Mon, 05 Aug 2024)

  Changed paths:
    M Source/WTF/wtf/SystemTracing.h
    M Source/WTF/wtf/glib/SysprofAnnotator.h
    M Source/WebKit/Resources/Signposts/SystemTracePoints.plist
    M Source/WebKit/Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.cpp
    M Source/WebKit/UIProcess/DisplayLink.cpp
    M Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/CompositingCoordinator.cpp
    M Source/WebKit/WebProcess/WebPage/dmabuf/AcceleratedSurfaceDMABuf.cpp

  Log Message:
  -----------
  [GTK][WPE] Add more WPE related trace points to better understand the graphics pipeline
https://bugs.webkit.org/show_bug.cgi?id=277412

Reviewed by Miguel Gomez.

Add new WPE specific trace points that help us understand the graphics
pipeline, starting from DRM vblank signal (capture by sysprof) until
composition starts/ends for a frame.

Based on a patch from Alejandro G. Castro, refactored to avoid changing
any of the existing enum values - which would be problematic for the Apple
ports.

No new tests - doesn't affect non-glib ports.

* Source/WTF/wtf/SystemTracing.h:
* Source/WTF/wtf/glib/SysprofAnnotator.h:
* Source/WebKit/Resources/Signposts/SystemTracePoints.plist:
* Source/WebKit/Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.cpp:
(WebKit::ThreadedCompositor::renderLayerTree):
* Source/WebKit/UIProcess/DisplayLink.cpp:
(WebKit::DisplayLink::notifyObserversDisplayDidRefresh):
* Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/CompositingCoordinator.cpp:
(WebKit::CompositingCoordinator::flushPendingLayerChanges):
* Source/WebKit/WebProcess/WebPage/dmabuf/AcceleratedSurfaceDMABuf.cpp:
(WebKit::AcceleratedSurfaceDMABuf::didRenderFrame):

Canonical link: https://commits.webkit.org/281852@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