[cairo] [cairo/glitz] glitz patches?

Paolo Bonzini bonzini at gnu.org
Mon Nov 24 08:16:07 PST 2008


>> diff --git a/boilerplate/cairo-boilerplate.h b/boilerplate/cairo-boilerplate.h
>> index 19b2957..9dd7818 100644
>> --- a/boilerplate/cairo-boilerplate.h
>> +++ b/boilerplate/cairo-boilerplate.h
>> @@ -94,6 +94,13 @@
>>  #endif
>>
>>
>> +/* There are conflicts between QuickDraw and X11.  On MacOS GLX is pretty
>> +   much broken, so test AGL instead.  */
>> +#if CAIRO_CAN_TEST_GLITZ_AGL_SURFACE
>> +#undef CAIRO_CAN_TEST_GLITZ_GLX_SURFACE
>> +#endif
>> +
>> +
> It'd be better to print a warning and unset
> CAIRO_CAN_TEST_GLITZ_GLX_SURFACE in configure.

No, it's a perfectly fine configuration to install multiple backends.
It's a limitation of the testing code that all the backends are placed
in a single file.

Paolo


More information about the cairo mailing list