[webkit-changes] [WebKit/WebKit] eceb20: [WPE] Improve buffer handling in HeadlessViewBacke...

Carlos Garcia Campos noreply at github.com
Thu Oct 10 03:34:54 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: eceb208b3be3c86ff3becba4da4e08ca2a180ef6
      https://github.com/WebKit/WebKit/commit/eceb208b3be3c86ff3becba4da4e08ca2a180ef6
  Author: Carlos Garcia Campos <cgarcia at igalia.com>
  Date:   2024-10-10 (Thu, 10 Oct 2024)

  Changed paths:
    M Tools/wpe/backends/HeadlessViewBackend.h
    M Tools/wpe/backends/fdo/HeadlessViewBackendFdo.cpp

  Log Message:
  -----------
  [WPE] Improve buffer handling in HeadlessViewBackendFdo
https://bugs.webkit.org/show_bug.cgi?id=281130

Reviewed by Miguel Gomez.

It currently has a timer running every 16ms to check if there's any
pending buffer to process. Instead of having the timer running even when
there aren't pending buffers, we could start the timer only when a new
buffer is pending and process it after 16ms since the previous one.

* Tools/wpe/backends/HeadlessViewBackend.h:
* Tools/wpe/backends/fdo/HeadlessViewBackendFdo.cpp:
(WPEToolingBackends::HeadlessViewBackend::HeadlessViewBackend):
(WPEToolingBackends::HeadlessViewBackend::vsync): Deleted.

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