diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2015-10-20 12:52:40 -0700 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2015-10-22 16:02:39 -0700 |
commit | 54858dae8cb92ba3e111422cdc8188f6d38ab4a9 (patch) | |
tree | f3a014e019aebf72068fadc5a7a8c52d371cd203 /include/mbgl/map | |
parent | a1c53d92e59608ab5876d4877c90407b15e0482b (diff) | |
download | qtlocation-mapboxgl-54858dae8cb92ba3e111422cdc8188f6d38ab4a9.tar.gz |
[core] Added save/restore capabilities to GL config
Diffstat (limited to 'include/mbgl/map')
-rw-r--r-- | include/mbgl/map/mode.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/mbgl/map/mode.hpp b/include/mbgl/map/mode.hpp index 3e838dca99..6ad9af5c74 100644 --- a/include/mbgl/map/mode.hpp +++ b/include/mbgl/map/mode.hpp @@ -10,6 +10,10 @@ enum class MapMode : uint8_t { Still, // a once-off still image }; +// We can avoid redundant GL calls when it is known that the GL context is not +// being shared. In a shared GL context case, we need to make sure that the +// correct GL configurations are in use - they might have changed between render +// calls. enum class GLContextMode : uint8_t { Unique, Shared, |