diff options
author | Joe Wilm <joe@jwilm.com> | 2016-06-06 13:20:35 -0700 |
---|---|---|
committer | Joe Wilm <joe@jwilm.com> | 2016-06-06 13:20:35 -0700 |
commit | ed7aa96907e8c5e51facb45f9b590ce25b4f3dd5 (patch) | |
tree | dfd2185e57f9ff792d25ae7ca81d56b69e96096d /src/ansi.rs | |
parent | 1f3f9add49d9b6fae8f57bb907b278eb06b513c9 (diff) | |
download | r-alacritty-ed7aa96907e8c5e51facb45f9b590ce25b4f3dd5.tar.gz r-alacritty-ed7aa96907e8c5e51facb45f9b590ce25b4f3dd5.tar.bz2 r-alacritty-ed7aa96907e8c5e51facb45f9b590ce25b4f3dd5.zip |
Refactor Instanced Drawing to use Vertex Arrays
Per-instanced data was previously stored in uniforms. This required
several OpenGL calls to upload all of the data, and it was more complex
to prepare (several vecs vs one).
Additionally, drawing APIs are now accessible through a `RenderApi`
(obtained through `QuadRenderer::with_api`) which enables some RAII
patterns. Specifically, checks for batch flushing are handled in Drop.
Diffstat (limited to 'src/ansi.rs')
0 files changed, 0 insertions, 0 deletions