summaryrefslogtreecommitdiff
path: root/src/mbgl/gl/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/gl/context.hpp
parent1d58850d0c5b467132af92eb0604b903b9199e8d (diff)
downloadqtlocation-mapboxgl-7081d5e154e208322b95f8efab74ec6e014a263d.tar.gz
[core] move depth/stencil buffer debug viz to gfx::Context
Diffstat (limited to 'src/mbgl/gl/context.hpp')
-rw-r--r--src/mbgl/gl/context.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mbgl/gl/context.hpp b/src/mbgl/gl/context.hpp
index 062cbd7b8a..ae935e32cb 100644
--- a/src/mbgl/gl/context.hpp
+++ b/src/mbgl/gl/context.hpp
@@ -241,6 +241,12 @@ private:
public:
// For testing
bool disableVAOExtension = false;
+
+#if not defined(NDEBUG)
+public:
+ void visualizeStencilBuffer() override;
+ void visualizeDepthBuffer(float depthRangeSize) override;
+#endif
};
} // namespace gl