Cancel GPU acceleration for 2D canvas when drawing very large images
GPU texture upload overhead is often prohibitively expensive when
drawing very large images into a canvas. This change adds an
heuristic to trigger a fallback to software rendering when this
happens
TBR=kbr@chromium.org
BUG=
367355
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.win:win_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel
Committed:
https://crrev.com/03b1013d9a855aba76fa626a640b08b95146154f
Cr-Commit-Position: refs/heads/master@{#421651}