Fold OffscreenCanvasResourceProvider into CanvasResourceDispatcher
OffscreenCanvasResourceProvider is only used for accountancy of
viz::{Transferable/Returned}Resource; moreover it's not only used
for Offscreen canvases (but also for e.g. lowLatency ones). This
CL folds the logic into its only client, CanvasResourceDispatcher.
Also, the resource recycling inside OffscreenCRP is removed. This
is (all) inspired by junov@'s crrev.com/c/1103011 and follows up
on crrev.com/c/1167474.
CQ-DEPEND=CL:1169829
Bug: 839970
Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_slimming_paint_v2;master.tryserver.blink:linux_trusty_blink_rel
Change-Id: Ifed24992a6aded5c48f5e808cd61986906b64f7a
Reviewed-on: https://chromium-review.googlesource.com/1167907
Commit-Queue: Miguel Casas <mcasas@chromium.org>
Reviewed-by:
Fernando Serboncini <fserb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#582217}
Showing
Please register or sign in to comment