summaryrefslogtreecommitdiff
path: root/include/mbgl/util/constants.hpp
Commit message (Collapse)AuthorAgeFilesLines
* [core] Remove debug::renderTreeLauren Budorick2017-09-071-1/+0
|
* Set Default MaxZoom to 22Asheem Mamoowala2017-08-211-0/+1
|
* [core] Use separate attribute component for line normalsJohn Firebaugh2017-08-081-1/+2
| | | | Broadcom GPUs don't cope well with using the least significant bit for this.
* [core] Prefetch low resolution tilesThiago Marcos P. Santos2017-07-071-0/+2
|
* [core] Obey "transition" property from style and its default valueJohn Firebaugh2017-06-151-1/+1
|
* [core] remove trailing whitespace, add trailing newlines, add space after //Konstantin Käfer2017-01-271-2/+2
|
* [core] Moved util::log2 to its own headerBruno de Oliveira Abinader2016-10-311-0/+2
| | | | | | - Added util::{MIN,MAX}_ZOOM_F to avoid consecutive conversions from double to float - Move util::log2 to its own header (part of mbgl/math)
* [core] [android] - public api configurable base endpoint (#6309)Tobrun2016-09-151-0/+2
| | | add runloop to test
* [core] OnlineFileSource - rate limitIvo van Dongen2016-09-131-0/+2
|
* [core] Use the right types for zoom scale logicBruno de Oliveira Abinader2016-06-281-1/+1
| | | | | | | 32 bit integers should be enough for zoom scale logic. In shape annotation logic, 'maxAmountOfTileFeatures' requires 64 bits because we are multiplying the zoom scale with the extent, which might give a number higher than std::numeric_limits<uint32_t>::max().
* [core] Added mbgl::util::DEFAULT_TRANSITION_EASEBruno de Oliveira Abinader2016-06-201-0/+3
|
* [core] fix pedantic warning messagesKonstantin Käfer2016-06-131-1/+1
|
* [core] use #pragma once instead of ifdef include guardsKonstantin Käfer2016-05-251-4/+1
|
* [core] move from microsecond precision timestamp to integer second precisionKonstantin Käfer2016-05-131-1/+1
|
* [core] Default fade duration is now a constantBruno de Oliveira Abinader2016-03-181-0/+1
|
* [core] use constexpr constantsKonstantin Käfer2016-03-161-17/+28
|
* [core] Added DEGREES_MAX as constant valueBruno de Oliveira Abinader2016-03-011-0/+1
|
* [core] Enforce constants usageBruno de Oliveira Abinader2016-03-011-0/+1
| | | | | Use 'LATITUDE_MAX', 'LONGITUDE_MAX', 'DEG2RAD' and 'RAD2DEG' whenever possible.
* [core] Build fixThiago Marcos P. Santos2016-02-261-1/+1
| | | | Fix no viable conversion on OSX.
* [core] Add timeout for clock skewThiago Marcos P. Santos2016-02-261-0/+4
| | | | | | | | | | If the server keeps sending replies considered from the client in the past (there is no way to tell if the server or client clock is wrong), the client will try to interpolate a valid expiration time based on the delta of the expiration intervals sent by the server. If the intervals are always the same, exponential backoff kicks in until we get a different expiration time from what we already have.
* [core] Eliminate maximumCacheEntrySizeJohn Firebaugh2016-02-101-1/+0
| | | | Instead, the eviction policy accounts for the actual size needed for an incoming put.
* [core] Implement an eviction policy for OfflineDatabaseJohn Firebaugh2016-02-101-0/+3
| | | | | | | | | | | | | When inserting an cached resource, or removing a region, remove least-recently used resources and tiles, not used by offline regions, until the used database size, as calculated by multiplying the number of in-use pages by the page size, is less than the maximum cache size minus 5 times the page size. In addition, OfflineDatabase may be configured to ignore cache puts of individual resources larger than a certain size. This policy is similar but not identical to the former SQLiteCache policy: * It accounts for offline, by exempting resources required by offline regions from eviction. * It must delete from two tables (resources and tiles), rather than one. Currently the strategy is naive: evict 50 rows at a time from each table. * It makes maximumCacheSize and maximumCacheEntrySize completely independent. The SQLiteCache implementation evicted when `usedSize > maximumCacheSize - 2 * maximumCacheEntrySize`. This evicts when `usedSize > maximumCacheSize - 5 * pageSize`. * It uses a non-unlimited default value for maximumCacheSize: 50 MB. We should have always had a limit in place; "a cache without an eviction policy is a resource leak".
* [core] #509 - Creating and using MIN_ZOOM and MAX_ZOOM constantsBrad Leege2016-02-031-0/+2
|
* [core] support tiles with non-4096 extentsAnsis Brammanis2016-02-021-0/+1
| | | | | Convert all geometries to the maximum extent supported by our buffers and then use that constant extent everywhere else.
* [core] Clamp pitch in easeTo(), flyTo()Minh Nguyễn2015-12-191-0/+1
| | | | Also factored out the maximum pitch into a constant.
* [core] add namespace comment to closing braceKonstantin Käfer2015-12-031-3/+3
|
* Add style change functionality to the Linux test appThiago Marcos P. Santos2015-05-071-0/+1
| | | | | | | Makes the life of people using Linux as development environment way easier. Just press 's' to cycle through 3 different styles.
* make more things const and refs, and add mutexesKonstantin Käfer2015-03-201-2/+0
|
* refs #893 #992: point annotations APIJustin R. Miller2015-03-171-0/+3
|
* fixes #476 & #853: pixel/meter/latlng conversion routines in core & iOSJustin R. Miller2015-02-161-0/+7
|
* report version number in user agent stringKonstantin Käfer2014-12-081-2/+0
| | | | refs #628
* add user agent headerKonstantin Käfer2014-12-081-0/+32
| | | | fixes #628
* make most headers privateKonstantin Käfer2014-12-041-33/+0
|
* rename llmr => mbglKonstantin Käfer2014-07-161-0/+33