[webkit-changes] [WebKit/WebKit] edc821: IOSurfaceGetID is public API
Ryan Reno
noreply at github.com
Wed Mar 15 21:13:05 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: edc821880f856e6814483f6d5971b5f9cc9d4f1b
https://github.com/WebKit/WebKit/commit/edc821880f856e6814483f6d5971b5f9cc9d4f1b
Author: Ryan Reno <rreno at apple.com>
Date: 2023-03-15 (Wed, 15 Mar 2023)
Changed paths:
M Source/WTF/wtf/spi/cocoa/IOSurfaceSPI.h
M Source/WebCore/platform/graphics/cocoa/IOSurface.mm
Log Message:
-----------
IOSurfaceGetID is public API
https://bugs.webkit.org/show_bug.cgi?id=253973
rdar://106762871
Reviewed by Tim Horton.
IOSurface::surfaceID was written before IOSurfaceGetID was available in
the public SDK on all platforms. This removes the preprocessor platform
checks and simply wraps IOSurfaceGetID. This also removes the
now-redundant IOSurfaceID typedef from the SPI header.
* Source/WebCore/platform/graphics/cocoa/IOSurface.mm:
(WebCore::IOSurface::surfaceID const):
* Source/WTF/wtf/spi/cocoa/IOSurfaceSPI.h:
Canonical link: https://commits.webkit.org/261732@main
More information about the webkit-changes
mailing list