Summary: | X11 overestimates unbounded operations affected area -> set FORCE_CLIP_REGION | ||
---|---|---|---|
Product: | cairo | Reporter: | Massimo <sixtysix> |
Component: | xlib backend | Assignee: | Chris Wilson <chris> |
Status: | RESOLVED MOVED | QA Contact: | cairo-bugs mailing list <cairo-bugs> |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
proposed patch
combined patch combined patch |
Created attachment 106678 [details]
combined patch
Apparently also the xcb backend does not always consider X11's overestimation
of the affected area for unbounded operators.
The fix is similar to that for xlib.
Created attachment 106720 [details] [review] combined patch while refactoring the previous patch I inverted the ? : branches after having run make test, fixed in the patch attached to this report. -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/cairo/cairo/issues/230. |
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.
Created attachment 106578 [details] proposed patch Before calling clip_and_composite, setting the flag FORCE_CLIP_REGION when !extents->is_bounded in clip_and_composite_boxes, as it is already done in clip_and_composite_polygon and clip_and_composite_traps, fixes overlapping-boxes.xlib.rgb24 and visibly improves tighten-bounds.xlib.argb32.