Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a8586ad55bcbfd4bd3556acbacf88ea02efd2eaf
https://github.com/WebKit/WebKit/commit/a8586ad55bcbfd4bd3556acbacf88ea02efd2eaf
Author: Nikolas Zimmermann <[email protected]>
Date: 2026-02-04 (Wed, 04 Feb 2026)
Changed paths:
M Source/WebCore/platform/graphics/gbm/MemoryMappedGPUBuffer.cpp
M Source/WebCore/platform/graphics/gbm/MemoryMappedGPUBuffer.h
M Source/WebCore/platform/graphics/texmap/BitmapTexture.cpp
M Source/WebCore/platform/graphics/texmap/BitmapTexture.h
M Source/WebCore/platform/graphics/texmap/BitmapTexturePool.cpp
Log Message:
-----------
[GTK][WPE] Add UseBGRALayout flag to BitmapTexture/MemoryMappedGPUBuffer
https://bugs.webkit.org/show_bug.cgi?id=306861
Reviewed by Adrian Perez de Castro.
Add 'UseBGRALayout' to BitmapTexture/MemoryMappedGPUBuffer, allowing
to allocate textures / dma-bufs with a non-standard BGRA layout (RGBA
remains the default).
Not testable by default will be needed by raster image batching
support in future.
* Source/WebCore/platform/graphics/gbm/MemoryMappedGPUBuffer.cpp:
(WebCore::MemoryMappedGPUBuffer::create):
* Source/WebCore/platform/graphics/gbm/MemoryMappedGPUBuffer.h:
* Source/WebCore/platform/graphics/texmap/BitmapTexture.cpp:
(WebCore::BitmapTexture::textureFormat const):
(WebCore::BitmapTexture::BitmapTexture):
(WebCore::BitmapTexture::allocateTexture):
(WebCore::BitmapTexture::reset):
(WebCore::BitmapTexture::updateContents):
(WebCore::BitmapTexture::colorConvertFlags const):
* Source/WebCore/platform/graphics/texmap/BitmapTexture.h:
* Source/WebCore/platform/graphics/texmap/BitmapTexturePool.cpp:
(WebCore::BitmapTexturePool::acquireTexture):
Canonical link: https://commits.webkit.org/306770@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications