refactor bitmapshader to use a controller

BUG=skia:

Review URL: https://codereview.chromium.org/1153123003
6 files changed