Changeset 276497 in webkit
- Timestamp:
- Apr 23, 2021, 7:32:36 AM (5 years ago)
- Location:
- trunk/Source
- Files:
-
- 5 edited
-
WebCore/ChangeLog (modified) (1 diff)
-
WebCore/platform/graphics/avfoundation/objc/LocalSampleBufferDisplayLayer.h (modified) (1 diff)
-
WebCore/platform/graphics/avfoundation/objc/LocalSampleBufferDisplayLayer.mm (modified) (1 diff)
-
WebKit/ChangeLog (modified) (1 diff)
-
WebKit/GPUProcess/webrtc/RemoteSampleBufferDisplayLayer.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r276495 r276497 1 2021-04-23 Youenn Fablet <youenn@apple.com> 2 3 Handle rotation correctly in WebRTC GPUProcess rendering pipeline 4 https://bugs.webkit.org/show_bug.cgi?id=224927 5 <rdar://76915991> 6 7 Reviewed by Eric Carlson. 8 9 Add a routine to update the affine transformn of the root layer. 10 Manually tested. 11 12 * platform/graphics/avfoundation/objc/LocalSampleBufferDisplayLayer.h: 13 * platform/graphics/avfoundation/objc/LocalSampleBufferDisplayLayer.mm: 14 (WebCore::LocalSampleBufferDisplayLayer::updateRootLayerAffineTransform): 15 1 16 2021-04-23 Philippe Normand <pnormand@igalia.com> 2 17 -
trunk/Source/WebCore/platform/graphics/avfoundation/objc/LocalSampleBufferDisplayLayer.h
r264312 r276497 61 61 enum class ShouldUpdateRootLayer { No, Yes }; 62 62 void updateRootLayerBoundsAndPosition(CGRect, MediaSample::VideoRotation, ShouldUpdateRootLayer); 63 void updateRootLayerAffineTransform(CGAffineTransform); 63 64 64 65 void initialize(bool hideRootLayer, IntSize, CompletionHandler<void(bool didSucceed)>&&) final; -
trunk/Source/WebCore/platform/graphics/avfoundation/objc/LocalSampleBufferDisplayLayer.mm
r274306 r276497 249 249 } 250 250 251 void LocalSampleBufferDisplayLayer::updateRootLayerAffineTransform(CGAffineTransform transform) 252 { 253 runWithoutAnimations([&] { 254 m_rootLayer.get().affineTransform = transform; 255 }); 256 } 257 251 258 void LocalSampleBufferDisplayLayer::updateAffineTransform(CGAffineTransform transform) 252 259 { -
trunk/Source/WebKit/ChangeLog
r276490 r276497 1 2021-04-23 Youenn Fablet <youenn@apple.com> 2 3 Handle rotation correctly in WebRTC GPUProcess rendering pipeline 4 https://bugs.webkit.org/show_bug.cgi?id=224927 5 <rdar://76915991> 6 7 Reviewed by Eric Carlson. 8 9 Instead of updating the inner layer, update the root layer. 10 11 * GPUProcess/webrtc/RemoteSampleBufferDisplayLayer.cpp: 12 (WebKit::RemoteSampleBufferDisplayLayer::updateAffineTransform): 13 1 14 2021-04-23 Carlos Garcia Campos <cgarcia@igalia.com> 2 15 -
trunk/Source/WebKit/GPUProcess/webrtc/RemoteSampleBufferDisplayLayer.cpp
r264312 r276497 79 79 void RemoteSampleBufferDisplayLayer::updateAffineTransform(CGAffineTransform transform) 80 80 { 81 m_sampleBufferDisplayLayer->update AffineTransform(transform);81 m_sampleBufferDisplayLayer->updateRootLayerAffineTransform(transform); 82 82 } 83 83
Note:
See TracChangeset
for help on using the changeset viewer.