This task comes from piman@ shareable image design doc (https://docs.google.com/document/d/12qYPeN819JkdNGbPcKBA0rfPXSOIE3aIaQVrAZ4I1lM). VideoResourceUpdater (https://cs.chromium.org/chromium/src/media/renderers/video_resource_updater.cc) needs updating. Creation and storage allocation happens in VideoResourceUpdater::AllocateResource. SharedImage access requiring Begin/End scopes happen in VideoResourceUpdater::CopyHardwarePlane and VideoResourceUpdater::CreateForSoftwarePlanes
https://chromium-review.googlesource.com/c/chromium/src/+/1406316
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/986ad9d9f120c1a8eaf46a94d7e0c31fb022f5ef commit 986ad9d9f120c1a8eaf46a94d7e0c31fb022f5ef Author: Antoine Labour <piman@chromium.org> Date: Wed Jan 16 07:53:32 2019 Port VideoResourceUpdater to shared images Bug: 882534 Change-Id: I7684b44e43b559a8f080572bf4d6a0b2fcfd46f0 Reviewed-on: https://chromium-review.googlesource.com/c/1406316 Commit-Queue: Antoine Labour <piman@chromium.org> Reviewed-by: Frank Liberato <liberato@chromium.org> Reviewed-by: Eric Karl <ericrk@chromium.org> Cr-Commit-Position: refs/heads/master@{#623149} [modify] https://crrev.com/986ad9d9f120c1a8eaf46a94d7e0c31fb022f5ef/cc/trees/layer_tree_host_impl_unittest.cc [modify] https://crrev.com/986ad9d9f120c1a8eaf46a94d7e0c31fb022f5ef/components/viz/test/test_gles2_interface.cc [modify] https://crrev.com/986ad9d9f120c1a8eaf46a94d7e0c31fb022f5ef/components/viz/test/test_gles2_interface.h [modify] https://crrev.com/986ad9d9f120c1a8eaf46a94d7e0c31fb022f5ef/media/renderers/video_resource_updater.cc [modify] https://crrev.com/986ad9d9f120c1a8eaf46a94d7e0c31fb022f5ef/media/renderers/video_resource_updater_unittest.cc
Comment 1 by piman@chromium.org
, Jan 11Status: Started (was: Available)