-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Retire SWIG-based Agg backend in favour of Cython-based Celiagg #414
Comments
#251 is connected here. I believe the root issue is that Here's all the serious occurrences of context objects being blitted directly, as far as I can tell:
Some refactoring (and probably deprecations) will need to be done to make changes here possible. |
Can you clarify why you think there is a "hard dependency" on the current agg backend?
|
One of those places where There's no real reason that that must explicitly depend on |
Perhaps the situation has improved in four years. The chaco code you linked to is somewhat concerning though. It makes any refactoring somewhat difficult. |
I suspect the main thing to make the |
The SWIG-based Agg wrapper is showing its age: it is using an old version of Agg; it doesn't work with modern GCC or SWIG versions, the build process is idiosyncratic, and it is overall hard to maintain and modify. Celiagg is a Cython-based alternative wrapper of the Agg backend with better overall architecture and, importantly, is a stand-along package which is independent of Kiva. There is already a Celiagg backend for Kiva.
We should switch the default
image
backend to use Celiagg, and deprecate and retire the SWIG-based Agg wrapper.Most of the pieces are in place for this, but it will likely be a multi-phase process:
The text was updated successfully, but these errors were encountered: