-
Notifications
You must be signed in to change notification settings - Fork 1.3k
stencil mask overflow. #962
Comments
Can you please retag it as iOS? I see this message at times in xcode debugger log when testing with on iPhone 4S running 7.x. |
@mb12 when creating an issue can you make sure you include info about exactly where/what platform you are seeing the problem on. This will make it easier for us to correctly tag the issue. |
I can get |
The "zoom levels stacking" is expected behavior and not related to stencil mask overflow. It happens because both raster and vector tiles are being rendered and the VTs are twice as big. |
@springmeyer I think that satellite issue is #1423, introduced in the last week or so. The stencil overflow may very well be the underlying cause, I don't know, but it has seemed fairly harmless so far. |
Well, the stencil mask (I believe) is only applicable for vector tiles anyway, since it's related to tessellated drawing. I think we could look higher up the chain and avoid calling into |
I'm curious if something this simple will solve it: diff --git a/src/mbgl/renderer/painter.cpp b/src/mbgl/renderer/painter.cpp
index 742572a..58377c7 100644
--- a/src/mbgl/renderer/painter.cpp
+++ b/src/mbgl/renderer/painter.cpp
@@ -211,7 +211,9 @@ void Painter::render(const Style& style, TransformState state_, TimePoint time)
// Update all clipping IDs.
ClipIDGenerator generator;
for (const auto& source : sources) {
- generator.update(source->getLoadedTiles());
+ if (source->info.type != SourceType::Raster && source->info.type != SourceType::Video) {
+ generator.update(source->getLoadedTiles());
+ }
source->updateMatrices(projMatrix, state);
} But I'm worried their might be issues when raster is combined with vector. Need to investigate and understand this more. |
I got this error as well in my swift coding |
I'm still seeing this message when adding 2 raster layers. |
I'm seeing this error when setting a camera with |
I'm seeing this a lot on Android as well. Vector and raster layers above the basemap flash when interacting with the map. At the same time, I see a flood of Edit: |
"[ERROR] {Map}[OpenGL]: stencil mask overflow" I continually get these as I zoom in and out, regardless of whether I have any vector layers visible. I use Mapbox Studio, so I don't have any raster layers to my knowledge. For example, I will go to Europe and zoom in and out (where I have added nothing and removed several standard layers) and continually get the error logs. |
I too am seeing these errors flooding in on Android, like @brewin. However, I'm not seeing any of rendering issues mentioned in this issue. We are using 3.x, not the 4.0 snapshot. |
We've seen intermittent |
We've started seeing this error in our app using ios-v3.1.0. It's pretty devastating to our navigation app, when it occurs, the route line (polyline) disappears. I could redraw the route line, but the app does not get any notification that this occurred. |
May be related to mapbox/mapbox-gl-js#3354 |
Is there some way to silence these logs until 4.0 is released in Xcode's settings? Maybe in the scheme environment variables like this? |
This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions. |
I've seen this message in Xcode debugger spew sometimes. Not sure if this is a real issue or not.
"stencil mask overflow"
The text was updated successfully, but these errors were encountered: