summaryrefslogtreecommitdiff
path: root/src/mbgl/gfx/context.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/gfx/context.hpp')
-rw-r--r--src/mbgl/gfx/context.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mbgl/gfx/context.hpp b/src/mbgl/gfx/context.hpp
index c956debcb0..140d3b2356 100644
--- a/src/mbgl/gfx/context.hpp
+++ b/src/mbgl/gfx/context.hpp
@@ -162,6 +162,12 @@ private:
public:
virtual std::unique_ptr<CommandEncoder> createCommandEncoder() = 0;
+
+#if not defined(NDEBUG)
+public:
+ virtual void visualizeStencilBuffer() = 0;
+ virtual void visualizeDepthBuffer(float depthRangeSize) = 0;
+#endif
};
} // namespace gfx