You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The hillshade layer reuses webgl textures as a performance optimization, and stores the textures for reuse in a cache in the painter object. The problem is that when we go to reuse existing textures, we look them up based on tile size:
These are not necessarily the same. For instance on a retina screen, 256px raster dem tiles will have a 514px texture (256x2 + 1px border on either side).
The result is that we cache an unbounded number of textures that we'll never re-use.
Activity
Cache hillshade textures based on texture size, not tile size.
Cache hillshade textures based on texture size, not tile size.
Cache hillshade textures based on texture size, not tile size.
Cache hillshade textures based on texture size, not tile size.
Cache hillshade textures based on texture size, not tile size. (#7695)
Cache hillshade textures based on texture size, not tile size.
Cache hillshade textures based on texture size, not tile size.