Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d509a5df0092b1c9fff9d30c91d0d4b39ee02e01
      
https://github.com/WebKit/WebKit/commit/d509a5df0092b1c9fff9d30c91d0d4b39ee02e01
  Author: Matt Woodrow <[email protected]>
  Date:   2026-01-29 (Thu, 29 Jan 2026)

  Changed paths:
    M Source/WebKit/GPUProcess/graphics/RemoteGraphicsContext.h
    M Source/WebKit/GPUProcess/graphics/RemoteImageBufferGraphicsContext.cpp
    M Source/WebKit/GPUProcess/graphics/RemoteImageBufferGraphicsContext.h

  Log Message:
  -----------
  Scrolling is choppy/unresponsive on Google Sheets with Trackpad.
https://bugs.webkit.org/show_bug.cgi?id=306313
<rdar://81178557>

Reviewed by Simon Fraser.

This triggers slow IOSurface read back each frame.

Fix with a manual copy to a temporary surface, and make sure it's flushed both
directions to avoid any copy-on-write behavior from happening.

* Source/WebKit/GPUProcess/graphics/RemoteGraphicsContext.h:
* Source/WebKit/GPUProcess/graphics/RemoteImageBufferGraphicsContext.cpp:
(WebKit::RemoteImageBufferGraphicsContext::drawImageBuffer):
* Source/WebKit/GPUProcess/graphics/RemoteImageBufferGraphicsContext.h:

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



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

Reply via email to