Title: [223294] trunk/Source/WebCore
Revision
223294
Author
jer.no...@apple.com
Date
2017-10-13 11:48:36 -0700 (Fri, 13 Oct 2017)

Log Message

Unreviewed build fix; add definitions for IOSurface methods missing on some platforms.

Source/WebCore:

* platform/graphics/cv/VideoTextureCopierCV.cpp:

Source/WebCore/PAL:

* pal/spi/cocoa/IOSurfaceSPI.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (223293 => 223294)


--- trunk/Source/WebCore/ChangeLog	2017-10-13 18:43:55 UTC (rev 223293)
+++ trunk/Source/WebCore/ChangeLog	2017-10-13 18:48:36 UTC (rev 223294)
@@ -1,3 +1,9 @@
+2017-10-13  Jer Noble  <jer.no...@apple.com>
+
+        Unreviewed build fix; add definitions for IOSurface methods missing on some platforms.
+
+        * platform/graphics/cv/VideoTextureCopierCV.cpp:
+
 2017-10-13  Alex Christensen  <achristen...@webkit.org>
 
         Remove Editor::simplifyMarkup

Modified: trunk/Source/WebCore/PAL/ChangeLog (223293 => 223294)


--- trunk/Source/WebCore/PAL/ChangeLog	2017-10-13 18:43:55 UTC (rev 223293)
+++ trunk/Source/WebCore/PAL/ChangeLog	2017-10-13 18:48:36 UTC (rev 223294)
@@ -1,3 +1,9 @@
+2017-10-13  Jer Noble  <jer.no...@apple.com>
+
+        Unreviewed build fix; add definitions for IOSurface methods missing on some platforms.
+
+        * pal/spi/cocoa/IOSurfaceSPI.h:
+
 2017-10-12  Myles C. Maxfield  <mmaxfi...@apple.com>
 
         [Win] Build fix after r223206

Modified: trunk/Source/WebCore/PAL/pal/spi/cocoa/IOSurfaceSPI.h (223293 => 223294)


--- trunk/Source/WebCore/PAL/pal/spi/cocoa/IOSurfaceSPI.h	2017-10-13 18:43:55 UTC (rev 223293)
+++ trunk/Source/WebCore/PAL/pal/spi/cocoa/IOSurfaceSPI.h	2017-10-13 18:48:36 UTC (rev 223294)
@@ -80,6 +80,8 @@
 IOReturn IOSurfaceLock(IOSurfaceRef buffer, uint32_t options, uint32_t *seed);
 IOSurfaceRef IOSurfaceLookupFromMachPort(mach_port_t);
 IOReturn IOSurfaceUnlock(IOSurfaceRef buffer, uint32_t options, uint32_t *seed);
+size_t IOSurfaceGetWidthOfPlane(IOSurfaceRef buffer, size_t planeIndex);
+size_t IOSurfaceGetHeightOfPlane(IOSurfaceRef buffer, size_t planeIndex);
 
 WTF_EXTERN_C_END
 

Modified: trunk/Source/WebCore/platform/graphics/cv/VideoTextureCopierCV.cpp (223293 => 223294)


--- trunk/Source/WebCore/platform/graphics/cv/VideoTextureCopierCV.cpp	2017-10-13 18:43:55 UTC (rev 223293)
+++ trunk/Source/WebCore/platform/graphics/cv/VideoTextureCopierCV.cpp	2017-10-13 18:48:36 UTC (rev 223294)
@@ -27,6 +27,7 @@
 #include "VideoTextureCopierCV.h"
 
 #include "FourCC.h"
+#include "IOSurfaceSPI.h"
 #include "Logging.h"
 #include "TextureCacheCV.h"
 #include <wtf/NeverDestroyed.h>
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to