WebGL2: Support non-power-of-two textures. (bug 1080921, r=jgilbert).

--HG--
extra : rebase_source : 6d948f27ec14cea54211f62dc0dc813419eb5151