summaryrefslogtreecommitdiff
path: root/test/util
Commit message (Collapse)AuthorAgeFilesLines
* Fast tileCount with help from @mapbox/sphericalmercator moduleAsheem Mamoowala2017-09-081-0/+9
|
* [node, tests] Consolidate headless rendering logic in HeadlessFrontendJohn Firebaugh2017-07-262-62/+37
|
* [test] allow only a single shared display to avoid egl errorsIvo van Dongen2017-07-182-3/+3
|
* [core] rename backend to renderer backendIvo van Dongen2017-07-182-2/+2
|
* [core] renderer interfaceIvo van Dongen2017-07-181-13/+35
|
* [core] split backend from mapobserverIvo van Dongen2017-07-181-7/+9
|
* [core] Make sure ThreadLocal will not own the pointer it is managingThiago Marcos P. Santos2017-07-141-10/+18
| | | | | | | | | | | | | | ThreadLocal should not own the pointer it is managing because the use case in Mapbox GL is to keep a pointer to a stack allocated object, like: ``` MyObject foo; threadLocal.set(&foo); ``` To keep consistency, it is required that we clear the managed object before ThreadLocal gets destroyed by setting it to `nullptr`.
* [core] GCC 4.9 bracket initialization issuesBruno de Oliveira Abinader2017-07-121-33/+40
|
* [test] Add utest to assert our dtoa implementation precisionThiago Marcos P. Santos2017-07-121-0/+24
|
* [core] Isolate pthread-based tls implementationThiago Marcos P. Santos2017-07-071-17/+9
|
* [test] Reuse StubGeometryTileFeature in MergeLinesBruno de Oliveira Abinader2017-07-061-34/+7
|
* [core] Move setStyleJSON/URL to Style; add Map::setStyleJohn Firebaugh2017-06-221-3/+4
|
* [core] add MBGL_CHECK_ERROR to some locations where it was missingKonstantin Käfer2017-06-211-2/+2
|
* [core] Rename ThreadedObject to ThreadThiago Marcos P. Santos2017-06-212-34/+34
| | | | | Now that the old Thread class is gone, we can give ThreadedObject a better name.
* [core] Remove util::ThreadThiago Marcos P. Santos2017-06-211-296/+0
| | | | Fixes #6425
* [tests] Port the ThreadLocalStorage test to the actor modelThiago Marcos P. Santos2017-06-211-16/+29
|
* [tests] Port the AsyncTask test to the actor modelThiago Marcos P. Santos2017-06-211-30/+29
|
* [tests] Added tests for ThreadedObjectThiago Marcos P. Santos2017-06-211-0/+277
|
* [core] Per-tile glyph/icon atlasesJohn Firebaugh2017-06-131-16/+32
|
* [core] Added Backend::{assume,set}ScissorTestBruno de Oliveira Abinader2017-06-131-0/+10
|
* [test] Lower memory ceilingJohn Firebaugh2017-05-261-1/+1
| | | | We gained a lot of overhead by reducing the initial SpriteAtlas size.
* [core] leave Image objects in a valid state after premultiply/unpremultiplyKonstantin Käfer2017-05-191-0/+4
|
* [core] Remove WorkQueueJohn Firebaugh2017-05-171-59/+0
| | | | No longer used as of 5cdf838a387cae446dba500ac49a1c5524bf7949.
* [tidy] modernize-deprecated-headersBruno de Oliveira Abinader2017-05-121-1/+1
|
* [tidy] modernize-pass-by-valueBruno de Oliveira Abinader2017-05-121-3/+4
|
* [core, android, ios, macos, qt] v10 default stylesMinh Nguyễn2017-05-111-2/+2
| | | | Upgraded from v9 default styles to v10 wherever the developer expects to get the latest and greatest, as well as in a couple tests where it may be beneficial to ensure that we can handle a two-digit version number in the style URL.
* [core, android] Factor JSON string conversionsJohn Firebaugh2017-05-081-0/+27
| | | | | | | | | | | 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] Make Map.addImage tests pass (#8843)Asheem Mamoowala2017-05-021-0/+15
| | | | | Fix Node tests suite implementation to parse pixelRatio from style json Premultiply images in the node binding before sending to mbgl core
* [core] Render fill-extrusion layers (#8431)Lauren Budorick2017-04-272-2/+52
|
* [core] Move ProjectedMeters to projection.hppJohn Firebaugh2017-04-182-16/+15
|
* [core] Tighten geo.hpp ctorsBruno de Oliveira Abinader2017-04-142-5/+74
|
* [all] Make LatLng coordinates read-onlyJohn Firebaugh2017-04-062-33/+33
|
* [core] Tighten LatLng and other geo.hpp classesJohn Firebaugh2017-04-061-11/+6
| | | | | * Remove LatLng::null and enforce invariants * Remove unnecessary operator bool()
* [core] Remove private header includes from CLI utilitiesKonstantin Käfer2017-03-281-18/+0
|
* [core] Ensure that a BackendScope exists when doing GL callsKonstantin Käfer2017-03-231-0/+2
|
* [test] Increase memory test ceiling slightlyJohn Firebaugh2017-03-081-2/+2
|
* [core] Implement data-driven styling for ↵Anand Thakker2017-02-281-50/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | {text,icon}-{color,opacity,halo-color,halo-blur,halo-width} (#7939) * Add symbol dds attributes and adapt style code generation * Update to mapbox-gl-js/master * Refactor SymbolFeature as a subclass of GeometryTileFeature Prepares for enabling DDS on symbol paint properties by allowing the SymbolFeatures, which we keep around after constructing SymbolLayout, to be used in evaluating data-driven paint properties later in the layout process. * Draft approach for splitting icon/text paint properties The `Program` types are set up to bind GL attributes to each of the data-driven paint properties specified in the `PaintProperties` type provided. Since `SymbolPaintProperties` specifies both `Text*` and `Icon*` properties, the symbolIcon, symbolIconSDF, and symbolGlyph programs each attempt to bind roughly double the number of attributes that they actually need. This change addresses this by: - Adding the more specific `IconPaintProperties` and `TextPaintProperties` types, which are subsets of the full `SymbolPaintProperties`. - The symbol layer continues to use its `SymbolPaintProperties paint` member to track layer property state, but it provides helpers that construct objects of each the specific `{Icon,Text}PaintProperties::Evaluated` type, for use by the painter. - The three symbol programs instantiate `Program<>` using the appropriate `{Icon,Text}PaintProperties` type. * check in generated style code * Populate paint buffers for symbol DDS properties * Address first round of review comments * Refactor VectorTile{Layer,Feature} to explicitly share data * Update submodule
* [core] Log Memory.Footprint test results (#8170)Anand Thakker2017-02-281-29/+25
| | | | | | * Log Memory.Footprint test output * On CI, only run Memory.Footprint test with libjemalloc
* [tests] Added unit tests for Thread::pause/resumeThiago Marcos P. Santos2017-02-251-0/+78
|
* [core] Eliminate manual HeadlessBackend activation managementJohn Firebaugh2017-02-201-45/+43
|
* [core] Make Image saferJohn Firebaugh2017-02-141-0/+29
| | | | | | 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] add tests for user/password, port, trailing dot, and IPv4/IPv6 ↵Konstantin Käfer2017-02-131-0/+20
| | | | address parsing
* [test] Added a test to make sure 404 does not trigger a retryThiago Marcos P. Santos2017-02-071-0/+5
|
* regex is no longer used after 6c91c3eDane Springmeyer2017-02-022-4/+1
|
* [core] Add support for data-driven stylingJohn Firebaugh2017-02-021-26/+26
|
* [core] remove trailing whitespace, add trailing newlines, add space after //Konstantin Käfer2017-01-271-4/+4
|
* [core] Clean up merge_lines.cpp and add bounds checkingJohn Firebaugh2017-01-181-0/+24
|
* [test] add tests for paths with leading slashesKonstantin Käfer2017-01-171-0/+34
|
* [core] include leading slash in URL.pathKonstantin Käfer2017-01-171-25/+25
|
* [core, ios] replace `altitude` with `fov`Ansis Brammanis2016-12-211-0/+2
| | | | | | | | | ported from -js: eb6c6596c6a7a61363d30356674e0002153b1d19 `altitude` was a terribly-named variable that was used to indirectly control the fov. This should eliminate some confusion. `altitude` was equivalent to `cameraToCenterDistance / height`