summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* [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.
* [core, node, darwin, qt] Remove support for paint classesJohn Firebaugh2017-05-152-46/+2
|
* [core] Unify {Paint,Layout,Light}PropertiesJohn Firebaugh2017-05-153-27/+35
|
* [core] *LayerImpl::cascading ⇢ paintJohn Firebaugh2017-05-151-4/+4
|
* [core] Immutable<Impl> for ImageJohn Firebaugh2017-05-152-12/+13
|
* [core] Trim StyleObserver interfaceJohn Firebaugh2017-05-133-24/+32
| | | | It doesn't need to inherit from SpriteLoaderObserver and GlyphAtlasObserver.
* [core] Move renderer/* files into sub-folders (#8983)Asheem Mamoowala2017-05-123-6/+6
| | | Move renderer/* files into sub-folders
* [core] Split style image collection from SpriteAtlasIvo van Dongen2017-05-127-217/+239
|
* [core] Replace createRender{Source,Layer} with Render{Source,Layer}::createJohn Firebaugh2017-05-122-10/+10
| | | | | * Eliminates the need for EnableImmutableFromThis * Eliminates the dependency of {Source,Layer}::Impl on corresponding Render class (circular dependency)
* [core] Immutable ImplsJohn Firebaugh2017-05-125-74/+55
|
* [tidy] modernize-deprecated-headersBruno de Oliveira Abinader2017-05-122-2/+2
|
* [tidy] modernize-raw-string-literalBruno de Oliveira Abinader2017-05-125-22/+22
|
* [tidy] modernize-pass-by-valueBruno de Oliveira Abinader2017-05-121-3/+4
|
* [tidy] modernize-use-emplaceBruno de Oliveira Abinader2017-05-121-1/+1
|
* [tidy] modernize-use-nullptrBruno de Oliveira Abinader2017-05-121-2/+2
|
* [tidy] modernize-use-default-member-initBruno de Oliveira Abinader2017-05-122-8/+5
|
* [tidy] modernize-use-usingBruno de Oliveira Abinader2017-05-121-2/+2
|
* [tidy] llvm-namespace-commentBruno de Oliveira Abinader2017-05-121-2/+2
|
* [tidy] Added test/.clang-tidyBruno de Oliveira Abinader2017-05-121-0/+2
| | | | | Disabled some clang-tidy tests that were erroneously catching errors from gtest header macros.
* [core, android, ios, macos, qt] v10 default stylesMinh Nguyễn2017-05-111-2/+2
| | | | Upgraded from v9 default styles to v10 wherever the developer expects to get the latest and greatest, as well as in a couple tests where it may be beneficial to ensure that we can handle a two-digit version number in the style URL.
* [core] Remove StyleSourcedAnnotation supportJohn Firebaugh2017-05-101-10/+0
| | | | The functionality this provided has been subsumed by the runtime styling API.