-
Aaron Krajeski authored
With deferral enabled a canvas rendering context can create an unlimited amount of GPU resources between frames. This class allows us to track how much memory is being pinned and to flush the recording after we pass a certain threshold. Bug: 1016727, 1015729 Change-Id: I3a64dc07cc0239447aa721ea2a7cc808541a0a36 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1960469Reviewed-by:
Jeremy Roman <jbroman@chromium.org> Reviewed-by:
Aaron Krajeski <aaronhk@chromium.org> Reviewed-by:
Yi Xu <yiyix@chromium.org> Reviewed-by:
Khushal <khushalsagar@chromium.org> Reviewed-by:
Juanmi Huertas <juanmihd@chromium.org> Commit-Queue: Aaron Krajeski <aaronhk@chromium.org> Cr-Commit-Position: refs/heads/master@{#726085}
42d682b8