summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIvo van Dongen <info@ivovandongen.nl>2017-07-25 07:44:19 (GMT)
committerIvo van Dongen <ivovandongen@users.noreply.github.com>2017-07-25 14:44:28 (GMT)
commit27343c6a75aba9c4d04b0362fc0e50889f0e2e69 (patch)
tree028cd06f534b09f1df7871cd11e0b726e0ce0377 /include
parent906fc0421aa85308460586023cfe727501c9bbb5 (diff)
downloadqtlocation-mapboxgl-27343c6a75aba9c4d04b0362fc0e50889f0e2e69.tar.gz
[core] fix backend scope handling on render, cleanup and lowmemory
- Make renderer frontend responsible for creating a BackendScope on render - encapsulate backend scope handling on cleanup and low memory in renderer impl
Diffstat (limited to 'include')
-rw-r--r--include/mbgl/renderer/renderer_backend.hpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/mbgl/renderer/renderer_backend.hpp b/include/mbgl/renderer/renderer_backend.hpp
index a383329..c12e162 100644
--- a/include/mbgl/renderer/renderer_backend.hpp
+++ b/include/mbgl/renderer/renderer_backend.hpp
@@ -30,10 +30,6 @@ public:
// Called prior to rendering to update the internally assumed OpenGL state.
virtual void updateAssumedState() = 0;
- virtual BackendScope::ScopeType getScopeType() const {
- return BackendScope::ScopeType::Explicit;
- }
-
protected:
// Called with the name of an OpenGL extension that should be loaded. RendererBackend implementations
// must call the API-specific version that obtains the function pointer for this function,