[webkit-changes] [WebKit/WebKit] 5f1490: [GTK] Only swap front and display file descriptors...

Carlos Garcia Campos noreply at github.com
Wed Jun 21 06:44:54 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5f14903ba2e87fcce8e1b3572bc3253d948b7f8b
      https://github.com/WebKit/WebKit/commit/5f14903ba2e87fcce8e1b3572bc3253d948b7f8b
  Author: Carlos Garcia Campos <cgarcia at igalia.com>
  Date:   2023-06-21 (Wed, 21 Jun 2023)

  Changed paths:
    M Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.cpp

  Log Message:
  -----------
  [GTK] Only swap front and display file descriptors when there's a pending frame
https://bugs.webkit.org/show_bug.cgi?id=258344

Reviewed by Alejandro G. Castro.

In other cases it's just a web view redraw for the same display buffer.

* Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.cpp:
(WebKit::AcceleratedBackingStoreDMABuf::willDisplayFrame):
(WebKit::AcceleratedBackingStoreDMABuf::snapshot):
(WebKit::AcceleratedBackingStoreDMABuf::paint):

Canonical link: https://commits.webkit.org/265351@main




More information about the webkit-changes mailing list