Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 94d5b6e0ae1053f01a2de2079fe0861ea17a3a7c
      
https://github.com/WebKit/WebKit/commit/94d5b6e0ae1053f01a2de2079fe0861ea17a3a7c
  Author: Mariyan Borisov <[email protected]>
  Date:   2026-10-05 (Mon, 05 Oct 2026)

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

  Log Message:
  -----------
  [GTK] GTK 3: partial repaints leave areas unpainted when the UI process uses 
GBM buffers
https://bugs.webkit.org/show_bug.cgi?id=326202

Reviewed by Carlos Garcia Campos.

For GBM buffers, Buffer::paint() applies the vertical flip before adding 
clipRect to the path, so it
fills the mirror image of clipRect. This went unnoticed while the whole view 
was redrawn every
frame, but queuePendingDamageDraw() now invalidates only the damaged rects, so 
most of each damaged
area stays unpainted when the UI process uses GBM buffers, for example under 
X11.

Clip to clipRect in widget coordinates before applying the flip.

* Source/WebKit/UIProcess/gtk/AcceleratedBackingStore.cpp:
(WebKit::AcceleratedBackingStore::Buffer::paint const):

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



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

Reply via email to