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

Optimizations to filter effects, blend targets, and batching. #461

Merged
merged 2 commits into from Oct 24, 2016

Commits on Oct 24, 2016

  1. Optimizations to filter effects, blend targets, and batching.

    * Switch all filter effects to run through the single source blend shader, instead of composite shader.
    * Each render target uses a single alpha batcher now that the batching algorithm is reasonably efficient.
    * Change tile size to 256x256. This seems to be a better tradeoff for GPU vs CPU time on all sites I tried.
    * Switch blend targets to only allocate the used rect, rather than the entire tile size rect.
    
    Closes #423.
    gw3583 committed Oct 24, 2016
  2. Address review comments.

    gw3583 committed Oct 24, 2016
You can’t perform that action at this time.