summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* [core] Tighten geo.hpp ctorsBruno de Oliveira Abinader2017-04-143-9/+76
|
* [all] Remove redundant scale-related camera methodsJohn Firebaugh2017-04-131-49/+27
| | | | We don't need to have two different measurement systems for map zoom.
* [tests] Rewrite GlyphAtlas tests to use public APIJohn Firebaugh2017-04-131-66/+77
|
* [core] Inline GlyphSet into GlyphAtlasJohn Firebaugh2017-04-121-6/+5
|
* Merge branch 'release-ios-v3.5.0-android-v5.0.0' into ↵Fabian Guerra2017-04-111-0/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | boundsj-merge-release-branch # Conflicts: # cmake/core-files.cmake # mapbox-gl-js # platform/android/CHANGELOG.md # platform/ios/CHANGELOG.md # platform/macos/CHANGELOG.md # platform/qt/bitrise-qt5.yml # src/mbgl/gl/attribute.hpp # src/mbgl/gl/context.cpp # src/mbgl/gl/program.hpp # src/mbgl/map/map.cpp # src/mbgl/programs/program.hpp # src/mbgl/renderer/painter.cpp
| * [core] cache binary shaders on AndroidKonstantin Käfer2017-04-031-0/+39
| |
| * [core] check null data in query source features (#8553)John Firebaugh2017-03-281-0/+10
| | | | | | | | | | | | * [core] check null data in query source features * Include what you use
| * [test] Fix polygon construction to compile with clang 3.9.xDane Springmeyer2017-03-281-9/+9
| |
| * [core] don’t query rendered features until all data is availableIvo van Dongen2017-03-141-0/+88
| |
| * [core] query source featuresIvo van Dongen2017-03-102-0/+50
| |
* | [core] Added {set,get}{Min,Max}PitchBruno de Oliveira Abinader2017-04-111-0/+18
| |
* | [core] Added Map::{get,set}LatLngBoundsBruno de Oliveira Abinader2017-04-111-0/+39
| |
* | [core] Updated Size::isEmpty and TransformState::valid checksBruno de Oliveira Abinader2017-04-101-23/+58
| |
* | [core] Test glyph PBF parsing independently of GlyphAtlasJohn Firebaugh2017-04-062-67/+17
| |
* | [core] Add DDS support for {text,icon}-size (#8593)Anand Thakker2017-04-063-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Update gl-js and generate style code * Factor out packUint8Pair() helper function * Draft implementation of DDS for {text,icon}-size Ports https://github.com/mapbox/mapbox-gl-js/pull/4455 * Fix text-size/composite-function-line-placement test * Refactor to PaintPropertyBinders-like strategy * Dedupe gl::Program construction * Use exponential function base for interpolation * Dedupe coveringZoomStops method * Fixup tests * Fix CI errors (hidden within #if block)
* | [all] Make LatLng coordinates read-onlyJohn Firebaugh2017-04-065-149/+149
| |
* | [core] Tighten LatLng and other geo.hpp classesJohn Firebaugh2017-04-062-56/+7
| | | | | | | | | | * Remove LatLng::null and enforce invariants * Remove unnecessary operator bool()
* | [core] De-mutex GlyphAtlas and SpriteAtlasChris Loer2017-04-043-29/+53
| | | | | | | | | | | | | | | | | | | | | | | | - Expose glyph and icon information to workers via message interface. - Glyph/SpriteAtlas track which tiles have outstanding requests and send messages to them when glyphs/icons become available. - Remove obsolete "updateSymbolDependentTiles" pathway - Symbol preparation for a tile now depends on all glyphs becoming available before it can start. - Start tracking individual icons needed for a tile, although we don't do anything with the information yet. - Introduce typedef for GlyphID
* | [core] fixup stale constants references in test fixturesIvo van Dongen2017-04-043-9/+5
| |
* | Fix edge case in composite function interpolation (#8613)Anand Thakker2017-04-031-0/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes a bug where, for a zoom value greater than that of the highest zoom stop, composite function interpolation would return nan. (Blocking a render test over in #8593) * Add failing tests for composite function edge case The failing cases here are: - Should interpolate before the first stop - Should interpolate past the last stop * Fix edge case in composite function interpolation * Hold functions constant outside stop-defined domain
* | [core] Pass fully-evaluated layout properties to SymbolInstance and quad methodsJohn Firebaugh2017-03-311-12/+12
| |
* | [core] Introduce a fully-evaluated tuple type for layout propertiesJohn Firebaugh2017-03-313-15/+15
| |
* | [core] check null data in query source featuresIvo van Dongen2017-03-281-0/+9
| |
* | [glfw] Remove GL state restorationKonstantin Käfer2017-03-281-14/+0
| | | | | | | | We're doing all of this in our own context anyway, so no need to restore the state
* | [core] Remove private header includes from CLI utilitiesKonstantin Käfer2017-03-281-18/+0
| |
* | [android] - update VectorSource javadoc (#8521)Tobrun2017-03-241-4/+3
| | | | | | | | | | | | * [android] - update VectorSource docs on VectorSource creation * [tests] Test only CameraOptions center, zoom in CameraToLatLngBounds
* | [core] Added Map::latLngBoundsForCameraBruno de Oliveira Abinader2017-03-241-0/+22
| |
* | [core] Ensure that a BackendScope exists when doing GL callsKonstantin Käfer2017-03-239-2/+19
| |
* | [all] Replace Result<T> with optional<T> plus out Error parameterJohn Firebaugh2017-03-234-25/+35
| |
* | [core] cache binary shaders on AndroidKonstantin Käfer2017-03-221-0/+39
| |
* | Make Source::getZoomRange return an optional rangeBruno de Oliveira Abinader2017-03-211-9/+16
| |
* | [core] Prefer std::map to std::unordered_map for smaller binary sizeJohn Firebaugh2017-03-211-1/+1
| |
* | [core] s/onSourceDidChange/onSourceChanged/ + source refBruno de Oliveira Abinader2017-03-212-5/+5
| |
* | [core] Expose Source::getZoomRangeBruno de Oliveira Abinader2017-03-201-0/+24
| |
* | [core] Pass std::exception_ptr in MapObserver::onDidFailLoadingMapBruno de Oliveira Abinader2017-03-171-21/+13
| |
* | [core] Replace MapChange enum with MapObserverBruno de Oliveira Abinader2017-03-153-34/+69
| |
* | [core] don’t query rendered features until all data is availableIvo van Dongen2017-03-141-0/+88
| |
* | [test] Fix polygon construction to compile with clang 3.9.xDane Springmeyer2017-03-091-9/+9
| |
* | [core] query source featuresIvo van Dongen2017-03-092-0/+50
| |
* | [core] Avoid unnecessary convert template instantiationsJohn Firebaugh2017-03-092-2/+2
|/
* [test] Increase memory test ceiling slightlyJohn Firebaugh2017-03-081-2/+2
|
* For data-driven paint setters, transition immediately to target value (#8306)Anand Thakker2017-03-081-0/+45
| | | Closes #8237
* [core] Add support for queryRenderedFeatures filterAsheem Mamoowala2017-03-043-6/+53
|
* [core] Cache file source base URL and access tokenJesse Bounds2017-03-011-0/+16
| | | | | This caches the base URL and access token values when they are set so that they can still be retrieved even when the thread is paused.
* [core] Implement data-driven styling for ↵Anand Thakker2017-02-282-52/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | {text,icon}-{color,opacity,halo-color,halo-blur,halo-width} (#7939) * Add symbol dds attributes and adapt style code generation * Update to mapbox-gl-js/master * Refactor SymbolFeature as a subclass of GeometryTileFeature Prepares for enabling DDS on symbol paint properties by allowing the SymbolFeatures, which we keep around after constructing SymbolLayout, to be used in evaluating data-driven paint properties later in the layout process. * Draft approach for splitting icon/text paint properties The `Program` types are set up to bind GL attributes to each of the data-driven paint properties specified in the `PaintProperties` type provided. Since `SymbolPaintProperties` specifies both `Text*` and `Icon*` properties, the symbolIcon, symbolIconSDF, and symbolGlyph programs each attempt to bind roughly double the number of attributes that they actually need. This change addresses this by: - Adding the more specific `IconPaintProperties` and `TextPaintProperties` types, which are subsets of the full `SymbolPaintProperties`. - The symbol layer continues to use its `SymbolPaintProperties paint` member to track layer property state, but it provides helpers that construct objects of each the specific `{Icon,Text}PaintProperties::Evaluated` type, for use by the painter. - The three symbol programs instantiate `Program<>` using the appropriate `{Icon,Text}PaintProperties` type. * check in generated style code * Populate paint buffers for symbol DDS properties * Address first round of review comments * Refactor VectorTile{Layer,Feature} to explicitly share data * Update submodule
* [core] Log Memory.Footprint test results (#8170)Anand Thakker2017-02-283-29/+172
| | | | | | * Log Memory.Footprint test output * On CI, only run Memory.Footprint test with libjemalloc
* [core] There's only ever one icon quadJohn Firebaugh2017-02-281-132/+130
|
* [core] private OffscreenView implementationKonstantin Käfer2017-02-277-32/+32
|
* [core] Replace three maps/mutexes in GlyphAtlas with a single map and mutexJohn Firebaugh2017-02-271-12/+10
|
* [tests] Added unit tests for Thread::pause/resumeThiago Marcos P. Santos2017-02-251-0/+78
|