summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* [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
|
* [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
|
* [core] don't treat empty raster tiles as "DataAvailability::All"Konstantin Käfer2017-02-221-0/+15
|
* [core] Eliminate manual HeadlessBackend activation managementJohn Firebaugh2017-02-203-47/+47
|
* [test] add unit test for DefaultFileSource::setResourceTransform()Konstantin Käfer2017-02-201-0/+30
|
* [tests] Disable timing-based Timer tests in CIJohn Firebaugh2017-02-151-1/+1
|
* [core] Eliminate SpritePatternModeJohn Firebaugh2017-02-141-8/+8
|
* [core] Combine SpriteAtlas::getPosition with SpriteAtlas::getImageJohn Firebaugh2017-02-142-3/+5
|
* [core] Eliminate SpriteAtlas::updateDirtyJohn Firebaugh2017-02-141-6/+19
| | | | Simplify internal datastructures. Properly remove rects from the bin pack when an image is removed.
* [core] Make Image saferJohn Firebaugh2017-02-144-13/+39
| | | | | | Provide Image::copy, which handles copying rectangles from a source to a destination, with thorough bounds checking. Also fixes an indexing error in SpriteAtlas, where the top row of pixels in a wrapped image was copied from the wrong source row.
* [tests] Use test::checkImageJohn Firebaugh2017-02-145-17/+5
|
* [core] add tests for user/password, port, trailing dot, and IPv4/IPv6 ↵Konstantin Käfer2017-02-131-0/+20
| | | | address parsing
* Upright CJK characters in vertically-oriented labels (#7114)Minh Nguyễn2017-02-101-1/+1
| | | | | CJK characters and adjacent punctuation now remain upright in vertically oriented labels that have line placement. Fixes #1682.
* [core] Restore support for GL implementations without VAO extensionJohn Firebaugh2017-02-102-0/+19
|
* [core] Restore support for *-transition propertiesJohn Firebaugh2017-02-091-0/+46
|
* [core, ios, macos] Refactor composite stop types and conversionsJohn Firebaugh2017-02-091-3/+6
|
* compare polygon ring areas absolutelynode-v3.4.4-13e504Dane Springmeyer2017-02-091-0/+46
| | | | | - This ensures we actually keep the largest polygons - Adds testcase that fails without this patch
* [test] Added a test to make sure 404 does not trigger a retryThiago Marcos P. Santos2017-02-071-0/+5
|
* [test] Added unit test for style request failuresThiago Marcos P. Santos2017-02-072-0/+79
|
* regex is no longer used after 6c91c3eDane Springmeyer2017-02-022-4/+1
|
* [core] default value support in categorical function conversionIvo van Dongen2017-02-023-2/+132
|
* [core] Add support for data-driven stylingJohn Firebaugh2017-02-0211-157/+182
|
* [core] remove trailing whitespace, add trailing newlines, add space after //Konstantin Käfer2017-01-2713-45/+45
|
* [Qt] Implement mapbox::sqlite::{Database,Statement} using QtSqlBruno de Oliveira Abinader2017-01-232-19/+27
|
* [core] Move lastInsertRowId/changes to sqlite::StatementBruno de Oliveira Abinader2017-01-231-0/+19
|
* [core] Clean up merge_lines.cpp and add bounds checkingJohn Firebaugh2017-01-181-0/+24
|
* [core] Remove platform-specific main.cpp from MBGL_TEST_FILESBruno de Oliveira Abinader2017-01-181-20/+0
|
* [core] Fix calculation of delayed transitionsJohn Firebaugh2017-01-171-0/+94
|
* [core] abort early when placing a glyph in GlyphAtlas if the bitmap is invalidKonstantin Käfer2017-01-171-0/+40
|
* [core] harden Glyph PBF parsingKonstantin Käfer2017-01-174-0/+188
|
* [test] add tests for paths with leading slashesKonstantin Käfer2017-01-171-0/+34
|
* [core] include leading slash in URL.pathKonstantin Käfer2017-01-171-25/+25
|
* [core] add tests for function parsingKonstantin Käfer2017-01-161-0/+54
|
* [tests] Sidestep a gcc or gtest bugJohn Firebaugh2017-01-111-5/+5
| | | | | | | https://github.com/google/googletest/issues/458 https://github.com/google/googletest/issues/322 Not seen in CI because of https://github.com/mapbox/mapbox-gl-native/blob/0ef52d7f7ceee670e8961e811364d215fde7e980/scripts/travis_setup.sh#L17-L22
* [core] Fix flickering caused by regression in #7586John Firebaugh2017-01-103-4/+98
| | | | It should be safe to invoke GeometryTileWorker::setData multiple times without invoking GeometryTileWorker::setLayers. Therefore GeometryTileWorker::redoLayout() must not consume the layers.
* [core] Replace FeatureIndex::collisionTile with a method parameterJohn Firebaugh2017-01-101-9/+1
| | | | This reduces state and simplifies the test added in the prior commit.
* [core] Keep symbol and non-symbol buckets segregatedJohn Firebaugh2017-01-101-0/+43
| | | | Discard prior symbol buckets only when new symbol buckets became available, in order to eliminate flickering when tiles are refreshed.