Changeset 261460 in webkit
- Timestamp:
- May 10, 2020 2:35:30 PM (4 years ago)
- Location:
- trunk/Source
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WTF/ChangeLog
r261448 r261460 1 2020-05-10 Darin Adler <darin@apple.com> 2 3 Remove now-unneeded HAVE(CORE_VIDEO) 4 https://bugs.webkit.org/show_bug.cgi?id=211677 5 6 Reviewed by Dan Bernstein. 7 8 * wtf/PlatformHave.h: Remove HAVE_CORE_VIDEO. 9 1 10 2020-05-09 Darin Adler <darin@apple.com> 2 11 -
trunk/Source/WTF/wtf/PlatformHave.h
r261436 r261460 271 271 272 272 #if PLATFORM(COCOA) 273 #define HAVE_CORE_VIDEO 1274 #endif275 276 #if PLATFORM(COCOA)277 273 #define HAVE_MEDIA_ACCESSIBILITY_FRAMEWORK 1 278 274 #endif -
trunk/Source/WebCore/ChangeLog
r261459 r261460 1 2020-05-10 Darin Adler <darin@apple.com> 2 3 Remove now-unneeded HAVE(CORE_VIDEO) 4 https://bugs.webkit.org/show_bug.cgi?id=211677 5 6 Reviewed by Dan Bernstein. 7 8 * page/cocoa/MemoryReleaseCocoa.mm: 9 * platform/cocoa/CoreVideoSoftLink.cpp: Remove HAVE(CORE_VIDEO). 10 * platform/cocoa/CoreVideoSoftLink.h: Ditto. 11 * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h: Ditto. 12 * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm: 13 (WebCore::MediaPlayerPrivateAVFoundationObjC::updateLastImage): Ditto. 14 * platform/graphics/avfoundation/objc/MediaSampleAVFObjC.mm: 15 (WebCore::MediaSampleAVFObjC::getRGBAImageData const): Ditto. 16 * platform/graphics/cv/PixelBufferConformerCV.cpp: Ditto. 17 * platform/graphics/cv/PixelBufferConformerCV.h: Ditto. 18 * platform/graphics/cv/TextureCacheCV.h: Ditto. 19 * platform/graphics/cv/TextureCacheCV.mm: Ditto. 20 * platform/graphics/cv/VideoTextureCopierCV.cpp: Ditto. 21 * platform/graphics/cv/VideoTextureCopierCV.h: Ditto. 22 1 23 2020-05-09 Darin Adler <darin@apple.com> 2 24 -
trunk/Source/WebCore/platform/cocoa/CoreVideoSoftLink.cpp
r252245 r261460 25 25 26 26 #include "config.h" 27 28 #if HAVE(CORE_VIDEO)29 27 30 28 #include <CoreVideo/CoreVideo.h> … … 94 92 SOFT_LINK_FUNCTION_FOR_SOURCE(WebCore, CoreVideo, CVPixelBufferCreateWithIOSurface, CVReturn, (CFAllocatorRef allocator, IOSurfaceRef surface, CFDictionaryRef pixelBufferAttributes, CVPixelBufferRef * pixelBufferOut), (allocator, surface, pixelBufferAttributes, pixelBufferOut)) 95 93 96 #endif // HAVE(CORE_VIDEO) -
trunk/Source/WebCore/platform/cocoa/CoreVideoSoftLink.h
r252245 r261460 25 25 26 26 #pragma once 27 28 #if HAVE(CORE_VIDEO)29 27 30 28 #include <CoreVideo/CoreVideo.h> … … 148 146 SOFT_LINK_FUNCTION_FOR_HEADER(WebCore, CoreVideo, CVPixelBufferCreateWithIOSurface, CVReturn, (CFAllocatorRef allocator, IOSurfaceRef surface, CFDictionaryRef pixelBufferAttributes, CVPixelBufferRef * pixelBufferOut), (allocator, surface, pixelBufferAttributes, pixelBufferOut)) 149 147 #define CVPixelBufferCreateWithIOSurface softLink_CoreVideo_CVPixelBufferCreateWithIOSurface 150 151 #endif // HAVE(CORE_VIDEO) -
trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h
r261424 r261460 345 345 std::unique_ptr<ImageRotationSessionVT> m_imageRotationSession; 346 346 std::unique_ptr<VideoTextureCopierCV> m_videoTextureCopier; 347 348 #if HAVE(CORE_VIDEO)349 347 std::unique_ptr<PixelBufferConformerCV> m_pixelBufferConformer; 350 #endif351 348 352 349 friend class WebCoreAVFResourceLoader; -
trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm
r261424 r261460 2196 2196 void MediaPlayerPrivateAVFoundationObjC::updateLastImage(UpdateType type) 2197 2197 { 2198 #if HAVE(CORE_VIDEO)2199 2198 if (!m_avPlayerItem) 2200 2199 return; … … 2219 2218 2220 2219 INFO_LOG(LOGIDENTIFIER, "creating buffer took ", (MonotonicTime::now() - start).seconds()); 2221 #endif // HAVE(CORE_VIDEO)2222 2220 } 2223 2221 -
trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaSampleAVFObjC.mm
r258846 r261460 290 290 RefPtr<JSC::Uint8ClampedArray> MediaSampleAVFObjC::getRGBAImageData() const 291 291 { 292 #if HAVE(CORE_VIDEO)293 292 const OSType imageFormat = kCVPixelFormatType_32RGBA; 294 293 RetainPtr<CFNumberRef> imageFormatNumber = adoptCF(CFNumberCreate(nullptr, kCFNumberIntType, &imageFormat)); … … 311 310 312 311 return result; 313 #else314 return nullptr;315 #endif316 312 } 317 313 -
trunk/Source/WebCore/platform/graphics/cv/PixelBufferConformerCV.cpp
r261170 r261460 26 26 #include "config.h" 27 27 #include "PixelBufferConformerCV.h" 28 29 #if HAVE(CORE_VIDEO)30 28 31 29 #include "GraphicsContextCG.h" … … 179 177 180 178 } 181 182 #endif // HAVE(CORE_VIDEO) -
trunk/Source/WebCore/platform/graphics/cv/PixelBufferConformerCV.h
r261170 r261460 26 26 #pragma once 27 27 28 #if HAVE(CORE_VIDEO)29 30 28 #include <wtf/RetainPtr.h> 31 29 … … 48 46 49 47 } 50 51 #endif // HAVE(CORE_VIDEO) -
trunk/Source/WebCore/platform/graphics/cv/TextureCacheCV.h
r254214 r261460 25 25 26 26 #pragma once 27 28 #if HAVE(CORE_VIDEO)29 27 30 28 #include "GraphicsTypesGL.h" … … 68 66 69 67 } 70 71 #endif // HAVE(CORE_VIDEO) -
trunk/Source/WebCore/platform/graphics/cv/TextureCacheCV.mm
r260366 r261460 26 26 #import "config.h" 27 27 #import "TextureCacheCV.h" 28 29 #if HAVE(CORE_VIDEO)30 28 31 29 #import "GraphicsContextGLOpenGL.h" … … 109 107 110 108 } 111 112 #endif // HAVE(CORE_VIDEO) -
trunk/Source/WebCore/platform/graphics/cv/VideoTextureCopierCV.cpp
r261133 r261460 26 26 #include "config.h" 27 27 #include "VideoTextureCopierCV.h" 28 29 #if HAVE(CORE_VIDEO)30 28 31 29 #include "FourCC.h" … … 1067 1065 1068 1066 } 1069 1070 #endif // HAVE(CORE_VIDEO) -
trunk/Source/WebCore/platform/graphics/cv/VideoTextureCopierCV.h
r261133 r261460 25 25 26 26 #pragma once 27 28 #if HAVE(CORE_VIDEO)29 27 30 28 #import "GraphicsContextGLOpenGL.h" … … 108 106 109 107 } 110 111 #endif // HAVE(CORE_VIDEO)
Note: See TracChangeset
for help on using the changeset viewer.