From 1f3f9add49d9b6fae8f57bb907b278eb06b513c9 Mon Sep 17 00:00:00 2001 From: Joe Wilm Date: Sat, 4 Jun 2016 21:26:28 -0700 Subject: 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. --- src/main.rs | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'src/main.rs') 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(); -- cgit