Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accessing webgl context in canvas source breaks map raster in specific hardware setup #5081

Closed
gpbmike opened this issue Aug 2, 2017 · 1 comment

Comments

@gpbmike
Copy link
Contributor

gpbmike commented Aug 2, 2017

mapbox-gl-js version: 39.1

Steps to Trigger Behavior

  1. Be on a very specific hardware setup (see notes)
  2. Add canvas source / layer
  3. Access webgl context of added canvas

Expected Behavior

Canvas layer is added to map.

Actual Behavior

Mapbox raster layers vanish.

Notes

I built a nice plotty layer to throw on the map and it worked everywhere except on my product manager's laptop. 😢 Older hardware worked. Newer hardware worked. His specific hardware failed.

Specific hardware:
untitled

I was able to procure a laptop with the same specs from IT to do some testing. Accessing the webgl context of the canvas layer being added to the map triggers the weird behavior.

Reduced test: https://codepen.io/gpbmike/pen/qXNPOM

aug-01-2017 19-56-38

Other webgl applications run as expected.

I'm hoping that there's an another developer out there with this specific setup that can help out.

@jfirebaugh
Copy link
Contributor

Duplicate of #4262.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants