-
Notifications
You must be signed in to change notification settings - Fork 33
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
Enable Tee Surface ? #7
Comments
Maybe include\cairo-features.h in the zipfile contains the info you're looking for? |
Thanks, that is helpful. I was comparing cairo-windows to the MingW version and it looks like they enable TeeSurface. This would make it possible to use with pycairo without updating one of the unit tests there that expects TeeSurface to exist. TBH, I have no idea if there are any issues with TeeSurface, pycairo only started assuming it was there after 0.16.0 so maybe it just wasn't a default here. cairo-windows include\features.h
https://github.com/msys2/MINGW-packages/blob/master/mingw-w64-cairo/PKGBUILD#L59-L76
|
I guess it's a matter of adding |
Yep, and adding the header file. Though I'm wondering now, why msys gets this and this project doesn't, maybe they are using two different Makefiles with different defaults. Maybe we it should change in the upstream Makefile for Windows (Assuming Msys doesn't manually enable it). |
Looks like changing |
Thanks - I'll try it when I next get a bit of time - I'm on VS2017 now so should be more straightforward. |
I should be able to try it later, but not going to have time to work on it until at least 9PM BST |
I will test in an hour or so and thanks for your help. |
@preshing Looks like it is working with test I run in GitHub Actions. https://github.com/naveen521kk/pycairo/actions/runs/230850470 |
Impressive work, I'll catch up on all this later and have a proper look :) |
@stuaxo Can the tee surface work be merged in master? |
Yes, I tested the pycairo wheel that uses this in a fresh install of python, so LGTM. |
Is there an easy way to see which features cairo-windows had enabled when Cairo was built?
The text was updated successfully, but these errors were encountered: