[webkit-changes] [WebKit/WebKit] 811d01: [GTK] Do not keep processing frames while the view...

Carlos Garcia Campos noreply at github.com
Tue Aug 15 08:00:13 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 811d01dba0916cc27d09a462e23dc072b4dc09b0
      https://github.com/WebKit/WebKit/commit/811d01dba0916cc27d09a462e23dc072b4dc09b0
  Author: Carlos Garcia Campos <cgarcia at igalia.com>
  Date:   2023-08-15 (Tue, 15 Aug 2023)

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

  Log Message:
  -----------
  [GTK] Do not keep processing frames while the view is unrealized when using DMA-BUF renderer
https://bugs.webkit.org/show_bug.cgi?id=260146

Reviewed by Michael Catanzaro.

This is what the wpe renderer does, we don't send the frame done message
until the view is realized.

* Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.cpp:
(WebKit::AcceleratedBackingStoreDMABuf::frame):
(WebKit::AcceleratedBackingStoreDMABuf::realize):
(WebKit::AcceleratedBackingStoreDMABuf::update):
(WebKit::AcceleratedBackingStoreDMABuf::snapshot):
(WebKit::AcceleratedBackingStoreDMABuf::paint):

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




More information about the webkit-changes mailing list