summaryrefslogtreecommitdiff
path: root/cmake
Commit message (Collapse)AuthorAgeFilesLines
* [core] BackendScope prevent double (de-)activationIvo van Dongen2017-07-191-0/+1
| | | | | - Guards against duplicate activations by checking wether the backend of the prior scope is the same as the current ones - Makes sure that only the most outer backend scope deactivates by tracking activation state
* [core] Rework attribute binding (again)John Firebaugh2017-07-171-2/+4
| | | | | | | | | | 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.
* [all] make default_styles header-onlyKonstantin Käfer2017-07-132-2/+0
|
* [core] cleanup ProgramParametersJohn Firebaugh2017-06-141-0/+1
|
* Cherry-pick arabic text to release branch v3.6.0 (#9071)Fabian Guerra Soto2017-05-231-0/+2
| | | | | | | * [core] Throttle tiles to redo symbol placement at most once every 300ms. Fixes issue #8435 and prepares for pitch-scaling changes in issue #8967. * [core] Disable letter-spacing for Arabic labels (issue #9057)
* [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
|
* [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
|
* [core] Avoid public dtoa.hpp includeJohn Firebaugh2017-03-281-0/+1
|
* [core] Core tests and benchmarks are allowed to include via srcJohn Firebaugh2017-03-282-2/+2
|
* [core] Move interpolate.hpp to public include directoryJohn Firebaugh2017-03-281-1/+1
|
* [core] Refactor OpenGL extension loading mechanismKonstantin Käfer2017-03-231-5/+4
| | | | Previously, we initialized global variables that held pointers to the extension functions. While this seemed to work, the spec doesn't guarantee that the function pointers are identical for different OpenGL contexts. Therefore, we are now making them a member variable of the Context object.
* [all] Replace Result<T> with optional<T> plus out Error parameterJohn Firebaugh2017-03-231-2/+0
|
* [core] cache binary shaders on AndroidKonstantin Käfer2017-03-222-0/+8
|
* Added wagyu and removed angus clipperBlake Thompson2017-03-172-4/+1
|
* [core] Don't need to use normalized attributes anymoreJohn Firebaugh2017-03-171-1/+0
|
* [build] move ABI version awareness to mason.cmakeKonstantin Käfer2017-03-171-5/+28
|
* [core] Replace MapChange enum with MapObserverBruno de Oliveira Abinader2017-03-151-0/+1
|
* [core] don’t query rendered features until all data is availableIvo van Dongen2017-03-141-0/+1
|
* [core] query source featuresIvo van Dongen2017-03-091-0/+1
|
* [core] Extract and de-templatize several Program static methodsJohn Firebaugh2017-03-091-0/+2
|