aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/views
diff options
context:
space:
mode:
authorGravatar reed <reed@chromium.org>2016-02-15 07:48:35 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-02-15 07:48:35 -0800
commita34be68a7eff0ae475b194f8a29975460cf3e456 (patch)
tree4cec53acc400eb2788a24c320e551ebac0d27d34 /include/views
parentbd6366a69ec890211496892e1a76535439ca2b30 (diff)
blitters for sRGB and float16
Diffstat (limited to 'include/views')
-rw-r--r--include/views/SkWindow.h3
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);