LocalSampleBufferDisplayLayer is not computing the correct bounds/position in GPUProcess
Created attachment 391972 [details] Patch
Created attachment 391974 [details] Patch
Comment on attachment 391974 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=391974&action=review > Source/WebKit/WebProcess/GPU/webrtc/SampleBufferDisplayLayer.cpp:59 > + if (!m_connection->sendSync(Messages::RemoteSampleBufferDisplayLayerManager::CreateLayer { m_identifier, hideRootLayer, size }, Messages::RemoteSampleBufferDisplayLayerManager::CreateLayer::Reply { contextId }, 0)) Could this be made async by allocating a local CALayer for m_videoLayer and inserting the CALayerHost layer as a child once you have the remote context ID?
(In reply to Eric Carlson from comment #3) > Comment on attachment 391974 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=391974&action=review > > > Source/WebKit/WebProcess/GPU/webrtc/SampleBufferDisplayLayer.cpp:59 > > + if (!m_connection->sendSync(Messages::RemoteSampleBufferDisplayLayerManager::CreateLayer { m_identifier, hideRootLayer, size }, Messages::RemoteSampleBufferDisplayLayerManager::CreateLayer::Reply { contextId }, 0)) > > Could this be made async by allocating a local CALayer for m_videoLayer and > inserting the CALayerHost layer as a child once you have the remote context > ID? We should fix this at some point. Your approach sounds good. We could also make this async at WebCore level.
Comment on attachment 391974 [details] Patch Clearing flags on attachment: 391974 Committed r257709: <https://trac.webkit.org/changeset/257709>
All reviewed patches have been landed. Closing bug.
<rdar://problem/59950161>