CesiumGS / CesiumGS/cesium

New WebGL warning in recent Firefox versions

Open
#8,360 1 comment 0 reactions 0 assignees View on GitHub
category - graphics
Dominant language
JavaScript
Stars
15.7k
Forks
3.9k
Avg merge
4d 6h
Merged PRs (30d)
34

Description

Sandcastle example: any Sandcastle

Browser: Firefox 70+

Operating System: Windows

The latest Firefox has started spewing multiple copies of the following into the console:

> Error: WebGL warning: generateMipmap: Tex image TEXTURE_2D level 0 is incurring lazy initialization.

It points to [this line in Texture#generateMipmap](https://github.com/AnalyticalGraphicsInc/cesium/blob/master/Source/Renderer/Texture.js#L679).

Contributor guide

Open the contributing guide

Research direction

Start with Source/Renderer/Texture.js at line 679 and reproduce the warning in a Sandcastle example using Firefox 70+ on Windows. Compare the console output around Texture#generateMipmap; done means the repeated lazy-initialization warning is no longer produced in the reported scenario.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
computer-graphics
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.