aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/codec/SkMasks.h
diff options
context:
space:
mode:
authorGravatar msarett <msarett@google.com>2015-08-06 15:34:42 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-08-06 15:34:42 -0700
commit4ab9d5f1bc6d05c49dc765c3de5ade816f4c968e (patch)
treeecab1b0e6d12a892197f81a89b3bd1df3e0e7a58 /src/codec/SkMasks.h
parent74992b579422a5e31fa07705d1f9206e0d919706 (diff)
Split SkBmpCodec into three separate classes
Will regress behavior on gold on test32bfv4.bmp, where we will no longer fix transparent decodes. TODO: Start fixing transparent decodes again, or decide that we don't want to fix them and remove isTransparent from SkSwizzler. I think this may become more clear when I start implementing the scanline decoder. BUG=skia: Review URL: https://codereview.chromium.org/1258863008
Diffstat (limited to 'src/codec/SkMasks.h')
-rw-r--r--src/codec/SkMasks.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/codec/SkMasks.h b/src/codec/SkMasks.h
index 31c6849940..0823704668 100644
--- a/src/codec/SkMasks.h
+++ b/src/codec/SkMasks.h
@@ -4,6 +4,9 @@
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
+#ifndef SkMasks_DEFINED
+#define SkMasks_DEFINED
+
#include "SkTypes.h"
/*
@@ -79,3 +82,5 @@ private:
const MaskInfo fBlue;
const MaskInfo fAlpha;
};
+
+#endif