Skip to content
Snippets Groups Projects
  • Thorbjørn Lindeijer's avatar
    0ddfcdff
    Fixed performance issue with scrolling when using X11 graphics system · 0ddfcdff
    Thorbjørn Lindeijer authored
    Depending on the XRender driver (probably), drawing a short straight
    line can take quite a while when this line is transparent. On my
    laptop's onboard ATI card, this meant that scrolling was unusably slow
    when this transparent line was being drawn.
    
    Fixed by avoiding the issue, since there is no actual need to use
    transparency here. We can calculate the resulting color in advance
    instead.
    0ddfcdff
    History
    Fixed performance issue with scrolling when using X11 graphics system
    Thorbjørn Lindeijer authored
    Depending on the XRender driver (probably), drawing a short straight
    line can take quite a while when this line is transparent. On my
    laptop's onboard ATI card, this meant that scrolling was unusably slow
    when this transparent line was being drawn.
    
    Fixed by avoiding the issue, since there is no actual need to use
    transparency here. We can calculate the resulting color in advance
    instead.
basetexteditor.cpp 162.07 KiB