⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 283483 in webkit


Ignore:
Timestamp:
Oct 3, 2021, 4:03:35 PM (5 years ago)
Author:
ddkilzer@apple.com
Message:

Build fix: Attribute IOSurfaces created by camera and decoders to responsible WebProcess
<https://bugs.webkit.org/show_bug.cgi?id=231075>
<rdar://problem/83767168>

Unreviewed build fix.

Source/WebCore:

  • platform/graphics/cocoa/IOSurface.mm:
  • Remove IOSurfaceSPI.h header already included by IOSurface.h. This should force this source file to be rebuilt as well.

Source/WebCore/PAL:

  • pal/spi/cocoa/IOSurfaceSPI.h:

(IOSurfaceMemoryLedgerTags):

  • Define enums for both HAVE(IOSURFACE_SET_OWNERSHIP) and HAVE(IOSURFACE_SET_OWNERSHIP_IDENTITY).
Location:
trunk/Source/WebCore
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r283482 r283483  
     12021-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
    1132021-10-03  Don Olmstead  <don.olmstead@sony.com>
    214
  • trunk/Source/WebCore/PAL/ChangeLog

    r283480 r283483  
     12021-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
    1142021-10-03  David Kilzer  <ddkilzer@apple.com>
    215
  • trunk/Source/WebCore/PAL/pal/spi/cocoa/IOSurfaceSPI.h

    r273903 r283483  
    9191WTF_EXTERN_C_BEGIN
    9292
    93 #if HAVE(IOSURFACE_SET_OWNERSHIP)
     93#if HAVE(IOSURFACE_SET_OWNERSHIP) || HAVE(IOSURFACE_SET_OWNERSHIP_IDENTITY)
    9494typedef CF_ENUM(int, IOSurfaceMemoryLedgerTags) {
    9595    kIOSurfaceMemoryLedgerTagDefault     = 0x00000001,
     
    9999    kIOSurfaceMemoryLedgerTagNeural      = 0x00000005,
    100100};
     101#endif
    101102
     103#if HAVE(IOSURFACE_SET_OWNERSHIP)
    102104IOReturn IOSurfaceSetOwnership(IOSurfaceRef buffer, task_t newOwner, int newLedgerTag, uint32_t newLedgerOptions);
    103 #endif // HAVE(IOSURFACE_SET_OWNERSHIP)
     105#endif
    104106
    105107#if HAVE(IOSURFACE_SET_OWNERSHIP_IDENTITY)
  • trunk/Source/WebCore/platform/graphics/cocoa/IOSurface.mm

    r282839 r283483  
    3636#import "PlatformScreen.h"
    3737#import <pal/spi/cg/CoreGraphicsSPI.h>
    38 #import <pal/spi/cocoa/IOSurfaceSPI.h>
    3938#import <wtf/Assertions.h>
    4039#import <wtf/MachSendRight.h>
Note: See TracChangeset for help on using the changeset viewer.