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

DEMData: save one CPU copy and do decode on GPU #8694

Merged
merged 1 commit into from
Aug 28, 2019
Merged

Commits on Aug 28, 2019

  1. DEMData: save one CPU copy and do decode on GPU

    Save one CPU copy and avoid decoding DEM data on CPU (do it on GPU).
    
    Pad DEMData, for backfill, in context.getImageData. This avoids the need to pad it in DEMData constructor.
    
    DEM decode to height is a single dot operation - no need to do it on CPU since we already have another decode (from internal format) in src/shaders/hillshade_prepare.fragment.glsl.
    astojilj committed Aug 28, 2019
    Configuration menu
    Copy the full SHA
    8532a44 View commit details
    Browse the repository at this point in the history