summaryrefslogtreecommitdiff
path: root/test/map
Commit message (Collapse)AuthorAgeFilesLines
* [core] Replace MapChange enum with MapObserverBruno de Oliveira Abinader2017-03-152-27/+45
|
* [core] private OffscreenView implementationKonstantin Käfer2017-02-271-22/+22
|
* [core] Eliminate manual HeadlessBackend activation managementJohn Firebaugh2017-02-201-0/+2
|
* [core] Restore support for GL implementations without VAO extensionJohn Firebaugh2017-02-101-0/+19
|
* [test] Added unit test for style request failuresThiago Marcos P. Santos2017-02-071-0/+48
|
* [core] remove trailing whitespace, add trailing newlines, add space after //Konstantin Käfer2017-01-272-4/+4
|
* [core, ios] replace `altitude` with `fov`Ansis Brammanis2016-12-211-7/+7
| | | | | | | | | ported from -js: eb6c6596c6a7a61363d30356674e0002153b1d19 `altitude` was a terribly-named variable that was used to indirectly control the fov. This should eliminate some confusion. `altitude` was equivalent to `cameraToCenterDistance / height`
* Merge branch 'release-ios-v3.4.0' into 1ec5-release-ios-v3.4.0-beta.5-masterMinh Nguyễn2016-12-201-0/+12
|\ | | | | | | Also reran make style-code and manually discarded anything related to fill extrusion layers.
| * [test] Fixed Map-GetImageMinh Nguyễn2016-12-051-1/+1
| | | | | | | | Followup to #7096.
| * [core, ios, macos] Add image accessor to MGLStyle (#7096)Roman Blum2016-12-051-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | * [core] Add interface to get image from sprite atlas * [tests] Add tests for Map::getImage * [ios, macos] WIP: get MGLImage for name from style * [ios, macos] Fixed -imageForName: Convert from sprite images to platform images using the existing encodePNG() function, which is also used for printing. Allow -imageForName: to return nil without an assertion failure. Added a basic test.
* | [android][build] core tests - initial setup for rendering testsIvo van Dongen2016-11-271-0/+6
| |
* | [build] move headless rendering files to platform/defaultKonstantin Käfer2016-11-221-2/+2
| |
* | [build] move default ThreadPool implementation to platform/defaultKonstantin Käfer2016-11-221-1/+1
| |
* | [test] Use shared headless displayBruno de Oliveira Abinader2016-11-171-2/+6
| | | | | | | | Prevents some OpenGL implementations from bailing out.
* | [tests] Disable "ContinuousRendering" test; causing spurious CI failuresJohn Firebaugh2016-11-151-1/+1
| |
* | [core] add continuous rendering test that terminates once it settles downKonstantin Käfer2016-11-091-0/+59
| | | | | | | | This is to test that continuous mode stops rerendering once no further changes are needed, i.e. to test the absence of "busy rendering".
* | [core] Cleanup TransformState::getIntegerZoomBruno de Oliveira Abinader2016-10-311-0/+23
| |
* | [core] change std::array<uint16_t, 2> to mbgl::SizeKonstantin Käfer2016-10-272-35/+35
| |
* | [core] don't load tiles from sources that aren't usedKonstantin Käfer2016-10-271-0/+48
|/
* [core] move gl::Context to Backend and refactor ViewKonstantin Käfer2016-10-251-43/+27
|
* [core] separate Backend from View for headless renderingKonstantin Käfer2016-10-251-23/+39
|
* [core] [node] pass thread pool impl to Map constructorMike Morris2016-10-201-17/+19
| | | | | | | Updates mbgl::Map constructor usage everywhere Adds NodeThreadPool implementation using AsyncQueue to call Nan::AsyncQueueWorker from main thread
* [core] Fix Map::setLatLng behaviorBruno de Oliveira Abinader2016-10-071-0/+16
| | | | | We were erroneously assigning a value to optional<ScreenCoordinate> (null island), causing it to be a valid anchor for Transform::easeTo.
* [test] add .test.cpp suffix to test case filesKonstantin Käfer2016-09-282-0/+0
|
* [tests] Add tests for Map::[add|remove]ImageThiago Marcos P. Santos2016-09-221-0/+33
|
* [core] do not render layers that are outside their zoom rangeKonstantin Käfer2016-09-201-0/+61
| | | | So far, we didn't properly disable layers that are outside the zoom range. This means that we rendered layers that should not have been rendered, albeit we didn't make any attempt to load tiles for those layers. However, when zooming in/out, existing tiles might already have been loaded in the source which continued to be rendered. In most cases they weren't actually visible because either the matrices weren't updated, or the clip IDs weren't set so that they would be "rendered" off-screen and clipped completely. In any case, we did way too much work.
* [core] add MapChangeDidFinishLoadingStyle signal (#6371)Ivo van Dongen2016-09-201-0/+20
|
* [test] Added Map class accessors testsBruno de Oliveira Abinader2016-09-131-0/+34
|
* [tests] Add unit test for style loading failuresThiago Marcos P. Santos2016-08-241-0/+32
|
* [core] Emit MapChangeDidFailLoadingMap when the style cannot be loaded or parsedThiago Marcos P. Santos2016-08-241-1/+1
| | | | | Currently this signal is never emitted, which can cause the Still mode to starve in case of an invalid style or failed request.
* [tests] Test that style mutations due to annotations don't cancel style ↵John Firebaugh2016-08-231-0/+26
| | | | revalidation
* [core] Don't allow style mutations to be overwritten by revalidationJohn Firebaugh2016-08-231-0/+64
| | | | | * Once we get a fresh style, stop revalidating. * If the style is mutated, stop revalidating and preserve the existing mutations.
* [tests] Merge single test in set_style.cpp with other Map testsJohn Firebaugh2016-08-231-0/+19
|
* [core] support "scheme": "tms" in TileJSON filesKonstantin Käfer2016-08-161-1/+1
|
* Color class (#5361)Young Hahn2016-06-151-2/+3
| | | | | | * Color class * Switch to list initialization
* [core, node, android] Remove used "base" parameter from setStyleJSONJohn Firebaugh2016-06-021-4/+4
|
* [core] Rationalize naming for style-related codeJohn Firebaugh2016-06-021-1/+2
|
* [tests] Add basic tests for Map::{add,remove}LayerJohn Firebaugh2016-06-021-10/+38
|
* [core] Avoid NaNs in TransformState unit conversionsBruno de Oliveira Abinader2016-05-201-0/+40
| | | | | Fix cases where e.g. state has either zero width or height, causing the unit convertion functions would return NaNs.
* [core] remove MockView and View dependency in TransformKonstantin Käfer2016-05-181-25/+12
|
* [core] move from microsecond precision timestamp to integer second precisionKonstantin Käfer2016-05-131-1/+1
|
* [core] Added Viewport modeBruno de Oliveira Abinader2016-05-111-12/+12
| | | | | | Satisfies embedding platforms that requires the viewport coordinate systems to be set according to its standards e.g. viewport mirrored vertically.
* [core] retain tiles differently and remove old TileID classKonstantin Käfer2016-05-101-50/+0
|
* [core] Use geometry.hpp's pointJohn Firebaugh2016-05-051-4/+1
|
* [tests] Rationalize test fixtures (#4834)John Firebaugh2016-04-251-10/+10
| | | Place them in a directory corresponding to the test .cpp file name.
* [core] Use the proper type for font stacksJohn Firebaugh2016-04-221-1/+1
|
* [core] Convert MapContext to Map::Impl; eliminate indirectionJohn Firebaugh2016-04-152-26/+13
|
* [core] Clean up ThreadContext vestigesJohn Firebaugh2016-04-151-1/+1
|
* [tests] Use StubFileSource where a real FileSource is not requiredJohn Firebaugh2016-04-141-2/+2
|
* [core] Remove internal threading from OnlineFileRequestJohn Firebaugh2016-04-141-0/+3
| | | | There's no need to do the work that OnlineFileRequest does on a separate thread from the DefaultFileSource thread, and having AsyncTasks proxy to other tasks across a thread boundary adds needless complexity.