Project

General

Profile

Enhancement #25

Optimize processing of DamageNotify events by repainting completely a window if most of it has been damaged

Added by Arnaud Fontaine over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
High
Category:
Core
Target version:
Start date:
01/14/2012
Due date:
% Done:

100%


Description

Currently, all DamageNotify events are processed but this should not be necessary if most of a window has been damaged and as many DamageNotify may be received, this impacts greatly on performances.

Instead, when a certain ratio of a window has been damaged, further DamageNotify for this window should be ignored until the next repaint.

Associated revisions

Revision 5791d236 (diff)
Added by Arnaud Fontaine over 6 years ago

Repainting completely a window if most of it has been damaged (closes: #25).

Before, DamageNotify events were processed needlessly when most of a window
has been damaged. Now, when a certain ratio of a window has been damaged,
further DamageNotify for this window are ignored until the next repaint.

History

#1 Updated by Arnaud Fontaine over 6 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF