summaryrefslogtreecommitdiff
path: root/src/mbgl/gfx/context.hpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2019-04-02 22:35:46 +0200
committerKonstantin Käfer <mail@kkaefer.com>2019-04-05 11:49:17 +0200
commit7081d5e154e208322b95f8efab74ec6e014a263d (patch)
tree64193adfae03364f8979ff1a0216a14db5572f8b /src/mbgl/gfx/context.hpp
parent1d58850d0c5b467132af92eb0604b903b9199e8d (diff)
downloadqtlocation-mapboxgl-7081d5e154e208322b95f8efab74ec6e014a263d.tar.gz
[core] move depth/stencil buffer debug viz to gfx::Context
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