To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=100851





------- Additional comments from a...@openoffice.org Thu Apr  9 10:49:41 +0000 
2009 -------
>@aw: The patch improves the speed considerably. Drawing lines instead of the
>countless polygons is the right approach for target devices, where the
>difference is hardly visible at all. It reduces the number of polygons
>drawn by a large factor.

Not considerably. As You measured Yourself, a factor of 25 is used for the
non-AAed case. This shows that latest at line widths of 5 (5x5 == 25) this will
paint the same amount of polygons, where the prepared line polygons are smaller.
It goes nearly to the same speed when using up to 4x4.

>I also suggest to use a linewidth instead of drawing a shifted array of
>hairlines. In my tests replacing the shifted hairlines with a wide line
>makes no noticeable visual difference for linewidths up to e.g. 4. 

Very funny, hdu. We discussed about this and You told me several times that
LineWidth is NOT supported through to XRenderExtension, i also checked this
several times. This WOULD be good and the choice for this cases, not only for up
to 4 pixels, but always. IMPLEMENT IT in VCL!
What You suggest (and what You tested) is the SAME line geometry preparation
done in the DrawLine implementation in VCL then used in primitive decomposition.
I already told in desc26 that the only difference is that the geometry is not
buffered when using it in VCL, but being created at each paint...

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@graphics.openoffice.org
For additional commands, e-mail: issues-h...@graphics.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to