diff --git a/src/display.rs b/src/display.rs index 00427e34..09509569 100644 --- a/src/display.rs +++ b/src/display.rs @@ -144,7 +144,7 @@ impl Display { .expect("glutin returns window size"); let dpr = window.hidpi_factor(); - info!("device_pixel_ratio: {}", dpr); + debug!("device_pixel_ratio: {}", dpr); let rasterizer = font::Rasterizer::new(dpi.x(), dpi.y(), dpr, config.use_thin_strokes())?; @@ -153,7 +153,7 @@ impl Display { // Initialize glyph cache let glyph_cache = { - info!("Initializing glyph cache"); + debug!("Initializing glyph cache"); let init_start = ::std::time::Instant::now(); let cache = renderer.with_loader(|mut api| { @@ -162,7 +162,7 @@ impl Display { let stop = init_start.elapsed(); let stop_f = stop.as_secs() as f64 + stop.subsec_nanos() as f64 / 1_000_000_000f64; - info!("Finished initializing glyph cache in {}", stop_f); + debug!("Finished initializing glyph cache in {}", stop_f); cache }; @@ -180,7 +180,7 @@ impl Display { let width = cell_width * dimensions.columns_u32(); let height = cell_height * dimensions.lines_u32(); let size = Size { width: Pixels(width), height: Pixels(height) }; - info!("set_inner_size: {}", size); + trace!("set_inner_size: {}", size); let viewport_size = Size { width: Pixels(width + 2 * config.padding().x as u32), @@ -188,7 +188,7 @@ impl Display { }; window.set_inner_size(&viewport_size); renderer.resize(viewport_size.width.0 as _, viewport_size.height.0 as _); - info!("Cell Size: ({} x {})", cell_width, cell_height); + debug!("Cell Size: ({} x {})", cell_width, cell_height); let size_info = SizeInfo { width: viewport_size.width.0 as f32, diff --git a/src/main.rs b/src/main.rs index 9db5ce58..f2a5109b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -91,12 +91,6 @@ fn run(mut config: Config, options: cli::Options) -> Result<(), Box> { // The display manages a window and can draw the terminal let mut display = Display::new(&config, &options)?; - info!( - "PTY Dimensions: {:?} x {:?}", - display.size().lines(), - display.size().cols() - ); - // Create the terminal // // This object contains all of the state about what's being displayed. It's diff --git a/src/renderer/mod.rs b/src/renderer/mod.rs index 7c1c011b..0a2fdf90 100644 --- a/src/renderer/mod.rs +++ b/src/renderer/mod.rs @@ -964,8 +964,6 @@ impl ShaderProgram { -1., 1.); let projection: [[f32; 4]; 4] = ortho.into(); - info!("width: {}, height: {}", width, height); - unsafe { gl::UniformMatrix4fv(self.u_projection, 1, gl::FALSE, projection.as_ptr() as *const _);