diff options
author | Joe Wilm <joe@jwilm.com> | 2016-06-04 21:26:28 -0700 |
---|---|---|
committer | Joe Wilm <joe@jwilm.com> | 2016-06-04 21:31:41 -0700 |
commit | 1f3f9add49d9b6fae8f57bb907b278eb06b513c9 (patch) | |
tree | d2413d48aa4f911b1e71386db9ef04478f7c859f /src/main.rs | |
parent | 4fdd5280f1e79ea6575a6a110951c564a7dd235e (diff) | |
download | r-alacritty-1f3f9add49d9b6fae8f57bb907b278eb06b513c9.tar.gz r-alacritty-1f3f9add49d9b6fae8f57bb907b278eb06b513c9.tar.bz2 r-alacritty-1f3f9add49d9b6fae8f57bb907b278eb06b513c9.zip |
Optimize Rendering with batched draw calls
Draw calls are now batched for performance. Render times on git log at
the default size are now ~200usec.
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/main.rs b/src/main.rs index 733c4c6d..79c368df 100644 --- a/src/main.rs +++ b/src/main.rs @@ -12,6 +12,7 @@ extern crate glutin; extern crate cgmath; extern crate euclid; extern crate notify; +extern crate arrayvec; #[macro_use] mod macros; @@ -190,15 +191,6 @@ fn main() { width: width as f32, }; - let props = TermProps { - cell_width: cell_width as f32, - cell_height: cell_height as f32, - sep_x: sep_x as f32, - sep_y: sep_y as f32, - height: height as f32, - width: width as f32, - }; - { let _sampler = meter.sampler(); |