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

Use updateData instead of re-creating buffers for repopulated paint arrays #6853

Merged
merged 1 commit into from
Jun 25, 2018

Commits on Jun 22, 2018

  1. Use updateData instead of re-creating buffers for repopulated paint a…

    …rrays.
    
    Fixes issue #6839 (memory leak on frequent calls to setFeatureState). The leak was caused by mismatched calls to "createVertexBuffer" and "destroy".
    Improves performance of PaintStates benchmark. The performance improvement is presumably because we're able to take advantage of the DYNAMIC_DRAW option intended for frequently updated buffers.
    ChrisLoer committed Jun 22, 2018
    Configuration menu
    Copy the full SHA
    2c5ad7a View commit details
    Browse the repository at this point in the history