diff options
author | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-01-08 21:25:26 +0000 |
---|---|---|
committer | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-01-08 21:25:26 +0000 |
commit | 1360c52b10dad45d7a6850370eab40c6253d7988 (patch) | |
tree | 31217c7147bd638fab02ba6bdfa3d6f544ca7a54 /include/core | |
parent | e48ef2ae5101ec421dfa3d3a9a4481c64f5bbee7 (diff) |
use SkImageInfo directly, instead of converting to SkBitmap::Config
BUG=
R=scroggo@google.com
Review URL: https://codereview.chromium.org/128933004
git-svn-id: http://skia.googlecode.com/svn/trunk@12972 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core')
-rw-r--r-- | include/core/SkSurface.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/core/SkSurface.h b/include/core/SkSurface.h index 3b7df4257f..f126465b3b 100644 --- a/include/core/SkSurface.h +++ b/include/core/SkSurface.h @@ -153,6 +153,7 @@ public: protected: SkSurface(int width, int height); + SkSurface(const SkImageInfo&); // called by subclass if their contents have changed void dirtyGenerationID() { |