Cairo exports and more (was Re: [cairo] Re: Munging header files
for export (and other) attributes)
mental at rydia.net
mental at rydia.net
Mon Sep 19 12:39:36 PDT 2005
Quoting Bill Spitzak <spitzak at d2.com>:
> Of since this only has to be in the backend_surface_create
> function it is probably ok if it slows things down by locking
> every time it is called (it is likely it has to lock something
> anyway...).
Yes, I think trying to elide the lock would be a premature
optimization. In the absence of compelling performance issues,
simple and universally correct is best.
> I hope this does not detract from my initial reason for posting
> this, which is:
>
> Please do not put "initialization" into the Cairo API!
Very very strongly agreed. While I'm glad to bring another
potential issue to light, I'm sorry I didn't underscore my
agreement with you on this original point earlier on -- I think
it's important.
-mental
More information about the cairo
mailing list