summaryrefslogtreecommitdiff
path: root/cmake/core-files.cmake
Commit message (Collapse)AuthorAgeFilesLines
* [core] Remove segment.cppJohn Firebaugh2017-07-121-1/+0
|
* [core] Rework attribute binding (again)John Firebaugh2017-07-121-3/+5
| | | | | | | | | | These changes are necessary for programs whose set of active attributes is not fixed at compile time by a template parameter pack, but rather varies based on the generated shader text at runtime. In such cases, the attribute location of a given named attribute may vary between instances of the same Program. Previously, attribute bindings were implicitly associated with a location based on template parameter order, and -1 was used to indicate an inactive attribute. This left us unable to disable the appropriate attribute when it went from active to inactive. Now, the state tracker for bindings explicitly associates locations and state, and an empty optional is used to indicate an inactive attribute. In addition, a gl::VertexArray class is now exposed, allowing more flexibility in the relationship between Programs, Segments, and attribute bindings. In this commit, that relationship does not change, but the subsequent commit adjusts it to match gl-js, reduce rebinds, and work around buggy VAO implementations. VertexArray uses a pimpl idiom in order to support implementations that lack the VAO extension. In that case, all VertexArrays share global binding state, reflecting the platform reality in the absence of VAOs, while still providing a uniform API.
* [core] improve legibility of labels that follow linesAnsis Brammanis2017-07-111-0/+2
| | | | | | | | | | port https://github.com/mapbox/mapbox-gl-js/pull/4781 This improves legibility of labels that follow lines in pitched views. The previous approach used the limited information in the shader to calculate put the glyph in approximatelyright place. The new approach does this more accurately by doing it on the cpu where we have access to the entire line geometry.
* [core] Introduce the ResourceTransformThiago Marcos P. Santos2017-06-261-0/+2
| | | | Wrapper for transforming URLs on the OnlineFileSource.
* [core] Make the mbgl/actor headers publicThiago Marcos P. Santos2017-06-261-3/+3
| | | | | They will be needed by the DefaultFileSource, something that we also export as public.
* [all] Promote Style to public APIJohn Firebaugh2017-06-221-1/+3
|
* [core] add benchmark for vector tile parsingKonstantin Käfer2017-06-211-0/+2
|
* [core] Rename ThreadedObject to ThreadThiago Marcos P. Santos2017-06-211-1/+1
| | | | | Now that the old Thread class is gone, we can give ThreadedObject a better name.
* [core] Remove util::ThreadThiago Marcos P. Santos2017-06-211-3/+0
| | | | Fixes #6425
* [core] Added the ThreadedObjectThiago Marcos P. Santos2017-06-211-0/+3
| | | | Actor model version of util::Thread.
* [core] cleanup ProgramParametersKonstantin Käfer2017-06-131-0/+1
|
* [core] Remove unused binpack.hpppJohn Firebaugh2017-06-131-1/+0
|
* [core] Per-bucket icon atlasesJohn Firebaugh2017-06-131-2/+4
|
* [core] Per-bucket glyph atlasesJohn Firebaugh2017-06-131-1/+3
|
* [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-261-2/+0
| | | | Instead, just add them to the Style as needed. Includes changes from #8905 and takes care to avoid regressing #3817.
* [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-171-2/+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-151-2/+1
|
* [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-121-3/+10
|
* [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.
* [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-271-4/+21
|
* [core] split off render layersIvo van Dongen2017-04-251-4/+25
|
* [all] Rationalize style::ImageJohn Firebaugh2017-04-241-2/+2
| | | | | | | 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] Inline GlyphSet into GlyphAtlasJohn Firebaugh2017-04-121-2/+0
|
* [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
* [core] Privatize gl/gl.hppKonstantin Käfer2017-03-281-1/+1
|
* [node] Move util/async_task.hpp to public include directoryKonstantin Käfer2017-03-281-1/+1
|
* [core] Internalize rapidjson.hppBruno de Oliveira Abinader2017-03-281-0/+1
|
* [core] Move map/change.hpp to public include directoryJohn Firebaugh2017-03-281-1/+1
|
* [core] Move actor/{mailbox,scheduler}.hpp to public include directoryJohn Firebaugh2017-03-281-2/+2
| | | | Map constructor takes Scheduler&, and consumers are expected to define an implementation. Therefore the interface must be public.
* [core] Move ignore.hpp to public include directoryJohn Firebaugh2017-03-281-1/+1
|