Bug 83050

Summary: Add runtime access to CAIRO_HAS_* constants in cairo-features.h
Product: cairo Reporter: James Tocknell <aragilar+freedesktop>
Component: generalAssignee: Chris Wilson <chris>
Status: RESOLVED MOVED QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: enhancement    
Priority: medium CC: freedesktop, julien.isorce
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description James Tocknell 2014-08-25 10:05:56 UTC
Currently it is not possible to check for supported features at runtime. This would allow projects such as cairocffi (https://github.com/SimonSapin/cairocffi) to provide this information (see https://github.com/SimonSapin/cairocffi/issues/33). This would allow for such things as matplotlib using cairocffi instead of pycairo (which currently works HAS_* is added to the file).
Comment 1 Behdad Esfahbod 2014-10-06 01:20:01 UTC
Well, it would be more convenient for something like cairocffi to try to load a symbol and see if it fails...
Comment 2 GitLab Migration User 2018-08-25 14:02:20 UTC
-- 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/322.

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.