John Firebaugh
2bbde6903a
[core] Rename for clarity: ActiveTexture → ActiveTextureUnit
2017-09-11 10:17:54 -07:00
John Firebaugh
437f243d65
[core] Dirty the correct state when a texture is deleted
...
When a texture is deleted, it is as if all texture units to which that texture object is bound are rebound to texture object zero. Therefore it's the *bindings* that need to be dirtied, not the active texture unit.
2017-09-11 10:17:54 -07:00
Jason Wray
dfc5d51ae1
[ios] Fix slight mismerge in iosapp
2017-09-11 11:56:20 -04:00
Ivo van Dongen
36c307f04f
[android] test app - fix highlight buildings example
2017-09-11 09:40:43 +03:00
Asheem Mamoowala
50fd917510
Fast tileCount with help from @mapbox/sphericalmercator module
2017-09-08 17:38:42 -07:00
John Firebaugh
aa4dff1095
[core] Align line vertex to 4-byte boundary
...
10 byte vertices are heavily penalized by common GL implementations.
2017-09-08 09:35:47 -07:00
John Firebaugh
b05e5ddd34
[core] Fix z-fighting of translucent fills
2017-09-08 08:30:10 -07:00
Lauren Budorick
f8a53234ff
[core] Remove debug::renderTree
2017-09-07 12:07:46 -07:00
Pablo Guardiola
9ce7099089
[android] fix is download complete (a download is complete when count and required resources match and the download state is inactive) ( #9913 )
2017-09-07 17:26:26 +02:00
Ivo van Dongen
d736429271
[macos] snapshotter
2017-09-05 16:29:33 +03:00
Ivo van Dongen
b3b9ef5c6c
[ios] snapshotter
2017-09-05 16:29:33 +03:00
Ivo van Dongen
07343a34c5
[darwin] snapshotter
2017-09-05 16:29:33 +03:00
Ivo van Dongen
6d47471767
[ios] extend ui image additions with init from premultiplied image
2017-09-05 16:29:33 +03:00
Pablo Guardiola
89eb23e6b5
[android] make the android release all build batched ( #9907 )
2017-09-05 09:49:50 +02:00
Pablo Guardiola
73d980a6e7
bump MAS version number to 2.2.3 ( #9901 )
2017-08-31 18:27:12 +02:00
Ivo van Dongen
be859427a9
[core] remove map update enum
2017-08-31 18:45:28 +03:00
Ivo van Dongen
4c96603eb6
[core] move annotation tile updates to renderer
...
- AnnotationData.updateData() was not completely thread safe. Calling it from the renderer thread instead of the main thread fixes this
- Since we moved the coalescing of updates out of the map and into the renderer frontend implementations, the updateData was called too much, resulting in degraded performance. Moving it into the renderer makes sure it gets coalesced again.
2017-08-31 18:45:28 +03:00
Ivo van Dongen
377faaf4f8
[core] annotation manager - manage dirty state internally
2017-08-31 18:45:28 +03:00
Bruno de Oliveira Abinader
0694d224c7
[test] Enable render tests recycling the map object in node6-clang39-debug
2017-08-31 10:17:21 +03:00
Bruno de Oliveira Abinader
cfcf38053e
[test] Unignore render-tests/circle-pitch-alignment/*
2017-08-31 10:17:21 +03:00
Bruno de Oliveira Abinader
6f00becffe
[test] One map per pixel ratio in render.test.js --recycle-map
2017-08-31 10:17:21 +03:00
Bruno de Oliveira Abinader
b43d88b725
[test] Interpret render tests params: --recycleMap and --shuffle
2017-08-31 10:17:21 +03:00
Bruno de Oliveira Abinader
6ee8d7bb60
[node] Set style default camera upon each test suite run
2017-08-31 10:17:21 +03:00
Bruno de Oliveira Abinader
d43757271e
[node] Cleanup NodeMap::Render
2017-08-31 10:17:21 +03:00
Bruno de Oliveira Abinader
3f6f236f7b
[node] Split 'test-suite' run using 'run-s' script
2017-08-31 10:17:21 +03:00
Lauren Budorick
eaacc87901
Update gl-js SHA + ignore fill-extrusion-multiple test
2017-08-30 12:48:51 -07:00
Asheem Mamoowala
13169a6a82
Update gl-js SHA
2017-08-30 10:59:08 -07:00
Asheem Mamoowala
69b52367d3
[core][ios][macos][android]DDS-ify text-letter-spacing and text-max-width
2017-08-30 10:59:08 -07:00
Ivo van Dongen
966bf8824d
[android] map snapshotter
2017-08-30 17:18:37 +03:00
Ivo van Dongen
a90e2f3a2c
[android] add GenericWeakReference that can be deleted from any thread
2017-08-30 17:18:37 +03:00
Ivo van Dongen
fae9faab06
[default] map snapshotter
2017-08-30 17:18:37 +03:00
Ivo van Dongen
eba6d58312
[default] headless_frontend - support program cache dir
2017-08-30 17:18:37 +03:00
Ivo van Dongen
abecfe2333
[linux] headless display - support opengl es 2
2017-08-30 17:18:37 +03:00
Ivo van Dongen
6b9a1268a4
[core] enable Thread destruction from arbitrary threads
2017-08-30 17:18:37 +03:00
Ivo van Dongen
0bb97e2307
[core] make thread.hpp public
2017-08-30 17:18:37 +03:00
Bruno de Oliveira Abinader
af01d6ffee
[core] Set Style::Impl::loaded only when finishing parsing style
2017-08-30 16:43:13 +03:00
Bruno de Oliveira Abinader
e1dfdc9338
[core] Clear RenderGeoJSONSource tilePyramid if no data is available
2017-08-30 16:02:26 +03:00
Asheem Mamoowala
9491527eb6
Enable tests for #1350 , #9704
2017-08-29 14:48:47 -07:00
Pablo Guardiola
927774886e
bump MAS version number to 2.2.2 ( #9856 )
2017-08-29 21:05:29 +02:00
Fabian Guerra
a51ae29000
Merge branch release tag ios-v3.6.2
2017-08-29 11:24:42 -04:00
Anand Thakker
d436bcd56b
Add {Source,CompositeCamera}Function benchmarks ( #9838 )
2017-08-29 10:03:57 -04:00
Asheem Mamoowala
a2712f6fa4
Update to gejson 0.4.2 and add StyleParser test to verify that GeoJSON without properties field can be loaded
2017-08-28 15:43:18 -07:00
Fabian Guerra
dd18e1af1e
[android] Update sdk version.
2017-08-28 17:11:40 -04:00
Lauren Budorick
2de89a99bc
Implement icon-anchor property
2017-08-28 13:32:56 -07:00
Fabian Guerra
8c020591de
[android] Diable lint check for MissingTranslation
2017-08-28 15:18:20 -04:00
Fabian Guerra
acfe485302
Merge tag 'ios-v3.6.2' into master
...
# Conflicts:
# cmake/core-files.cmake
# include/mbgl/renderer/renderer_backend.hpp
# platform/android/CHANGELOG.md
# platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/AnnotationManager.java
# platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/IconManager.java
# platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapboxMap.java
# platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/Projection.java
# platform/android/dependencies.gradle
# platform/darwin/src/MGLStyle.mm
# platform/ios/CHANGELOG.md
# platform/ios/app/Info.plist
# platform/ios/app/MBXViewController.m
# platform/ios/ios.xcodeproj/project.pbxproj
# platform/macos/CHANGELOG.md
# src/mbgl/gl/attribute.cpp
# src/mbgl/gl/attribute.hpp
# src/mbgl/gl/context.hpp
# src/mbgl/gl/types.hpp
# src/mbgl/gl/value.cpp
# src/mbgl/gl/value.hpp
# src/mbgl/map/backend_scope.cpp
# src/mbgl/programs/attributes.hpp
# src/mbgl/programs/program.hpp
# src/mbgl/programs/segment.cpp
# src/mbgl/programs/segment.hpp
# src/mbgl/programs/symbol_program.hpp
# src/mbgl/programs/uniforms.hpp
# src/mbgl/renderer/buckets/symbol_bucket.hpp
# src/mbgl/renderer/painter.cpp
# src/mbgl/renderer/painter.hpp
# src/mbgl/renderer/painter_background.cpp
# src/mbgl/renderer/painter_circle.cpp
# src/mbgl/renderer/painter_clipping.cpp
# src/mbgl/renderer/painter_debug.cpp
# src/mbgl/renderer/painter_fill.cpp
# src/mbgl/renderer/painter_fill_extrusion.cpp
# src/mbgl/renderer/painter_line.cpp
# src/mbgl/renderer/painter_raster.cpp
# src/mbgl/renderer/painter_symbol.cpp
# src/mbgl/shaders/line.cpp
# src/mbgl/shaders/line_pattern.cpp
# test/renderer/backend_scope.test.cpp
2017-08-28 12:43:29 -04:00
Konstantin Käfer
c6ab20e5c6
[core] initialize OfflineDatabase asynchronously in DefaultFileSource
...
Sometimes, initialization can take hundreds of milliseconds, in particular when the database doesn't exist yet, or when the app/device is doing a lot of I/O already. Instead of synchronously initializing the OfflineDatabase objects, we're now asynchronously initializing the object through a self-sent message that by virtue of being the first message for this actor guarantees that the object is there when it's needed by other member functions.
2017-08-28 13:16:27 +02:00
Chris Loer
6cbeeff689
[core] Fix issue #9843 (overzoomed line label rendering glitch).
...
Ports fix for GL JS issue #5112 .
Line label projection can't be based on tile geometry that's behind the plane of the camera.
The relevant tests are still ignored because the overzoomed collision behavior is different between native and JS.
2017-08-25 14:20:42 -07:00
Chris Loer
17a3a805f1
[core] Add optional type template parameter to util::unit, so that it doesn't always pick up the default type of 'double' from util::mag.
2017-08-25 14:20:42 -07:00
Bruno de Oliveira Abinader
fe8cbc78d3
[core] Added GeometryTileWorker-owned image correlation ID
2017-08-25 23:41:52 +03:00