Bruno de Oliveira Abinader
549929cefd
[core] Set bucket segments to initialize empty
2016-11-02 18:12:28 +02:00
Tobrun
7534aa1594
[android] - fix public xml api for drawables, fixup QueryRenderedFeatursBoxSymbolCountActivity ( #6879 )
2016-11-02 16:20:47 +01:00
Tobrun
4d0c42e36a
Prefix library resources to avoid naming conflicts ( #6878 )
...
* [android] - add library resource prefix
* update SDK resources with prefix
* fixup tests
2016-11-02 12:41:22 +01:00
Ivo van Dongen
9ad5dd1585
[android] add test activity for symbol querying
2016-11-02 13:38:07 +02:00
Cameron Mace
53610ee378
removes sdk manager plugin ( #6865 )
...
* removes sdk manager plugin
* removed rest of sdk manager plugin
2016-11-01 17:15:09 -04:00
Konstantin Käfer
0208dc2833
[core] satisfy Xcode project upgrader
2016-11-01 18:46:49 +01:00
Konstantin Käfer
e4e9b3a2f0
[core] convert FrameHistory to use managed texture handling
2016-11-01 18:41:52 +01:00
Konstantin Käfer
ed155460d3
[core] convert LineAtlas to use managed texture handling
2016-11-01 18:41:52 +01:00
Konstantin Käfer
7b50cac49f
[core] convert GlyphAtlas to use managed texture handling
2016-11-01 18:41:52 +01:00
Konstantin Käfer
358701f475
[core] add ability to upload alpha-only textures + images
2016-11-01 18:41:52 +01:00
Konstantin Käfer
9e3839781f
[core] convert SpriteAtlas to use managed texture handling
2016-11-01 18:41:52 +01:00
Bruno de Oliveira Abinader
e2981c890e
Revert "[core] Don't use GL_LINEAR if panning w/o rotation nor pitch"
...
This reverts commit a70bfd8910 .
2016-11-01 17:44:34 +02:00
Konstantin Käfer
bb6e39a1cf
[core] fix depth/stencil visualization
...
The previous code didn't set the packing correctly, which meant that we had a buffer overrun in the debug code.
2016-11-01 10:46:04 +01:00
Konstantin Käfer
f7801e5d82
[core] correctly set the framebuffer size on retina screens
...
Also asserts in Debug mode that the internal state and the OpenGL state are identical
2016-11-01 10:46:04 +01:00
Justin R. Miller
dfd4057121
[ios, macos] document custom API URL & add Info.plist guide ( #6833 )
...
Also support base URL nullability in order to use default value.
2016-10-31 22:34:01 -07:00
Cameron Mace
8bee27381c
updated directions example in testapp to v5 ( #6843 )
2016-10-31 12:14:04 -04:00
Bruno de Oliveira Abinader
7b3e24d74a
[core] Cleanup TransformState::getIntegerZoom
2016-10-31 16:53:07 +02:00
Bruno de Oliveira Abinader
384f1a1960
[core] Use numeric_limits<>::max() for checking element groups
2016-10-31 16:53:07 +02:00
Bruno de Oliveira Abinader
38f536049a
[core] Moved util::log2 to its own header
...
- 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)
2016-10-31 16:53:07 +02:00
Bruno de Oliveira Abinader
a70bfd8910
[core] Don't use GL_LINEAR if panning w/o rotation nor pitch
2016-10-31 16:53:07 +02:00
Bruno de Oliveira Abinader
f03afdee21
[core] Use overscaledZ for scale in collision box shader
2016-10-31 16:53:07 +02:00
Tobrun
ccc3964270
Android Nougat compatibility: onstart/onstop on MapView ( #6830 )
...
* introduce onstart/onstop on MapView
* update wear module
* update fragments
* update changeling
2016-10-31 13:17:56 +01:00
Tobrun
38ee3408c2
[android] - prevent null pointer when receiving connectivity change events while destroying the underlying map ( #6858 )
2016-10-31 10:59:18 +01:00
John Firebaugh
39d5cb3250
[core] Use VAOs internally
2016-10-28 17:14:07 -07:00
John Firebaugh
0e57d10d77
[core] Modern C++ bindings for OpenGL
2016-10-28 17:14:01 -07:00
John Firebaugh
a4c82b8a3b
[core] operator bool() must always be explicit
...
Otherwise, it can participate in unexpected conversions. Case in point: GlyphSet::insert was comparing the result of GlyphMetrics::operator bool() where it wanted to use operator==.
2016-10-28 17:10:45 -07:00
John Firebaugh
ee3235708f
[core] Methods don't need to be Painter instance methods
2016-10-28 17:09:51 -07:00
Bruno de Oliveira Abinader
fa96612888
[Qt] Fix viewport size for Linux on Qt5
2016-10-28 14:36:07 +03:00
Konstantin Käfer
62b56b799a
[core] change std::array<uint16_t, 2> to mbgl::Size
2016-10-27 18:30:58 -07:00
Konstantin Käfer
ef8017198c
[core] remove tiles for disabled sources
...
When no layer of a source is visible anymore, we are now evicting tiles that are still stored in that source and move them to the cache.
2016-10-27 18:14:53 -07:00
Konstantin Käfer
91272992f3
[core] don't load tiles from sources that aren't used
2016-10-27 16:15:36 -07:00
Tobrun
e7bfa7849e
[android] - Update to Android Studio 2.2.2 with tools/dependencies ( #6390 )
...
* [android] - update android gradle tools, update test app version number, update target sdk to nougat, update support lib versions to latest
* new tools generated an aligned test apk, breaks CI integration
* update to Nougat release 7.1, update related tooling, update version code test app to 5.0.0.
* update wear module
* update gradle.properties
2016-10-26 16:09:51 +02:00
Konstantin Käfer
a4d259c33f
[core] move gl::Context to Backend and refactor View
2016-10-25 13:52:36 -07:00
Konstantin Käfer
5cc390d694
[core] separate Backend from View for headless rendering
2016-10-25 13:52:36 -07:00
Cameron Mace
45f4dc0166
removed brew cask install android studio instruction ( #6723 )
...
* removed brew cask install android studio instruction
* link to download JDK
* made fixes to instruction
2016-10-25 16:44:03 -04:00
Tobrun
3457eb1144
[android] - MarkerView is responsible for managing height and width of a Marker (opposed to the recycled view). ( #6809 )
2016-10-25 17:36:26 +02:00
Ivo van Dongen
b14e83ea40
[core] geojson source - cancel any pending request when setting geojson explicitly
2016-10-25 16:11:36 +02:00
Ivo van Dongen
6277dca898
[core] geojson source - clear cache when json content is set
2016-10-25 16:11:36 +02:00
Tobrun
b0485bccd9
[android] - remove timer from compassView, make fading when facing north optional. ( #6786 )
...
save state for recreating map view
fix review comments
unit test covering default value for fading and setting a new value
fixup setter, fix default value
2016-10-25 15:53:16 +02:00
Tobrun
94b1a53f06
[android] - move marker view click handling to core ( #5639 )
2016-10-25 15:11:49 +02:00
Ivo van Dongen
068e78a2e7
[core] geojson source - reset req on setURL
2016-10-25 12:47:35 +02:00
Ivo van Dongen
31a7925205
[android] fix exception class
2016-10-25 12:41:28 +02:00
Bruno de Oliveira Abinader
fb9fbef6dd
[test] Update mapbox-gl-test-suite hash
...
Now testing 'query-tests/symbol-features-in/pitched-screen'.
2016-10-25 08:12:31 +03:00
Bruno de Oliveira Abinader
72df1658fa
[glfw] Added queryPointAnnotations shortcut
2016-10-25 08:12:31 +03:00
Bruno de Oliveira Abinader
e55065e62a
[core] Reuse last placement data in CollisionTile::queryRenderedFeatures
...
To obtain precise results, we:
1. Round scale value to obtain same results from symbol shader.
2. Generate a boost geometry polygon to check if it intersects()
against all feature boxes.
3. Check if current scale is within each feature's minimum and maximum
placement scales.
4. De-scale feature boxes when intersecting to account for the
fractional zoom scaling.
2016-10-25 08:12:31 +03:00
Bruno de Oliveira Abinader
fc6344c546
[core] Added util::polygonIntersectsPolygon
2016-10-25 08:12:31 +03:00
Bruno de Oliveira Abinader
679bfbfb32
[core] Simplify CollisionTile::findPlacementScale
...
Improve findPlacementScale semantics by moving the check if the
placement scale result is bigger than minimum scale out of the function
scope.
2016-10-25 08:12:31 +03:00
Bruno de Oliveira Abinader
846e57de58
[core] Avoid duplicating edges for CollisionTile
...
Make 'edges' static to avoid every instance of CollisionTile having its
own copy of it.
2016-10-25 08:12:31 +03:00
Bruno de Oliveira Abinader
8743f11345
[core] Cleanup function signatures in CollisionTile
...
- Prefer pass-by-value for primitive types.
- Use floating point precision for yStretch to match receiving type.
2016-10-25 08:12:31 +03:00
Tobrun
ed1ceecc09
[android] - only pin certificates on current used environement. ( #6766 )
...
update certificates sha256 for certificate pinning.
2016-10-24 22:38:10 +02:00