Simplify SkBitmapProvider
authorFlorin Malita <fmalita@chromium.org>
Thu, 10 Nov 2016 16:10:30 +0000 (11:10 -0500)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Thu, 10 Nov 2016 17:05:07 +0000 (17:05 +0000)
commite13a69baac9dc326510009fa7c0c5966aee9240c
tree2d50c5666d94ae35870a294e08238cce8e33d56f
parent152ad7e7fb518058ef1185249aab50dff09d6f5c
Simplify SkBitmapProvider

We're no longer using SkBitmap sources for SkBitmapProvider, so we can
restrict it to SkImage only.

At this point we could also remove it, but I think it'll come in handy
when we add shader subset support.

BUG=skia:5806
R=reed@google.com

GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4655

Change-Id: I298da253cc8f7c1205b543521e62060a202a9f78
Reviewed-on: https://skia-review.googlesource.com/4655
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Florin Malita <fmalita@chromium.org>
src/core/SkBitmapController.cpp
src/core/SkBitmapProcState.cpp
src/core/SkBitmapProcState.h
src/core/SkBitmapProvider.cpp
src/core/SkBitmapProvider.h