Bug 83050 - Add runtime access to CAIRO_HAS_* constants in cairo-features.h
Summary: Add runtime access to CAIRO_HAS_* constants in cairo-features.h
Status: RESOLVED MOVED
Alias: None
Product: cairo
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: All All
: medium enhancement
Assignee: Chris Wilson
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-25 10:05 UTC by James Tocknell
Modified: 2018-08-25 14:02 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

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.