summaryrefslogtreecommitdiff
path: root/src/mbgl/sprite
Commit message (Collapse)AuthorAgeFilesLines
...
* [core] rename gl::Config to gl::ContextKonstantin Käfer2016-09-272-14/+14
|
* [core] Convert uses of std::set to std::unordered_set (#6325)Lucas Wojciechowski2016-09-191-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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 SpriteStore and SpriteAtlasJohn Firebaugh2016-09-195-251/+200
|
* [core] upgrade RapidJSON to 1.1.0Konstantin Käfer2016-09-151-3/+3
|
* [core] change bool wrap/repeating to enum class SpritePatternModeKonstantin Käfer2016-09-072-14/+22
|
* [core] Delete the now-unused ptr.hppJohn Firebaugh2016-09-061-1/+0
|
* [core] Revert workaround for std::atomic on ARMv5Thiago Marcos P. Santos2016-07-131-2/+2
| | | | | | Got fix on r12. https://github.com/android-ndk/ndk/issues/31
* [core] track texture state to avoid redundand bindsKonstantin Käfer2016-07-082-8/+17
|
* [core] code style cleanupsKonstantin Käfer2016-07-011-1/+3
| | | | | | | - puts function definitions in a namespace ... {} rather than using namespace ...; - remove trailing whitespace - add trailing newline - protect SQL statements from being formatted by clang-format
* [core] Avoid redundant 'inline' usageBruno de Oliveira Abinader2016-06-182-11/+11
|
* [core] Cleanup SpriteAtlasPositionBruno de Oliveira Abinader2016-06-151-7/+3
|
* [tidy] Check modernize-pass-by-valueBruno de Oliveira Abinader2016-06-132-4/+3
| | | | Ref: http://clang.llvm.org/extra/clang-tidy/checks/modernize-pass-by-value.html
* [core] fix pedantic warning messagesKonstantin Käfer2016-06-131-1/+1
|
* Merge branch 'release-android-v4.1.0'Brad Leege2016-06-091-2/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/BaseMarkerViewOptions.java # platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/MarkerView.java # platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/MarkerViewManager.java # platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapView.java # platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapboxMap.java # platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/NativeMapView.java # platform/android/src/jni.cpp # src/mbgl/geometry/buffer.hpp # src/mbgl/geometry/glyph_atlas.cpp # src/mbgl/geometry/glyph_atlas.hpp # src/mbgl/geometry/line_atlas.cpp # src/mbgl/geometry/vao.cpp # src/mbgl/gl/gl_object_store.cpp # src/mbgl/gl/gl_object_store.hpp # src/mbgl/renderer/frame_history.cpp # src/mbgl/shader/shader.cpp # src/mbgl/sprite/sprite_atlas.cpp # src/mbgl/sprite/sprite_atlas.hpp # src/mbgl/text/glyph_pbf.hpp
| * [android] #5254 - fix ARMv5 supportThiago Marcos P. Santos2016-06-061-2/+2
| | | | | | | | Backported patches fixing ARMv5 support for issue #3985.
| * [core] s/operator bool/created()/ in {GL,TexturePool}HolderBruno de Oliveira Abinader2016-05-271-1/+1
| | | | | | | | Prevents confusing usage of GL holder objects.
* | [core] Use unique_resource for GL objectsBruno de Oliveira Abinader2016-06-012-8/+8
| | | | | | | | | | | | | | | | | | Source: https://github.com/okdshin/unique_resource These replace the complexity of manually handling moveable-RAII objects with a type specific for that purpose. As suggested in https://github.com/mapbox/mapbox-gl-native/pull/5141#issuecomment-221719872.
* | [core] s/GLObjectStore/ObjectStore/Bruno de Oliveira Abinader2016-06-012-7/+7
| |
* | [core] s/operator bool/created()/ in {GL,TexturePool}HolderBruno de Oliveira Abinader2016-05-261-1/+1
|/ | | | Prevents confusing usage of GL holder objects.
* [core] use #pragma once instead of ifdef include guardsKonstantin Käfer2016-05-254-16/+4
|
* [core] move *Observers to their own filesKonstantin Käfer2016-05-233-13/+26
|
* [core] Define mbgl::variant (#4833)John Firebaugh2016-04-251-3/+2
| | | For parallelism with mbgl::optional, and to avoid exposing namespaces other than `mbgl` in the public API.
* [core] Clean up ThreadContext vestigesJohn Firebaugh2016-04-151-1/+0
|
* [core] make sprite metrics checking stricterAnsis Brammanis2016-03-311-10/+6
| | | | | | - 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
* [core] Unify FileRequest and WorkRequestJohn Firebaugh2016-03-241-2/+2
|
* [core] Thread GLObjectStore through to Holder objectsJohn Firebaugh2016-02-182-12/+7
| | | | | | This eliminates the reliance on ThreadContext to provide GLObjectStore, and statically enforces that GL cleanup functions happen only when GLObjectStore::performCleanup is called. With the elimination of the Map thread, this becomes important because there may be multiple GLObjectStore's per-thread, and Map will need to ensure that the correct context is active when calling GLObjectStore::performCleanup.
* [core] Remove ThreadContext::getFileSource; instead thread FileSource throughJohn Firebaugh2016-02-182-6/+6
|
* [gl] Added mbgl::gl::Texture{,Pool}HolderBruno de Oliveira Abinader2016-02-182-7/+6
|
* [gl] Moved GLObjectStore to gl namespaceBruno de Oliveira Abinader2016-02-181-1/+1
|
* [all] Don't interpret 404s on non-tile resources as "no content"John Firebaugh2016-02-101-16/+10
|
* [core] move platform/gl.hpp to gl/gl.hppKonstantin Käfer2016-02-082-2/+2
|
* [core] Rationalize Resource initializationJohn Firebaugh2016-01-291-21/+15
|
* [core][ios][osx][android] make SpriteImage accept PremultipliedImageAnsis Brammanis2016-01-195-36/+30
| | | | | | | | | | | | 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/heightAnsis Brammanis2016-01-192-21/+14
| | | | | | | | | | | 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] Use experimental optional instead of mapbox::util::optionalJohn Firebaugh2016-01-192-9/+8
|
* [core] Add missing returns in error caseJohn Firebaugh2016-01-151-0/+2
| | | | Fixes #3585
* [core] use stale sprite dataKonstantin Käfer2016-01-151-14/+16
| | | | This is a naïve implementation that essentially merges updated data into existing data. It will *not* remove icons from the stale sprite if they aren't present in the fresh sprite (we aren't tracking the source of a sprite, and the user could have changed it as well). Similarly, it will not update icons that have changed in dimension. This is a rare edge case and probably not worth implementing.
* [core] remove bilinear, nearest scaling, fix #3164Ansis Brammanis2016-01-131-46/+32
|
* [core] match icon rendering with -jsAnsis Brammanis2016-01-132-20/+17
| | | | port https://github.com/mapbox/mapbox-gl-js/pull/1919/files
* [core] Rationalize error handling for resource loadingJohn Firebaugh2015-12-234-34/+15
| | | | | | | | | * 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] Fixed annotation icon replacementMinh Nguyễn2015-12-151-3/+2
| | | | Another pass at #3146, including a unit test.
* code review updates: sprite_atlas brackets and nullable removed for ↵Romain Quidet2015-12-151-5/+2
| | | | reuseIdentifier of annotationImage
* 2210: Sprites can be removed / updated correctlyRomain Quidet2015-12-151-2/+9
|
* [core] change RapidJSON usage to use CrtAllocator and bump GeoJSON VTKonstantin Käfer2015-12-141-11/+7
|
* [core] add namespace comment to closing braceKonstantin Käfer2015-12-031-1/+1
|
* [core] Use optional where SpriteAtlas return values might not existJohn Firebaugh2015-12-012-14/+18
| | | | Fixes #3162
* [core] Use a separate atlas and store for annotation spritesAdam Hunter2015-12-012-3/+12
| | | | Fixes #1488
* [core] Remove unused libuv includesThiago Marcos P. Santos2015-12-011-1/+1
|
* [core] Rewrite image handlingJohn Firebaugh2015-11-252-17/+13
| | | | | | * Consolidate Image and StillImage * Typecheck unassociated vs premultiplied images * Rewrite default platform image decoding implementation
* [core] Use std::unique_ptr for FileSource requestJohn Firebaugh2015-11-161-3/+2
|