Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6fab811984ab863ad3ce9ed9ac01b52ccbb88151
      
https://github.com/WebKit/WebKit/commit/6fab811984ab863ad3ce9ed9ac01b52ccbb88151
  Author: Carlos Garcia Campos <[email protected]>
  Date:   2026-01-16 (Fri, 16 Jan 2026)

  Changed paths:
    M Source/WebKit/UIProcess/gtk/AcceleratedBackingStore.cpp
    M Source/WebKit/UIProcess/gtk/AcceleratedBackingStore.h

  Log Message:
  -----------
  [GTK3] leaks DMA-BUF allocations when loading and unloading web pages
https://bugs.webkit.org/show_bug.cgi?id=305401

Reviewed by Nikolas Zimmermann.

We keep the DMA-BUF buffers mapped in the UI process because we are
failing to delete the associated texture. We need to make sure the gl
context is current before calling glDeleteTextures().

* Source/WebKit/UIProcess/gtk/AcceleratedBackingStore.cpp:
(WebKit::AcceleratedBackingStore::~AcceleratedBackingStore):
(WebKit::AcceleratedBackingStore::BufferEGLImage::~BufferEGLImage):
(WebKit::AcceleratedBackingStore::BufferEGLImage::didUpdateContents):
(WebKit::AcceleratedBackingStore::unrealize):
* Source/WebKit/UIProcess/gtk/AcceleratedBackingStore.h:

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to