summaryrefslogtreecommitdiff
path: root/src/mbgl/gfx/types.hpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2019-02-28 12:03:29 +0100
committerKonstantin Käfer <mail@kkaefer.com>2019-02-28 17:43:40 +0100
commit864364083c204e27f3f7a42f004ab1d1c87561d4 (patch)
treed3995b51c4fe4d2fea83ea57ce308de0cd24b89c /src/mbgl/gfx/types.hpp
parent58e1bcf5d6ddf7677368cce8db6ce38c6ff36f5b (diff)
downloadqtlocation-mapboxgl-864364083c204e27f3f7a42f004ab1d1c87561d4.tar.gz
[core] move StencilMode to gfx namespace
Diffstat (limited to 'src/mbgl/gfx/types.hpp')
-rw-r--r--src/mbgl/gfx/types.hpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/mbgl/gfx/types.hpp b/src/mbgl/gfx/types.hpp
index 264fa67b04..8faa9dc7f9 100644
--- a/src/mbgl/gfx/types.hpp
+++ b/src/mbgl/gfx/types.hpp
@@ -55,5 +55,27 @@ enum class DepthMaskType : bool {
ReadWrite = true,
};
+enum class StencilFunctionType : uint8_t {
+ Never,
+ Less,
+ Equal,
+ LessEqual,
+ Greater,
+ NotEqual,
+ GreaterEqual,
+ Always,
+};
+
+enum class StencilOpType : uint8_t {
+ Zero,
+ Keep,
+ Replace,
+ Increment,
+ Decrement,
+ Invert,
+ IncrementWrap,
+ DecrementWrap,
+};
+
} // namespace gfx
} // namespace mbgl