Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [core] Per-bucket icon atlases | John Firebaugh | 2017-06-13 | 1 | -187/+0 |
| | |||||
* | [core] Collection-level immutability | John Firebaugh | 2017-06-05 | 1 | -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] Replace inline SpriteAtlas updates with diffing | John Firebaugh | 2017-05-30 | 1 | -1/+1 |
| | |||||
* | [core] Don't use a separate SpriteAtlas for annotation images | John Firebaugh | 2017-05-26 | 2 | -45/+40 |
| | | | | Instead, just add them to the Style as needed. Includes changes from #8905 and takes care to avoid regressing #3817. | ||||
* | [core] Auto-growable SpriteAtlas using shelf-pack | John Firebaugh | 2017-05-26 | 1 | -21/+6 |
| | |||||
* | [core] Simplify and fix sprite atlas coordinate calculations | John Firebaugh | 2017-05-23 | 1 | -56/+31 |
| | | | | | | | | * 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 redundant SpriteAtlasElement members | John Firebaugh | 2017-05-17 | 1 | -12/+12 |
| | |||||
* | [core] Remove ambiguous get{Width,Height} accessors from style::Image | John Firebaugh | 2017-05-17 | 1 | -10/+0 |
| | |||||
* | [core] Remove obsolete modular arithmetic on atlas coordinates | John Firebaugh | 2017-05-17 | 1 | -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, node, darwin, android, qt] Make image ID part of Image | John Firebaugh | 2017-05-16 | 4 | -40/+40 |
| | | | | More like Source and Layer. | ||||
* | [core] Immutable<Impl> for Image | John Firebaugh | 2017-05-15 | 1 | -9/+10 |
| | |||||
* | [core] Trim StyleObserver interface | John Firebaugh | 2017-05-13 | 1 | -2/+17 |
| | | | | It doesn't need to inherit from SpriteLoaderObserver and GlyphAtlasObserver. | ||||
* | [core] Split style image collection from SpriteAtlas | Ivo van Dongen | 2017-05-12 | 4 | -207/+229 |
| | |||||
* | [all] Rationalize style::Image | John Firebaugh | 2017-04-24 | 3 | -157/+55 |
| | | | | | | | A style has a collection of images, just as it has collections of sources and layers. * Name things appropriately * Use std::unique_ptr | ||||
* | [core] Move Sprite parsing to thread pool | Konstantin Käfer | 2017-04-24 | 2 | -13/+19 |
| | |||||
* | [core] De-mutex GlyphAtlas and SpriteAtlas | Chris Loer | 2017-04-04 | 1 | -15/+19 |
| | | | | | | | | | | | | - Expose glyph and icon information to workers via message interface. - Glyph/SpriteAtlas track which tiles have outstanding requests and send messages to them when glyphs/icons become available. - Remove obsolete "updateSymbolDependentTiles" pathway - Symbol preparation for a tile now depends on all glyphs becoming available before it can start. - Start tracking individual icons needed for a tile, although we don't do anything with the information yet. - Introduce typedef for GlyphID | ||||
* | [core] Eliminate SpritePatternMode | John Firebaugh | 2017-02-14 | 1 | -8/+8 |
| | |||||
* | [core] Combine SpriteAtlas::getPosition with SpriteAtlas::getImage | John Firebaugh | 2017-02-14 | 1 | -1/+1 |
| | |||||
* | [core] Eliminate SpriteAtlas::updateDirty | John Firebaugh | 2017-02-14 | 1 | -6/+19 |
| | | | | Simplify internal datastructures. Properly remove rects from the bin pack when an image is removed. | ||||
* | [tests] Use test::checkImage | John Firebaugh | 2017-02-14 | 1 | -17/+5 |
| | |||||
* | [core] add more detail to invalid metrics error in createSpriteImage | Mike Morris | 2016-11-04 | 1 | -6/+91 |
| | |||||
* | [core] convert SpriteAtlas to use managed texture handling | Konstantin Käfer | 2016-11-01 | 1 | -38/+30 |
| | |||||
* | [core] change std::array<uint16_t, 2> to mbgl::Size | Konstantin Käfer | 2016-10-27 | 3 | -47/+47 |
| | |||||
* | [test] add .test.cpp suffix to test case files | Konstantin Käfer | 2016-09-28 | 3 | -0/+0 |
| | |||||
* | [core] Merge SpriteStore and SpriteAtlas | John Firebaugh | 2016-09-19 | 2 | -323/+274 |
| | |||||
* | [core] upgrade RapidJSON to 1.1.0 | Konstantin Käfer | 2016-09-15 | 1 | -1/+1 |
| | |||||
* | [core] change bool wrap/repeating to enum class SpritePatternMode | Konstantin Käfer | 2016-09-07 | 1 | -6/+6 |
| | |||||
* | [tidy/linux] modernize-use-default | Bruno de Oliveira Abinader | 2016-06-14 | 1 | -3/+2 |
| | |||||
* | [core] fix pedantic warning messages | Konstantin Käfer | 2016-06-13 | 4 | -24/+24 |
| | |||||
* | [core] make sprite metrics checking stricter | Ansis Brammanis | 2016-03-31 | 1 | -30/+13 |
| | | | | | | - check that sprite metrics are within the bounds of the sprite. fix #714 - make sprite metrics problems Errors instead of Warnings - check for negative image width, height | ||||
* | [test] rearrange test files so they're not in the fixtures folder | Konstantin Käfer | 2016-03-22 | 4 | -9/+9 |
| | |||||
* | [test] remove crc64 and compare images | Konstantin Käfer | 2016-03-22 | 2 | -32/+46 |
| | | | | boost's crc64 breaks on iOS | ||||
* | [core] Remove ThreadContext::getFileSource; instead thread FileSource through | John Firebaugh | 2016-02-18 | 1 | -5/+1 |
| | |||||
* | [tests] Don't call the callback for cancelled responses | John Firebaugh | 2016-02-04 | 1 | -1/+1 |
| | | | | | | StubFileSource gets an optional Response return type. Returning null means "cancelled; don't call the callback". Fixes #3784 | ||||
* | [tests] Refactor and make MockFileSource more general | John Firebaugh | 2016-02-01 | 1 | -36/+98 |
| | | | | | | Now it works more like StubStyleObserver: you can assign std::functions to specific slots based on resource type. Rewrite resource loading tests in that style, making them less like integration tests of Style and more like unit tests of Source, GlyphStore, and SpriteStore. | ||||
* | [core][ios][osx][android] make SpriteImage accept PremultipliedImage | Ansis Brammanis | 2016-01-19 | 4 | -89/+88 |
| | | | | | | | | | | | | the SpriteImage constructor signature changes from SpriteImage( uint16_t width, uint16_t height, float pixelRatio, std::string&& data, bool sdf = false); to SpriteImage(PremultipliedImage&&, float pixelRatio, bool sdf = false) | ||||
* | [core][ios][osx][android] fix icons with non-integer width/height | Ansis Brammanis | 2016-01-19 | 3 | -16/+16 |
| | | | | | | | | | | | ref #3031 ref #2198 For example, an icon that has: - a pixel width of 10 - a pixel ratio of 3 - a scaled with of 3.333 is now supported. | ||||
* | [core] remove bilinear, nearest scaling, fix #3164 | Ansis Brammanis | 2016-01-13 | 1 | -16/+8 |
| | |||||
* | [tests] Simplify MockFileSource | John Firebaugh | 2015-12-24 | 1 | -3/+3 |
| | |||||
* | [tests] Rewrite {Sprite,Glyph}Store tests in the style of ResourceLoading | John Firebaugh | 2015-12-24 | 1 | -132/+64 |
| | |||||
* | [core] Rationalize error handling for resource loading | John Firebaugh | 2015-12-23 | 2 | -3/+4 |
| | | | | | | | | | * Standardize on std::exception_ptr as the error representation (fixes #2854). * Don't format textual strings at the error source; pass on the constituent data via observer method parameters instead. * Use the null object pattern to simplify observer notification code. * Further refactoring for ResourceLoading tests. | ||||
* | [core] add std::move to constructors | Konstantin Käfer | 2015-12-03 | 1 | -1/+2 |
| | |||||
* | [core] Use optional where SpriteAtlas return values might not exist | John Firebaugh | 2015-12-01 | 1 | -14/+6 |
| | | | | Fixes #3162 | ||||
* | [core] Use a separate atlas and store for annotation sprites | Adam Hunter | 2015-12-01 | 1 | -1/+3 |
| | | | | Fixes #1488 | ||||
* | [tests] Remove libuv dependency from the tests | Thiago Marcos P. Santos | 2015-12-01 | 1 | -4/+5 |
| | |||||
* | [core] Rewrite image handling | John Firebaugh | 2015-11-25 | 1 | -12/+10 |
| | | | | | | * Consolidate Image and StillImage * Typecheck unassociated vs premultiplied images * Rewrite default platform image decoding implementation | ||||
* | Rewrite CustomSpriteImages test | John Firebaugh | 2015-11-18 | 1 | -61/+0 |
| | | | | Previous test was invalid; Map::setSprite is only for annotations. | ||||
* | [core] Merge Sprite into SpriteStore | John Firebaugh | 2015-11-12 | 3 | -181/+177 |
| | |||||
* | [core] Reorganize sprite related files | John Firebaugh | 2015-11-12 | 6 | -0/+924 |