diff options
author | reed <reed@chromium.org> | 2016-02-15 07:48:35 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-15 07:48:35 -0800 |
commit | a34be68a7eff0ae475b194f8a29975460cf3e456 (patch) | |
tree | 4cec53acc400eb2788a24c320e551ebac0d27d34 /include/views | |
parent | bd6366a69ec890211496892e1a76535439ca2b30 (diff) |
blitters for sRGB and float16
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1697863002
Review URL: https://codereview.chromium.org/1697863002
Diffstat (limited to 'include/views')
-rw-r--r-- | include/views/SkWindow.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/views/SkWindow.h b/include/views/SkWindow.h index 6db85a421c..850a7e7211 100644 --- a/include/views/SkWindow.h +++ b/include/views/SkWindow.h @@ -41,9 +41,12 @@ public: fSurfaceProps = props; } + SkImageInfo info() const { return fBitmap.info(); } const SkBitmap& getBitmap() const { return fBitmap; } void resize(int width, int height); + void resize(const SkImageInfo&); + void setColorType(SkColorType, SkColorProfileType); bool isDirty() const { return !fDirtyRgn.isEmpty(); } bool update(SkIRect* updateArea); |