GMs: change some GMs to use SkImage over SkBitmap
authorhalcanary <halcanary@google.com>
Fri, 21 Aug 2015 14:47:23 +0000 (07:47 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 21 Aug 2015 14:47:23 +0000 (07:47 -0700)
commit2f0a728e5aed1553811a44c4203b68853255f1bd
tree7002fb23b222addcdc57d119436e964a3a91e6b7
parentb30e9d3960567571946ed89cbe7f5a2bd8255f85
GMs: change some GMs to use SkImage over SkBitmap

Also, add GetResourceAsImage() to Resources.h

Motivation:  test drawImage() as much as we test drawBitmap()

Review URL: https://codereview.chromium.org/1306133003
gm/colorwheel.cpp
gm/grayscalejpg.cpp
tools/Resources.cpp
tools/Resources.h