summaryrefslogtreecommitdiff
path: root/src/mbgl/text/glyph_atlas.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [core] Update to shelf-pack 2.1.0John Firebaugh2017-06-131-5/+5
|
* [core] Per-tile glyph/icon atlasesJohn Firebaugh2017-06-131-39/+40
|
* [core] Per-bucket glyph atlasesJohn Firebaugh2017-06-131-236/+44
|
* [core] Remove obsolete modular arithmetic on atlas coordinatesJohn Firebaugh2017-05-171-8/+2
| | | | 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.
* [tidy] modernize-loop-convertBruno de Oliveira Abinader2017-05-121-4/+4
|
* [core] Combine two GlyphID-keyed maps in GlyphAtlas::EntryJohn Firebaugh2017-04-141-46/+33
|
* [core] Replace GlyphRangeSet in onGlyphsAvailable with optionals in the mapJohn Firebaugh2017-04-141-13/+8
| | | | GlyphRangeSet isn't keyed by FontStack, so using it to indicate that a particular range was loaded could have produced false positives.
* [tests] Rewrite GlyphAtlas tests to use public APIJohn Firebaugh2017-04-131-24/+2
|
* [core] Inline GlyphSet into GlyphAtlasJohn Firebaugh2017-04-121-39/+63
|
* [core] Inline GlyphPBF into GlyphAtlasJohn Firebaugh2017-04-061-49/+64
|
* [core] De-mutex GlyphAtlas and SpriteAtlasChris Loer2017-04-041-90/+155
| | | | | | | | | | | | - 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] Replace three maps/mutexes in GlyphAtlas with a single map and mutexJohn Firebaugh2017-02-271-27/+16
|
* [core] Make Image saferJohn Firebaugh2017-02-141-29/+7
| | | | | | Provide Image::copy, which handles copying rectangles from a source to a destination, with thorough bounds checking. Also fixes an indexing error in SpriteAtlas, where the top row of pixels in a wrapped image was copied from the wrong source row.
* [core] abort early when placing a glyph in GlyphAtlas if the bitmap is invalidKonstantin Käfer2017-01-171-2/+12
|
* [core] harden Glyph PBF parsingKonstantin Käfer2017-01-171-5/+2
|
* [build] move logging to utilKonstantin Käfer2016-11-221-2/+2
|
* [core] Use UTF-16 instead of UTF-32 for label features to avoid extra ↵Chris Loer2016-11-171-2/+2
| | | | | | | conversions and reduce in-memory size. Continue to use uint32 as glyph ID to maintain Glyph PBF, even though we're only using 16 bits of that uint32. Use std::codecvt instead of boost::unicode_iterator for UTF8->UTF16 conversions.
* [core] convert GlyphAtlas to use managed texture handlingKonstantin Käfer2016-11-011-61/+23
|
* [core] remove dependence on gl.h typesKonstantin Käfer2016-09-291-3/+3
|
* [core] merge gl::ObjectStore into gl::ContextKonstantin Käfer2016-09-271-5/+4
|
* [core] rename gl::Config to gl::ContextKonstantin Käfer2016-09-271-10/+10
|
* [core] Convert uses of std::set to std::unordered_set (#6325)Lucas Wojciechowski2016-09-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | * src/mbgl/annotation/annotation_manager.hpp * src/mbgl/algorithm/update_renderables.hpp * src/mbgl/geometry/glyph_atlas.hpp * src/mbgl/renderer/painter.cpp and src/mbgl/renderer/render_item.hpp * src/mbgl/renderer/symbol_bucket.hpp and src/mbgl/text/glyph_store.hpp * src/mbgl/sprite/sprite_atlas.hpp * include/mbgl/storage/network_status.hpp * src/mbgl/text/collision_tile.cpp * src/mbgl/style/update_batch.hpp * platform/default/mbgl/storage/offline_download.hpp * Add GlyphRangeSet typedef * Fix whitespace & unused imports
* [core] Merge GlyphStore and GlyphAtlasJohn Firebaugh2016-09-191-0/+263