Bug 15347 - DamageSubtract request is a no-op for reporting level RawRectangles
Summary: DamageSubtract request is a no-op for reporting level RawRectangles
Status: RESOLVED DUPLICATE of bug 14648
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: 7.3 (2007.09)
Hardware: Other All
: low minor
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
Depends on:
Reported: 2008-04-03 14:01 UTC by Keith Kriewall
Modified: 2018-06-11 19:49 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Description Keith Kriewall 2008-04-03 14:01:51 UTC
The Damage extension version 1.1 specification states that a partial "repair" of a damaged area results in DamageNotify event(s) for remaining damage areas.  However, when the reporting level on the DAMAGE object is RawRectangles, no such events ever occur.  A code inspection of damageext.c : ProcDamageSubtract() shows that the request is entirely bypassed for this reporting level.  A test client also confirms this behavior.

Please correct either the code or the extension documentation so that they agree.

Note that DamageSubtract is the only way to clear damaged areas, short of destructing the DAMAGE object.  Bypassing this ability compromises the usefulness of RawRectangles reporting.
Comment 1 Adam Jackson 2018-06-11 19:49:42 UTC

*** This bug has been marked as a duplicate of bug 14648 ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.