Projects STRLCPY alacritty Commits a49bd742
🤬
  • Disable depth and stencil buffers

    This patch reduces the active GPU memory consumption by disabling the
    depth and stencil buffers. During original testing it reduced GPU memory
    usage on Linux by almost a third.
    
    This is a reintroduction of previously reverted patch 3475e44.
    
    Closes #2881.
  • Loading...
  • Christian Duerr committed with GitHub 1 year ago
    a49bd742
    1 parent d5e9d1d8
  • ■ ■ ■ ■ ■
    CHANGELOG.md
    skipped 29 lines
    30 30  - Blurry fonts when changing padding size at runtime
    31 31  - Crash while typing on Wayland
    32 32  - Multi-line semantic bracket selection
     33 +- Reduced GPU memory usage
    33 34   
    34 35  ## 0.11.0
    35 36   
    skipped 1064 lines
  • ■ ■ ■ ■
    alacritty/src/renderer/platform.rs
    skipped 41 lines
    42 42   gl_display: &Display,
    43 43   raw_window_handle: Option<RawWindowHandle>,
    44 44  ) -> Result<Config, String> {
    45  - let mut default_config = ConfigTemplateBuilder::new().with_transparency(true);
     45 + let mut default_config = ConfigTemplateBuilder::new()
     46 + .with_depth_size(0)
     47 + .with_stencil_size(0)
     48 + .with_transparency(true);
    46 49   
    47 50   if let Some(raw_window_handle) = raw_window_handle {
    48 51   default_config = default_config.compatible_with_native_window(raw_window_handle);
    skipped 69 lines
Please wait...
Page is in error, reload to recover