Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 031263226f11431625f17f2d67acedfec43156da https://github.com/WebKit/WebKit/commit/031263226f11431625f17f2d67acedfec43156da Author: Cameron McCormack <hey...@apple.com> Date: 2023-01-05 (Thu, 05 Jan 2023)
Changed paths: M Source/WebCore/platform/graphics/PixelBuffer.cpp M Source/WebCore/platform/graphics/PixelBufferConversion.cpp M Source/WebCore/platform/graphics/PixelFormat.cpp M Source/WebCore/platform/graphics/PixelFormat.h M Source/WebCore/platform/graphics/cocoa/IOSurface.h M Source/WebCore/platform/graphics/cocoa/IOSurface.mm M Source/WebKit/Shared/RemoteLayerTree/RemoteLayerBackingStore.mm M Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in Log Message: ----------- Use an alpha-less pixel format for 32 bit IOSurfaces when RemoteLayerBackingStore::Parameters::isOpaque is true https://bugs.webkit.org/show_bug.cgi?id=250100 rdar://103885395 Reviewed by Tim Horton. * Source/WebCore/platform/graphics/PixelBuffer.cpp: (WebCore::PixelBuffer::supportedPixelFormat): * Source/WebCore/platform/graphics/PixelBufferConversion.cpp: (WebCore::makeVImageCGImageFormat): (WebCore::convertImagePixels): * Source/WebCore/platform/graphics/PixelFormat.cpp: (WebCore::operator<<): * Source/WebCore/platform/graphics/PixelFormat.h: * Source/WebCore/platform/graphics/cocoa/IOSurface.h: * Source/WebCore/platform/graphics/cocoa/IOSurface.mm: (WebCore::formatFromSurface): (WebCore::IOSurface::IOSurface): (WebCore::IOSurface::bitmapConfiguration const): (WebCore::IOSurface::formatForPixelFormat): (WebCore::operator<<): (WebCore::IOSurface::format const): Deleted. * Source/WebKit/Shared/RemoteLayerTree/RemoteLayerBackingStore.mm: (WebKit::RemoteLayerBackingStore::pixelFormat const): (WebKit::RemoteLayerBackingStore::bytesPerPixel const): * Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in: Canonical link: https://commits.webkit.org/258523@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes