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

texture pool for raster tiles #591

Closed
ansis opened this issue Jul 22, 2014 · 1 comment
Closed

texture pool for raster tiles #591

ansis opened this issue Jul 22, 2014 · 1 comment
Assignees

Comments

@ansis
Copy link
Contributor

ansis commented Jul 22, 2014

We should reuse textures for raster tiles and rasterized layers instead of constantly creating and deleting them. Calls to gl.createTexture (here, here) should be replaced with calls to a pool that returns an existing unused texture or creates a new one if necessary. When the tile is removed the texture should be returned to the pool instead of being deleted.

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

3 participants