summaryrefslogtreecommitdiff
path: root/cmake
Commit message (Collapse)AuthorAgeFilesLines
* Fix undefined memory access in getCoveringRanges() (#9227)Anand Thakker2017-06-091-0/+1
| | | | | | | | | | | | * 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-0/+1
| | | | 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] Split RenderStyle from StyleJohn Firebaugh2017-06-051-0/+3
|
* [core] Refactor RenderSource updatesJohn Firebaugh2017-06-051-1/+0
| | | | | | | * 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] Render Image SourceAsheem Mamoowala2017-06-011-0/+2
|
* [core] Add ImageSource support to style parsersAsheem Mamoowala2017-06-011-0/+5
|
* [core] Don't use a separate SpriteAtlas for annotation imagesJohn Firebaugh2017-05-262-3/+0
| | | | 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-packJohn Firebaugh2017-05-262-0/+2
|
* [core] Make ExponentialStops behavior consistent; add testsJohn Firebaugh2017-05-191-0/+2
|
* [core][ios] Use explicit submodule update for ios target (#8973)Asheem Mamoowala2017-05-181-0/+6
| | | Closes #8750
* [core] Throttle tiles to redo symbol placement at most once every 300ms.Chris Loer2017-05-171-0/+2
| | | | Fixes issue #8435 and prepares for pitch-scaling changes in issue #8967.
* [core] Remove WorkQueueJohn Firebaugh2017-05-172-3/+0
| | | | No longer used as of 5cdf838a387cae446dba500ac49a1c5524bf7949.
* [core, node, darwin, qt] Remove support for paint classesJohn Firebaugh2017-05-151-2/+0
|
* [core] cascade ⇢ transition / cascading ⇢ transitionableJohn Firebaugh2017-05-151-1/+1
|
* [core] Unify {Paint,Layout,Light}PropertiesJohn Firebaugh2017-05-152-3/+2
|
* [core] Move renderer/* files into sub-folders (#8983)Asheem Mamoowala2017-05-121-39/+45
| | | Move renderer/* files into sub-folders
* [core] Split style image collection from SpriteAtlasIvo van Dongen2017-05-122-3/+12
|
* [linux] loop-uv depends on mbgl-core for linkingJohn Firebaugh2017-05-121-0/+4
|
* [core] Immutable ImplsJohn Firebaugh2017-05-121-2/+4
|
* [core] Remove StyleSourcedAnnotation supportJohn Firebaugh2017-05-101-2/+0
| | | | The functionality this provided has been subsumed by the runtime styling API.
* [build] Suppress GLFW redefining GLAPIENTRY errorBruno de Oliveira Abinader2017-05-091-0/+11
|
* [core, android] Factor JSON string conversionsJohn Firebaugh2017-05-081-1/+1
| | | | | | | | | | | This adds a `convertJSON` template, to be used like: Error error optional<Foo> foo = convertJSON<Foo>(string, error); Internally, it parses the string with RapidJSON and then calls `convert<Foo>(parsed, error)`. While here, rationalize GeoJSON converters and fix error handling for Tileset conversion in OfflineDownload.
* [core] generated accessor methods on lightIvo van Dongen2017-05-081-0/+5
|
* [core] render lightIvo van Dongen2017-05-081-0/+1
|
* [core] Omnibus Style::update methodJohn Firebaugh2017-05-041-0/+1
| | | | Combine Style::cascade, recalculate, relayout, and updateTiles into a single method. This allows multiple loops over sources and layers to be consolidated and prepares for additional Style-Map decoupling: rather than tracking pending updates via a set of Update flags held by the Map and passed to the Style, the Style can use its own data to determine what to update.
* [core] UpdateParameters ⇢ TileParametersJohn Firebaugh2017-05-041-1/+1
|
* [core] Move render-related sources out of style directory/namespaceJohn Firebaugh2017-05-031-14/+14
| | | | | | | | | | | | | | | | Moves the following to the renderer directory and out of the style namespace: * CascadeParameters * PropertyEvaluationParameters * UpdateParameters * PropertyEvaluator * DataDrivenPropertyEvaluator * CrossFadedPropertyEvaluator * PaintPropertyBinder * PaintProperyStatistics * PossiblyEvaluatedPropertyValue * TransitioningLight * EvaluatedLight
* [core] Make Map.addImage tests pass (#8843)Asheem Mamoowala2017-05-021-1/+1
| | | | | Fix Node tests suite implementation to parse pixelRatio from style json Premultiply images in the node binding before sending to mbgl core
* [core] Refactor Source::*Impls into RenderSources and TilePyramidJohn Firebaugh2017-05-021-0/+15
|
* [all] Push querySourceFeatures back out to MapJohn Firebaugh2017-05-021-1/+0
| | | | Once Source and RendererSource are split, Source will no longer have access to tiles.
* [core] Render fill-extrusion layers (#8431)Lauren Budorick2017-04-272-4/+23
|
* [core] split off render layersIvo van Dongen2017-04-252-5/+28
|
* [all] Rationalize style::ImageJohn Firebaugh2017-04-242-3/+3
| | | | | | | 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 poolKonstantin Käfer2017-04-241-0/+2
|
* [core] remove unused leftover filesKonstantin Käfer2017-04-201-0/+2
|
* [core, darwin] Object identity for MGLSource*, MGLStyleLayer*John Firebaugh2017-04-132-0/+2
| | | | All `MGLSource` pointers referencing the same logical source will now be object identical; similarly for `MGLStyleLayer`.
* [core] Inline GlyphSet into GlyphAtlasJohn Firebaugh2017-04-121-2/+0
|
* [macos] expose link flags via mbgl-core targetKonstantin Käfer2017-04-061-0/+1
|
* [core] De-mutex GlyphAtlas and SpriteAtlasChris Loer2017-04-041-1/+0
| | | | | | | | | | | | - 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
* Fix edge case in composite function interpolation (#8613)Anand Thakker2017-04-031-0/+1
| | | | | | | | | | | | | | | | This fixes a bug where, for a zoom value greater than that of the highest zoom stop, composite function interpolation would return nan. (Blocking a render test over in #8593) * Add failing tests for composite function edge case The failing cases here are: - Should interpolate before the first stop - Should interpolate past the last stop * Fix edge case in composite function interpolation * Hold functions constant outside stop-defined domain
* [build] generate .xcconfig files with configure_fileKonstantin Käfer2017-03-284-14/+12
| | | | We previously used incremental `file(WRITE ...)` commands that gradually recreated the file on every CMake invocation. This sometimes lead to Xcode parsing a partially written file, which in turn breaks building dependend targets. Instead, we're now using a templated configuration file, which ensure that the file is created in one go and hopefully reduces the race condition between CMake and Xcode's automatic project updating.
* [build] don't advertise headers that aren't used in public headersKonstantin Käfer2017-03-283-3/+3
|
* [core] Privatize gl/gl.hppKonstantin Käfer2017-03-281-1/+1
|
* [core] Privatize OpenGL/Context headersKonstantin Käfer2017-03-284-5/+1
|
* [android] Move SDK files to separate targetKonstantin Käfer2017-03-281-3/+9
|
* [node] Move util/async_task.hpp to public include directoryKonstantin Käfer2017-03-281-1/+1
|
* [core] Remove private header includes from CLI utilitiesKonstantin Käfer2017-03-282-4/+0
|
* [core] Internalize rapidjson.hppBruno de Oliveira Abinader2017-03-281-0/+1
|
* [node] Eliminate src as an include pathJohn Firebaugh2017-03-283-19/+16
|
* [core] Move map/change.hpp to public include directoryJohn Firebaugh2017-03-281-1/+1
|