Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8ff337c2222fb6769053edda9df223a414656ff7
      
https://github.com/WebKit/WebKit/commit/8ff337c2222fb6769053edda9df223a414656ff7
  Author: Nikolas Zimmermann <[email protected]>
  Date:   2026-04-22 (Wed, 22 Apr 2026)

  Changed paths:
    M Source/WebCore/platform/graphics/skia/SkiaGPUAtlas.cpp
    M Source/WebCore/platform/graphics/skia/SkiaGPUAtlas.h
    M Source/WebCore/platform/graphics/skia/SkiaPaintingEngine.cpp
    M Source/WebCore/platform/graphics/skia/SkiaPaintingEngine.h
    M Source/WebCore/platform/graphics/skia/SkiaReplayCanvas.cpp
    M Source/WebCore/platform/graphics/texmap/BitmapTexture.cpp
    M Source/WebCore/platform/graphics/texmap/BitmapTexture.h

  Log Message:
  -----------
  REGRESSION(311234@main): Partially revert "[Skia] Add deferred texture 
binding support for dma-buf backed GPU atlas textures"
https://bugs.webkit.org/show_bug.cgi?id=312971

Reviewed by Carlos Garcia Campos.

This partially reverts 311234@main, keeping only the "avoid upload
fence" in dma-buf upload code path change and a BitmapTexture specific
fix to remove the LinearTexture/VivanteSuperTiledTexture related flags
if dma-buf support backing support is not available.

The original patch caused a peformance regression in MotionMark/Images,
due to the glFlush() usage in the upload thread, necessary to support
deferred texture binding, but the feature itself didn't fix the
rendering glitches observed on particular configurations, so revert that
logic.

* Source/WebCore/platform/graphics/skia/SkiaGPUAtlas.cpp:
(WebCore::SkiaGPUAtlas::create):
(WebCore::SkiaGPUAtlas::uploadImages):
(WebCore::SkiaGPUAtlas::ensureBackendTexture): Deleted.
* Source/WebCore/platform/graphics/skia/SkiaGPUAtlas.h:
* Source/WebCore/platform/graphics/skia/SkiaPaintingEngine.cpp:
(WebCore::SkiaPaintingEngine::createAtlas):
(WebCore::SkiaPaintingEngine::record):
* Source/WebCore/platform/graphics/skia/SkiaPaintingEngine.h:
* Source/WebCore/platform/graphics/skia/SkiaReplayCanvas.cpp:
(WebCore::SkiaReplayCanvas::SkiaReplayCanvas):
* Source/WebCore/platform/graphics/texmap/BitmapTexture.cpp:
(WebCore::BitmapTexture::BitmapTexture):
(WebCore::BitmapTexture::reset):
(WebCore::BitmapTexture::bindDMABufToTexture): Deleted.
* Source/WebCore/platform/graphics/texmap/BitmapTexture.h:

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



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

Reply via email to