summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* [all] Merge View into RendererBackendJohn Firebaugh2017-07-262-1/+3
|
* [node, tests] Consolidate headless rendering logic in HeadlessFrontendJohn Firebaugh2017-07-2613-337/+135
|
* [core] Remove API tests that are covered by node testsJohn Firebaugh2017-07-263-151/+0
|
* [core] Replace API.ZoomHistory test with integration testJohn Firebaugh2017-07-263-63/+0
|
* [core] make actor self reference optionalIvo van Dongen2017-07-241-0/+31
|
* [core] add ask pattern to actor refIvo van Dongen2017-07-241-3/+55
|
* [core] implement ask pattern in actorIvo van Dongen2017-07-241-0/+24
|
* [core] generate masks for raster tiles to avoid painting over childrenKonstantin Käfer2017-07-241-0/+159
|
* [core] add algorithm for computing masks for raster tilesKonstantin Käfer2017-07-241-0/+132
|
* [core] Correctly track sprite loaded state through smart setStyleJohn Firebaugh2017-07-201-1/+1
|
* [build] make Xcode use the correct compiler when it is installed in a ↵Konstantin Käfer2017-07-181-4/+0
| | | | non-standard location
* [core] BackendScope prevent double (de-)activationIvo van Dongen2017-07-181-0/+111
| | | | | - 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
* [test] allow only a single shared display to avoid egl errorsIvo van Dongen2017-07-1814-23/+16
|
* [core] rename backend to renderer backendIvo van Dongen2017-07-1812-12/+12
|
* [core] renderer interfaceIvo van Dongen2017-07-1814-237/+372
|
* [core] split backend from mapobserverIvo van Dongen2017-07-189-75/+67
|
* [core] mutate style on annotation mutations immediatelyIvo van Dongen2017-07-185-7/+17
|
* [core][ios][android][macos] Use premultiplied image directly for RasterTile ↵Asheem Mamoowala2017-07-173-3/+3
| | | | and ImageSource, un-premultiply in the shader for blending
* [core] Use shared pointer to manage Image source raster data and speed up ↵Asheem Mamoowala2017-07-171-1/+1
| | | | change detection
* [tests] Add test to enforce database not found behaviorThiago Marcos P. Santos2017-07-171-0/+11
| | | | | | Make sure all the implementations, currently Qt and Default, throw an exception with error code CANTOPEN when opening a database that doesn't exist without the CREATE flag.
* [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`.
* [test] Fix undefined behavior warning:Chris Loer2017-07-141-2/+2
| | | | | quads.test.cpp used a bin with unsupported x/y coordinates. Issue #9499.
* [core] add unused default template parameter to keep Xcode 9's Clang from ↵Konstantin Käfer2017-07-131-0/+6
| | | | crashing
* [core] Rework attribute binding (again)John Firebaugh2017-07-121-8/+8
| | | | | | | | | | 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] GCC 4.9 bracket initialization issuesBruno de Oliveira Abinader2017-07-126-47/+63
|
* [core] GCC 4.9 is unable to deduce ctors when using bracket initBruno de Oliveira Abinader2017-07-126-6/+18
|
* [core] GCC 4.9 shadow member warningsBruno de Oliveira Abinader2017-07-121-2/+2
|
* [test] Add utest to assert our dtoa implementation precisionThiago Marcos P. Santos2017-07-121-0/+24
|
* [core] improve legibility of labels that follow linesAnsis Brammanis2017-07-112-26/+12
| | | | | | | | | | 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] Change OverscaledTileID to also include a "wrap" value.Chris Loer2017-07-112-567/+565
| | | | | This prevents TilePyramid from sharing wrapped copies of tiles. This is necessary because two wrapped tiles no longer share the same CollisionTile.
* [core] Isolate pthread-based tls implementationThiago Marcos P. Santos2017-07-071-17/+9
|
* [tests] Add unit test for tile prefetchingThiago Marcos P. Santos2017-07-076-0/+122
|
* [test] Added bucket feature insertion testsBruno de Oliveira Abinader2017-07-061-0/+50
|
* [test] Reuse StubGeometryTileFeature in MergeLinesBruno de Oliveira Abinader2017-07-062-34/+14
|
* [core] Don't upload empty bucketsBruno de Oliveira Abinader2017-07-061-0/+6
|
* [core] rename getStencils() to getClipIDs() to better reflect what it ↵Konstantin Käfer2017-07-061-27/+27
| | | | actually does
* [core] don't use unordered_* collections for things we need to sort anywayKonstantin Käfer2017-07-061-1/+1
|
* [core] refactor ClipID generationKonstantin Käfer2017-07-061-193/+164
|
* [test] Added API.ZoomHistoryBruno de Oliveira Abinader2017-07-043-0/+62
|
* [test] Use test::checkImage in API.RepeatedRenderBruno de Oliveira Abinader2017-07-042-9/+5
|
* [core] Check if frameZoom is NaN in Transform::flyTo callbackBruno de Oliveira Abinader2017-06-281-0/+5
|
* [core] Clamp to scale boundaries in TransformState::setLatLngZoomBruno de Oliveira Abinader2017-06-281-0/+16
|
* [core] fix render doesn’t flag style mutationIvo van Dongen2017-06-261-0/+26
|
* [core] Use the ResourceTransform instead of callbacksThiago Marcos P. Santos2017-06-261-3/+22
| | | | | Based on the actor model, can be considered safer to use since we don't need to worry about object lifetime anymore.
* [core] Move setStyleJSON/URL to Style; add Map::setStyleJohn Firebaugh2017-06-229-66/+68
|
* [all] Promote Style to public APIJohn Firebaugh2017-06-225-58/+19
|
* [core] Refactor CustomLayer internalsJohn Firebaugh2017-06-221-0/+4
| | | | Move the responsibility for initialization/deinitialization/rendering to RenderCustomLayer. This eliminates special case code from Map and Style.
* [tests] Add tests for MapObserver::on{WillStart,DidFinish}LoadingMapJohn Firebaugh2017-06-221-0/+50
|
* [core] always return owning pointers for GeometryTileData::getLayer()Konstantin Käfer2017-06-211-2/+1
|
* [core] add MBGL_CHECK_ERROR to some locations where it was missingKonstantin Käfer2017-06-211-2/+2
|