Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: cf34da0d71d1163d5f455c1d5dfe312fa0d0ea6a
      
https://github.com/WebKit/WebKit/commit/cf34da0d71d1163d5f455c1d5dfe312fa0d0ea6a
  Author: Pablo Saavedra <psaave...@igalia.com>
  Date:   2025-08-26 (Tue, 26 Aug 2025)

  Changed paths:
    M Source/WebCore/platform/graphics/gbm/MemoryMappedGPUBuffer.cpp
    M Source/WebCore/platform/graphics/texmap/BitmapTexture.cpp

  Log Message:
  -----------
  [GTK][WPE] Crash when ForceLinear is set but linear format is unsupported
https://bugs.webkit.org/show_bug.cgi?id=296034

Reviewed by Nikolas Zimmermann.

Enforce crash when the ForceLinear flag is set but the negotiated
format does not support DRM_FORMAT_MOD_LINEAR.

This change ensures strict compliance with the user intent when
WEBKIT_USE_LINEAR_TILE_TEXTURES=1 is set and avoids silent fallback to
OpenGL or other legacy paths.

* Source/WebCore/platform/graphics/gbm/MemoryMappedGPUBuffer.cpp:
(WebCore::MemoryMappedGPUBuffer::create):
* Source/WebCore/platform/graphics/texmap/BitmapTexture.cpp:
(WebCore::BitmapTexture::updateContents):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to