Summary: | Drawing huge lines has hefty memory usage | ||
---|---|---|---|
Product: | cairo | Reporter: | Simon Budig <simon> |
Component: | general | Assignee: | Carl Worth <cworth> |
Status: | RESOLVED FIXED | QA Contact: | cairo-bugs mailing list <cairo-bugs> |
Severity: | normal | ||
Priority: | high | ||
Version: | 1.2.0 | ||
Hardware: | x86 (IA32) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | Testcase for the "freezing computer" problem. |
Description
Simon Budig
2006-07-20 10:14:48 UTC
Created attachment 6289 [details]
Testcase for the "freezing computer" problem.
Hmm, I vaguely thought this had already been dealt with. There are two basic ways of attacking this: - Make sure that X server limits the size of any temporary surfaces created for XRenderCompositeTrapezoids to the size of the destination picture. - Have cairo create the temporary surfaces itself and use XRenderAddTraps rather than XRenderCompositeTrapezoids. In fact, I thought we had already done *both*. We now do geometric clipping of the lines prior to computing mask extents. |
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.