Surface synchronization: Assign temporary ref owner sooner
This CL plumbs an OnSurfaceCreated over from Surface to SurfaceManager to FrameSinkManagerImpl to HostFrameSinkManager so that the host can assign an owner to the temporary reference. Previously we waited until activation to assign an owner to the temporary reference but that had the effect of taking longer for a newer fallback surface to be picked by SurfaceManager. This CL also simplifies GetLatestInFlightSurface by removing the parent FrameSinkId parameter. Instead, the parent FrameSinkId is extracted from the surface hierarchy already stored in SurfaceManager. Bug: 672962 Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel Change-Id: I012f5feda5e3172978cc3686694362e4d85f5832 Reviewed-on: https://chromium-review.googlesource.com/820162Reviewed-by:kylechar <kylechar@chromium.org> Reviewed-by:
Tom Sepez <tsepez@chromium.org> Commit-Queue: Fady Samuel <fsamuel@chromium.org> Cr-Commit-Position: refs/heads/master@{#523589}
Showing
Please register or sign in to comment