Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: c968064ecdab458363753d6d6e4df0a63042076b https://github.com/WebKit/WebKit/commit/c968064ecdab458363753d6d6e4df0a63042076b Author: Simon Fraser <simon.fra...@apple.com> Date: 2022-11-08 (Tue, 08 Nov 2022)
Changed paths: M Source/WebCore/platform/graphics/cocoa/GraphicsContextGLCocoa.mm M Source/WebCore/platform/graphics/cocoa/IOSurface.h M Source/WebCore/platform/graphics/cocoa/IOSurface.mm Log Message: ----------- Always push the colorspace into IOSurface metadata https://bugs.webkit.org/show_bug.cgi?id=247603 rdar://102074507 Reviewed by Tim Horton. The colorspace argument to IOSurface constructors is currently only used by the CGContext creation code, except for WebGL which pushes it into IOSurface metadata. With UI-side compositing on macOS, it's important that the IOSurface colorspace information survives the trip between processes, so we might as well always push it into IOSurface metadata. * Source/WebCore/platform/graphics/cocoa/GraphicsContextGLCocoa.mm: (WebCore::GraphicsContextGLCocoa::allocateAndBindDisplayBufferBacking): * Source/WebCore/platform/graphics/cocoa/IOSurface.h: * Source/WebCore/platform/graphics/cocoa/IOSurface.mm: (WebCore::IOSurface::IOSurface): (WebCore::IOSurface::setColorSpaceProperty): (WebCore::IOSurface::migrateColorSpaceToProperties): Deleted. Canonical link: https://commits.webkit.org/256477@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes