Changeset 283483 in webkit
- Timestamp:
- Oct 3, 2021, 4:03:35 PM (5 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 4 edited
-
ChangeLog (modified) (1 diff)
-
PAL/ChangeLog (modified) (1 diff)
-
PAL/pal/spi/cocoa/IOSurfaceSPI.h (modified) (2 diffs)
-
platform/graphics/cocoa/IOSurface.mm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r283482 r283483 1 2021-10-03 David Kilzer <ddkilzer@apple.com> 2 3 Build fix: Attribute IOSurfaces created by camera and decoders to responsible WebProcess 4 <https://bugs.webkit.org/show_bug.cgi?id=231075> 5 <rdar://problem/83767168> 6 7 Unreviewed build fix. 8 9 * platform/graphics/cocoa/IOSurface.mm: 10 - Remove IOSurfaceSPI.h header already included by IOSurface.h. 11 This should force this source file to be rebuilt as well. 12 1 13 2021-10-03 Don Olmstead <don.olmstead@sony.com> 2 14 -
trunk/Source/WebCore/PAL/ChangeLog
r283480 r283483 1 2021-10-03 David Kilzer <ddkilzer@apple.com> 2 3 Build fix: Attribute IOSurfaces created by camera and decoders to responsible WebProcess 4 <https://bugs.webkit.org/show_bug.cgi?id=231075> 5 <rdar://problem/83767168> 6 7 Unreviewed build fix. 8 9 * pal/spi/cocoa/IOSurfaceSPI.h: 10 (IOSurfaceMemoryLedgerTags): 11 - Define enums for both HAVE(IOSURFACE_SET_OWNERSHIP) 12 and HAVE(IOSURFACE_SET_OWNERSHIP_IDENTITY). 13 1 14 2021-10-03 David Kilzer <ddkilzer@apple.com> 2 15 -
trunk/Source/WebCore/PAL/pal/spi/cocoa/IOSurfaceSPI.h
r273903 r283483 91 91 WTF_EXTERN_C_BEGIN 92 92 93 #if HAVE(IOSURFACE_SET_OWNERSHIP) 93 #if HAVE(IOSURFACE_SET_OWNERSHIP) || HAVE(IOSURFACE_SET_OWNERSHIP_IDENTITY) 94 94 typedef CF_ENUM(int, IOSurfaceMemoryLedgerTags) { 95 95 kIOSurfaceMemoryLedgerTagDefault = 0x00000001, … … 99 99 kIOSurfaceMemoryLedgerTagNeural = 0x00000005, 100 100 }; 101 #endif 101 102 103 #if HAVE(IOSURFACE_SET_OWNERSHIP) 102 104 IOReturn IOSurfaceSetOwnership(IOSurfaceRef buffer, task_t newOwner, int newLedgerTag, uint32_t newLedgerOptions); 103 #endif // HAVE(IOSURFACE_SET_OWNERSHIP)105 #endif 104 106 105 107 #if HAVE(IOSURFACE_SET_OWNERSHIP_IDENTITY) -
trunk/Source/WebCore/platform/graphics/cocoa/IOSurface.mm
r282839 r283483 36 36 #import "PlatformScreen.h" 37 37 #import <pal/spi/cg/CoreGraphicsSPI.h> 38 #import <pal/spi/cocoa/IOSurfaceSPI.h>39 38 #import <wtf/Assertions.h> 40 39 #import <wtf/MachSendRight.h>
Note:
See TracChangeset
for help on using the changeset viewer.