| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Blacklist in order to avoid crashes in a driver.
|
|
|
|
|
|
|
|
|
|
| |
* [render-test]Add expected metrics path in manifest file
* seperate metrics.json and expected.png
* fix expected path parsing
* keep expectation path if update is enabled
|
| |
|
|
|
|
|
| |
In tile and static mode clear tiles when data changes
in order to avoid render tests being flaky.
|
|
|
|
|
| |
Add an option to include platform specific implementation sources
to mbgl-core.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In https://github.com/mapbox/mapbox-gl-native/pull/15862, we introduced individual textures for line dash patterns to eliminate atlas overflows. Unfortunately, this broke dashed lines that had round caps (dashed lines with straight caps still rendered correctly). Line pattern textures for round caps were now using 256×15 pixel textures.
The OpenGL ES 2.0 spec, section 3.8.2 states:
Calling a sampler from a fragment shader will return `(R,G,B,A) = (0,0,0,1)` if any of the following conditions are true:
[…]
- A two-dimensional sampler is called, the corresponding texture image is a non-power-of-two image […], and either the texture wrap mode is not `CLAMP_TO_EDGE`, or the minification filter is neither `NEAREST` nor `LINEAR`.
[…]
This means that texture lookups won't work for NPOT textures unless they use `GL_CLAMP_TO_EDGE`. We're using `GL_CLAMP_TO_EDGE` for the vertical direction, but GL_REPEAT for the horizontal direction, which means that we need a power-of-two texture for our line dash patterns to work on OpenGL ES 2.0 conforming implementations. Fortunately, this just means changing the height from 15 to 16, and from 30 to 32, so we don't waste many pixels.
|
|
|
|
|
| |
This allows injection of memory, gfx and network probes before and
after operations defined in render test are run.
|
| |
|
|
|
|
| |
We are not using them, attempt to make the tests run faster.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Add setMaximumConcurrentRequests() method for setting it on the
OnlineFileSource.
|
| |
|
| |
|
|
|
|
|
| |
(#15951)
This reverts commit d2413d4ffffd087b352b6e4edd6e6322a311bc07.
|
|
|
|
|
|
| |
Memory Sanitizer requires all the dependencies, including
libstdc++ to be compiled with Memory Sanitizer, otherwise
we will get tons of false positives.
|
|
|
|
|
|
|
|
|
|
|
|
| |
app (#15887)
* [render-test] Wrap test resources inside app
* [render-test] Add test app
* fix test app failure
* [render-test]add callback + add javaObjectWrapper
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
So that we do not unnecessarily remove and re-add
sources and images if their order has been modified
in the updated style.
|
| |
|
|
|
|
| |
Make compilation more pedantic.
|
|
|
|
|
|
|
|
| |
MSVC implementation of std::promise is buggy and only works with types
that can be default-constructed. To avoid a compilation failure in the
instantiation of ask() inside MapSnapshotter::getRegion(), which creates
a std::promise<LanLngBounds>, make LatLngBounds' default constructor
public.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Add `packDatabase()` method and `bool pack` argument to the `deleteOfflineRegion()` method.
|
|
|
|
|
|
| |
- introduce `OfflineDatabase::pack()` standing for incremental vacuum
- make pack optional at offline region deletion
- update `OfflineDatabase.DeleteRegion` test accordingly to the items above
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Before this change, all GeoJSON source cleared tile pyramid
at the style transition and it caused flickering.
Now, in Continuous mode, we keep the existing tiles until the
new GeoJSON data is not yet available, thus providing smart
style transitions without flickering.
In other modes (Static, Tile) clear the tile pyramid in order
to avoid render tests being flaky.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
```
Undefined symbols for architecture x86_64:
"mbgl::ProxyFileSource::getRequestCount()", referenced from:
TestRunner::runOperations(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, TestMetadata&, RunContext&) in runner.cpp.o
"mbgl::ProxyFileSource::isTrackingActive()", referenced from:
TestRunner::runOperations(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, TestMetadata&, RunContext&) in runner.cpp.o
"mbgl::ProxyFileSource::setTrackingActive(bool)", referenced from:
TestRunner::runOperations(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, TestMetadata&, RunContext&) in runner.cpp.o
TestRunner::run(TestMetadata&) in runner.cpp.o
"mbgl::ProxyFileSource::getTransferredSize()", referenced from:
TestRunner::runOperations(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, TestMetadata&, RunContext&) in runner.cpp.o
```
Fixes Debug build on OS X with clang-8
|
| |
|
| |
|
| |
|
| |
|
| |
|