There are many use cases where createImageBitmap receives a GPU-accelerated source image (a canvas, for example) and produces an ImageBitmap object that resides in RAM. This should be avoided whenever possible. And we should have regression tests for this
Idea for regression test: Put DCHECKs that verify that we get Gpu-accelerated output for gpu-accelerated input, and count on layout tests for covering all the permutations.
Comment 1 by bugdroid1@chromium.org
, Sep 18 2017