summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2017-06-01 21:32:26 +0300
committerBruno de Oliveira Abinader <bruno@mapbox.com>2017-06-13 13:37:41 +0300
commita05f060153497e1be6515120b65f580f4551f9e0 (patch)
treeb736fe12eebe4bfdac0154c4e45d4dbf26207b57 /include
parent28eb2e635417c7fb8d746a9ed1d76774066098b3 (diff)
downloadqtlocation-mapboxgl-a05f060153497e1be6515120b65f580f4551f9e0.tar.gz
[core] Added Backend::{assume,set}ScissorTest
Diffstat (limited to 'include')
-rw-r--r--include/mbgl/map/backend.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mbgl/map/backend.hpp b/include/mbgl/map/backend.hpp
index 23a75b82ae..2e73ad994c 100644
--- a/include/mbgl/map/backend.hpp
+++ b/include/mbgl/map/backend.hpp
@@ -62,6 +62,7 @@ protected:
// It sets the internal assumed state to the supplied values.
void assumeFramebufferBinding(gl::FramebufferID fbo);
void assumeViewport(int32_t x, int32_t y, const Size&);
+ void assumeScissorTest(bool);
// Returns true when assumed framebuffer binding hasn't changed from the implicit binding.
bool implicitFramebufferBound();
@@ -70,6 +71,7 @@ protected:
// supplied values.
void setFramebufferBinding(gl::FramebufferID fbo);
void setViewport(int32_t x, int32_t y, const Size&);
+ void setScissorTest(bool);
protected:
std::unique_ptr<gl::Context> context;