Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9449dafa6033769962b9e69add1efca8c53c315a
      
https://github.com/WebKit/WebKit/commit/9449dafa6033769962b9e69add1efca8c53c315a
  Author: Carlos Garcia Campos <[email protected]>
  Date:   2026-05-21 (Thu, 21 May 2026)

  Changed paths:
    M Source/WebCore/platform/graphics/skia/SkiaBackingStore.cpp
    M Source/WebCore/platform/graphics/skia/SkiaBackingStore.h
    M Source/WebCore/platform/graphics/texmap/BitmapTexture.cpp
    M 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedBackingStoreTile.cpp
    M 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedTileBuffer.h

  Log Message:
  -----------
  [GTK][WPE] Skia Compositor: do not use SkSurface::writePixels for tile 
updates uploads
https://bugs.webkit.org/show_bug.cgi?id=315266

Reviewed by Nikolas Zimmermann.

Using glTexSubImage2D performs much better. Also change the gpu code
path to use BitmapTexture API since it's simpler now that we don't use
SkSurface for cpu case.

* Source/WebCore/platform/graphics/skia/SkiaBackingStore.cpp:
(WebCore::SkiaBackingStore::Tile::ensureTexture):
(WebCore::SkiaBackingStore::Tile::update):
(WebCore::SkiaBackingStore::Tile::image):
(WebCore::SkiaBackingStore::Tile::tryEnsureSurface): Deleted.
* Source/WebCore/platform/graphics/skia/SkiaBackingStore.h:
* Source/WebCore/platform/graphics/texmap/BitmapTexture.cpp:
(WebCore::BitmapTexture::updateContents):
* 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedBackingStoreTile.cpp:
(WebCore::CoordinatedBackingStoreTile::processPendingUpdates):
* Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedTileBuffer.h:

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



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

Reply via email to