Bug 2563

Summary: [PATCH] cairo: Expose the configure option to disable some floating-point math
Product: buildroot Reporter: Paul Burton <Paul.Burton>
Component: OtherAssignee: unassigned
Status: RESOLVED INVALID    
Severity: enhancement CC: buildroot, Paul.Burton
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Host: Target:
Build:
Attachments: Exposes cairos --disable-some-floating-point configure option

Description Paul Burton 2010-09-14 16:37:38 UTC
Created attachment 2467 [details]
Exposes cairos --disable-some-floating-point configure option

Cairo has a configure option to disable some code paths which make heavy use of floating point math. On systems without hardware floating point, this can improve performance. This patch exposes that option in the buildroot configuration.
Comment 1 Peter Korsgaard 2010-09-15 11:50:05 UTC
I don't have any problems with the option as such, but right now this option doesn't do anything in cairo, so adding it seems pretty pointless:

grep -rls DISABLE_SOME_FLOATING_POINT cairo-1.8.10
cairo-1.8.10/configure
cairo-1.8.10/config.h.in
cairo-1.8.10/configure.ac
Comment 2 Paul Burton 2010-09-17 16:19:38 UTC
Hmm, that's a very good point! I guess my impression that it had made any difference was a delusion... It does however seem to be used in current cairo from git, I haven't checked if it's in any of the newer releases. Probably worth holding off on this until cairo is updated to some version that uses it.
Comment 3 Thomas Petazzoni 2010-09-18 17:36:24 UTC
Ok, therefore closing the bug. Don't hesitate to reopen when/if a later version of Cairo really support such an option. Thanks!