summaryrefslogtreecommitdiff
path: root/test/miscellaneous
Commit message (Collapse)AuthorAgeFilesLines
* Install RapidJSON from masonJohn Firebaugh2015-10-011-26/+26
|
* [core] include api.mapbox.com in canonicalizationKonstantin Käfer2015-09-281-0/+56
| | | | and move the canonicalization to mapbox.cpp since it's not specific to the SQLiteCache
* Consolidate test-suite rendering harnesses (#2236)John Firebaugh2015-09-041-0/+61
|
* add Point <--> LatLng conversion testsAnsis Brammanis2015-08-271-0/+32
|
* Fixed missing labels and iconsLucas Wojciechowski2015-08-241-0/+1
|
* Support v8 sprite, glyph, and style mapbox:// urlsLucas Wojciechowski2015-08-211-4/+12
|
* Support new glyph URL syntaxLucas Wojciechowski2015-08-201-2/+1
|
* Adding special case for non-fontstack "glyph" resource URLsjakepruitt2015-07-271-0/+1
| | | | | | | - does not prepend /v4/ to api endpoints like /fonts/v1/ - only prepends it to things starting with /fontstack - solves the problem in #1918 - refs mapbox/mapbox-gl-style-spec#309
* Added unit tests for the WorkQueueThiago Marcos P. Santos2015-07-161-0/+63
|
* Unify default transition values in MapDataBruno de Oliveira Abinader2015-07-141-1/+8
| | | | | | | | | | | Relevant changes: - Added 'defaultFadeDuration' and 'defaultTransitionDelay' to MapData; - Painter & StyleParser now receives a reference to MapData; - As previously seen on the code: 300ms is the default fade duration and 0ms is the default transition duration; - We no longer pass the current time point to Style, since it now uses MapData.animationTime, which gets updated in MapContext::update(). - Updated StyleParser check to use a mock MapData;
* Make pixelRatio constant across a Map object lifetimeKonstantin Käfer2015-07-082-6/+6
| | | | also moves framebuffer size out of TransformState into its own object
* Do not force uv_loop_t as the first parameter for a threaded object ctorThiago Marcos P. Santos2015-07-061-3/+2
|
* Simplify RunLoopJohn Firebaugh2015-07-011-28/+33
| | | | | | | | Instead of transforming between return value and callback, pass the wrapped callback on to the invoked function as the last argument. This eliminates the need for multiple invokeWithArgument overloads and permits invoked functions to be asynchronous.
* Convert Worker tests to Thread testsJohn Firebaugh2015-07-012-104/+83
|
* Move WorkerTask functionality into RunLoop coreJohn Firebaugh2015-07-011-12/+19
| | | | | As a byproduct, this makes FileCache get requests properly cancelable.
* add assert_always() macro for release build assertionsKonstantin Käfer2015-06-291-0/+9
|
* Move Transform from MapData to MapJohn Firebaugh2015-06-262-9/+2
| | | | | Pass current state to MapContext where needed. Remove mutex from Transform.
* drive map rendering from main threadKonstantin Käfer2015-06-261-12/+1
|
* Add unit tests for ThreadContextThiago Marcos P. Santos2015-06-251-0/+29
|
* Introduce the ThreadContextThiago Marcos P. Santos2015-06-252-2/+2
| | | | | | | | | mbgl::Thread will keep a ThreadContext for each running instance in a thread_local so we don't need to lookup a man in the Environment every time we need some info about the current thread. This patch is moving the ::currentlyOn check used on Debug build from the Environment class to the ThreadContext.
* allow constructing LatLng/LatLngBounds objects from TileIDsKonstantin Käfer2015-06-081-0/+61
|
* Cleanup the MapContext before the util::Thread destructorThiago Marcos P. Santos2015-06-041-0/+1
| | | | | | | | | | The util::Thread will call the stop() method of the MapContext's RunLoop which will wait for the pending tasks tied to it to complete. If we have a request that is timeout'ing, this could mean a really long wait. Instead, we now send a cleanup message that will reset all the attributes first (canceling the pending requests) so the the MapContext gets destructed quickly.
* Merge remote-tracking branch 'origin/master' into HEADAnsis Brammanis2015-06-031-16/+12
|\ | | | | | | | | Conflicts: src/mbgl/renderer/painter_fill.cpp
| * Merge ResourceLoader into Style and move atlas ownershipJohn Firebaugh2015-06-011-16/+12
| |
* | Merge remote-tracking branch 'origin/master' into new-labellingAnsis Brammanis2015-05-283-3/+103
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/mbgl/map/source.cpp src/mbgl/map/source.hpp src/mbgl/map/tile_data.cpp src/mbgl/map/tile_parser.cpp src/mbgl/map/vector_tile_data.cpp src/mbgl/renderer/painter.cpp src/mbgl/renderer/symbol_bucket.cpp src/mbgl/text/glyph.hpp src/mbgl/text/glyph_store.cpp src/mbgl/text/placement.cpp test/suite
| * Replace mbgl::util::make_unique<> with std::make_unique<>Konstantin Käfer2015-05-262-3/+1
| |
| * Add Thread tests; get argument transfer working for all casesJohn Firebaugh2015-05-211-0/+102
| |
* | Reparse tiles when zoom level > source maxzoomAnsis Brammanis2015-05-282-103/+103
| | | | | | | | | | | | | | | | | | | | so that layout property functions are applied correctly and so that label placement is redone js: https://github.com/mapbox/mapbox-gl-js/pull/1005 and https://github.com/mapbox/mapbox-gl-js/commit/440bc02505eb66f198a3d98708ddc3d9453f453f
* | Merge branch 'master' into new-labellingAnsis Brammanis2015-05-196-0/+368
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/mbgl/map/tile_parser.cpp src/mbgl/map/tile_parser.hpp src/mbgl/renderer/painter.hpp src/mbgl/renderer/painter_symbol.cpp src/mbgl/renderer/symbol_bucket.cpp src/mbgl/renderer/symbol_bucket.hpp src/mbgl/text/collision.cpp src/mbgl/text/collision.hpp src/mbgl/text/placement.cpp
| * Removed unneeded unique_ptrThiago Marcos P. Santos2015-05-151-5/+3
| |
| * Make the MapContext object run on its own thread on the testsThiago Marcos P. Santos2015-05-151-5/+7
| | | | | | | | | | | | The MapContext can only run on its own thread because it is registering a EnvironmentScope and it is making many assertions on Debug mode if its methods are being called on the Map thread.
| * add BinPack testKonstantin Käfer2015-05-121-0/+51
| |
| * Merge pull request #1469 from mapbox/1435-android-gl-crashBrad Leege2015-05-112-11/+70
| |\ | | | | | | Android GL Crash
| | * Ignore deactivate when no valid EGL display. Fixes #1435Leith Bade2015-05-092-11/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Initialise NativeMapView's EGL variables before Map Fix hang Add check for double pause Add test for double pause
| * | ignore Transform changes with NaN parametersKonstantin Käfer2015-05-081-0/+125
| | |
| * | make WorkRequests cancelableKonstantin Käfer2015-05-081-10/+17
| | |
| * | add worker cancellation test (failing)Konstantin Käfer2015-05-081-0/+27
| | |
| * | Added tests for 6292e95f80fa2e0a9a7aa4d4d4e320a207e78d27Minh Nguyễn2015-05-071-0/+7
| | |
| * | Reference safety for Worker after callbacksJohn Firebaugh2015-05-061-0/+70
| |/ | | | | | | | | | | | | Joining a WorkRequest now ensures that either the after callback has already been executed, or will never be executed. Fixes #1438
| * Don't crash if ResourceLoader::_sprite is nullJohn Firebaugh2015-05-051-0/+22
| |
* | Merge master @ 353e5661deJason Wray2015-04-272-105/+106
|\ \ | |/
| * Move ClipID to clip_id.hpp/cppJohn Firebaugh2015-04-091-1/+1
| |
| * Tile::ID ⇢ TileIDJohn Firebaugh2015-04-062-104/+105
| | | | | | | | This allows making both Tile and TileID private.
* | Merge branch 'master' into new-labellingAnsis Brammanis2015-04-031-0/+5
|\ \ | |/ | | | | | | | | | | | | | | | | Conflicts: src/mbgl/renderer/symbol_bucket.cpp src/mbgl/renderer/symbol_bucket.hpp src/mbgl/text/collision.cpp src/mbgl/text/glyph_store.cpp src/mbgl/text/placement.cpp src/mbgl/text/rotation_range.cpp
| * add style URL testsJustin R. Miller2015-03-311-0/+5
| |
* | remove tests for deleted rotation_rangeAnsis Brammanis2015-04-021-139/+0
|/
* support wrapped bilinear scalingAnsis Brammanis2015-03-261-11/+11
| | | | | | to get rid of seams in repeating patterns. https://github.com/mapbox/mapbox-gl-styles/issues/50#issuecomment-86159351
* fix sprites for pixel ratios that are not 1 and 2Konstantin Käfer2015-03-171-0/+53
| | | | | | - OpenGL ES 2 doesn't allow NPOT textures with wrap-around - The Sprite object reported the map's pixelRatio, even though it loaded @2x assets - Copying icons from the sprite into the atlas now uses bilinear scaling to scale up to the actual size
* Revert "Move atlas ownership to Style"John Firebaugh2015-03-131-12/+16
| | | | This reverts commit bffee0715458530c6c86f440f757a4de667278a2.
* Move atlas ownership to StyleJohn Firebaugh2015-03-131-16/+12
| | | | | | This follows gl-js and just makes sense -- whenever the style changes the atlases should be blown away. Refs #957