summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* [core] Refactor CustomLayer internalsJohn Firebaugh2017-06-221-0/+4
| | | | Move the responsibility for initialization/deinitialization/rendering to RenderCustomLayer. This eliminates special case code from Map and Style.
* [tests] Add tests for MapObserver::on{WillStart,DidFinish}LoadingMapJohn Firebaugh2017-06-221-0/+50
|
* [core] always return owning pointers for GeometryTileData::getLayer()Konstantin Käfer2017-06-211-2/+1
|
* [core] add MBGL_CHECK_ERROR to some locations where it was missingKonstantin Käfer2017-06-211-2/+2
|
* [core] Rename ThreadedObject to ThreadThiago Marcos P. Santos2017-06-213-38/+38
| | | | | Now that the old Thread class is gone, we can give ThreadedObject a better name.
* [core] Remove util::ThreadThiago Marcos P. Santos2017-06-211-296/+0
| | | | Fixes #6425
* [tests] Port the ThreadLocalStorage test to the actor modelThiago Marcos P. Santos2017-06-211-16/+29
|
* [tests] Port the AsyncTask test to the actor modelThiago Marcos P. Santos2017-06-211-30/+29
|
* [core] Convert AssetFileSource to ThreadedObjectThiago Marcos P. Santos2017-06-211-16/+9
|
* [tests] Added tests for ThreadedObjectThiago Marcos P. Santos2017-06-211-0/+277
|
* [core] Trigger repaint on source changesAsheem Mamoowala2017-06-191-1/+1
|
* [iOS][macOS] Export `MGLImageSource`, add and update documentation. Use ↵Asheem Mamoowala2017-06-191-1/+1
| | | | animated ImageSource demo in iOS test app
* [core] Fix composite function approximation for non-integer stopsJohn Firebaugh2017-06-161-0/+25
|
* [core] Implement "smart setStyle"John Firebaugh2017-06-151-28/+0
|
* [core] Remove unused binpack.hpppJohn Firebaugh2017-06-131-51/+0
|
* [core] Per-tile glyph/icon atlasesJohn Firebaugh2017-06-133-24/+44
|
* [core] Per-bucket icon atlasesJohn Firebaugh2017-06-1315-204/+164
|
* [core] Per-bucket glyph atlasesJohn Firebaugh2017-06-136-42/+42
|
* [core] Added Backend::{assume,set}ScissorTestBruno de Oliveira Abinader2017-06-131-0/+10
|
* Fix undefined memory access in getCoveringRanges() (#9227)Anand Thakker2017-06-091-0/+61
| | | | | | | | | | | | * Add simple unit tests for SymbolSizeBinder * Fix bug in symbol size uniform value calculation For camera functions we were setting the zoom levels in "covering ranges" to `[(zoom stop <= tile zoom), (zoom stop >= 1 + tile zoom)]`, but then evaluating the function at `[tile_zoom, tile_zoom + 1]`. * Check for it != end() before accessing it->first
* [core] Collection-level immutabilityJohn Firebaugh2017-06-051-2/+2
| | | | Introduce a second level of immutability, over each of the collections held by a style: sources, images, and layers. Tracking immutability at this level allows us to short-circuit significant portions of the RenderStyle update logic via a simple equality check, greatly improving performance.
* [core] Fix several bugs in AnnotationManagerJohn Firebaugh2017-06-051-0/+6
|
* [core] Split RenderStyle from StyleJohn Firebaugh2017-06-051-2/+2
|
* [core] Simplify LayerObserver APIJohn Firebaugh2017-06-052-27/+19
|
* [core] Refactor RenderSource updatesJohn Firebaugh2017-06-055-31/+114
| | | | | | | * Eliminate updateBatch in favor of diffing layers and detecting changes to properties upon which layout depends. * Replace RenderSource::{update,remove,invalidate,reload}Tiles with a single update method * Replace TilePyramid::{update,remove,invalidate,reload}Tiles with a single update method * Remove Style& dependency TODO from GeometryTile and TileParameters
* [core] Thread Style parameter through queryRenderedFeaturesJohn Firebaugh2017-06-051-1/+1
|
* [core] Reuse RasterBucket for ImageSourceAsheem Mamoowala2017-06-011-0/+16
|
* [core] Use fixed-size std::array for ImageSource coordinatesAsheem Mamoowala2017-06-011-1/+1
|
* [core] Offline support for Image SourcesAsheem Mamoowala2017-06-016-3/+29
|
* [core] Add toDouble Conversion method for correctly parsing Lat Lng coordinatesAsheem Mamoowala2017-06-011-0/+9
|
* [core] Add ImageSource support to style parsersAsheem Mamoowala2017-06-017-0/+88
|
* [core] Make TransformState LatLngBounds optionalBruno de Oliveira Abinader2017-06-011-3/+7
|
* [core] Replace inline SpriteAtlas updates with diffingJohn Firebaugh2017-05-301-1/+1
|
* [core] check source usage before removeIvo van Dongen2017-05-301-0/+32
|
* [core] add test to demonstrate waiting threads in mailbox::receive won't ↵Ivo van Dongen2017-05-271-0/+56
| | | | crash on self-closing
* [core] allow self closing mailbox/actorIvo van Dongen2017-05-271-0/+32
|
* [core] Don't use a separate SpriteAtlas for annotation imagesJohn Firebaugh2017-05-262-45/+40
| | | | Instead, just add them to the Style as needed. Includes changes from #8905 and takes care to avoid regressing #3817.
* [test] Lower memory ceilingJohn Firebaugh2017-05-261-1/+1
| | | | We gained a lot of overhead by reducing the initial SpriteAtlas size.
* [core] Auto-growable SpriteAtlas using shelf-packJohn Firebaugh2017-05-2611-28/+13
|
* [tests] Add test for calling addAnnotationImage with an existing IDJohn Firebaugh2017-05-262-2/+18
|
* [core] Block in Mailbox::close() until neither receive nor push are in progressJohn Firebaugh2017-05-241-1/+57
| | | | | | | | | | | | | | Otherwise, an ActorRef that's in the process of sending a message could attempt to access an invalid Scheduler reference: Thread 1 Thread 2 -------------------------------------------------- Scheduler::Scheduler Actor::Actor weakMailbox.lock() Actor::~Actor Scheduler::~Scheduler mailbox->push() scheduler.schedule() 💣
* [core] Simplify and fix sprite atlas coordinate calculationsJohn Firebaugh2017-05-233-171/+142
| | | | | | | | * Always return image metrics exclusive of padding * Work with integer coordinates whenever possible * Eliminate redundant SpriteAtlasElement members * Fix asymmetric re-padding in getIconQuad when pixelRatio != 1 * Add explanatory comments
* [core] Remove unnecessary optionals in PositionedIconJohn Firebaugh2017-05-231-14/+12
| | | | Lack of icon is already checked at the call site of shapeIcon; no need to check hasArea() here.
* [core] Make ExponentialStops behavior consistent; add testsJohn Firebaugh2017-05-192-0/+40
|
* [core] leave Image objects in a valid state after premultiply/unpremultiplyKonstantin Käfer2017-05-191-0/+4
|
* [core] Remove redundant SpriteAtlasElement membersJohn Firebaugh2017-05-171-12/+12
|
* [core] Remove ambiguous get{Width,Height} accessors from style::ImageJohn Firebaugh2017-05-172-14/+0
|
* [core] Remove obsolete modular arithmetic on atlas coordinatesJohn Firebaugh2017-05-171-4/+4
| | | | We switched to 16-bit coordinates in attributes in b0cb8715ed74678b4d0f05829fa71a590e41b2f6, so there's no longer any reason to require that they are divisible by four.
* [core] Remove WorkQueueJohn Firebaugh2017-05-171-59/+0
| | | | No longer used as of 5cdf838a387cae446dba500ac49a1c5524bf7949.
* [core, node, darwin, android, qt] Make image ID part of ImageJohn Firebaugh2017-05-169-70/+70
| | | | More like Source and Layer.