[cairo] Problem with cairo in windows

David Larsson laserallan at gmail.com
Sun Apr 19 14:27:33 PDT 2009


Hi!

I have a silly problem with Cairo for windows, that you might be able
to help me to figure out before I start doing some serious debugging.
I'm trying to use cairo to render to a image buffer that I want to
display on in a window using pixel toaster
(http://www.pixeltoaster.com/) which is a minimalistic cross platform
framebuffer library.

The rendering works perfect as long as I don't open a screen with
pixeltoaster, but only output the image as a png.
However, when I create a pixeltoaster display it seems likes cairo
just stops drawing. I've verified that not only my screen but png
output of the image rendered is black.

Can anyone see why a bunch of window creation code and directx 9
object creation code could make cairo stop drawing?
I'm getting no indication of errors by failing function calls etc.

I'm using the windows build of cairo 1.8.6 from gtk+ from
http://www.gtk.org/download-windows.html as suggested on
http://cairographics.org/download/

I know this is difficult to debug without all code in front of you,
but I just want to check if someone can see any potential problem here
before I build cairo from source code to be able to debug what's
actually going on.

Thanks in advance
/David


More information about the cairo mailing list