[cairo] AC_TRY_RUN vs crosscompile

Enrico Weigelt, metux IT consult enrico.weigelt at gr13.net
Sun Apr 16 19:33:40 UTC 2017


On 15.04.2017 19:35, Uli Schlachter wrote:

> One round-trip to the server (involving a context switch, likely).
> 
> I don't know the performance impact of this precisely, but given that
> someone went to the trouble of writing all of this instead of just
> always doing an XSync(), I guess it there was a reason for this.

hmm, seems we need some more detailed measurements.
guess it will just be notable on remote connections ... wait, we won't
have shm there, anyways, ... hmm.

how often ist that called anyways ?

> Cairo's Xlib backend tries hard to avoid blocking requests, so it's hard
> to figure out when the server really is done. Plus, that requires
> additional memory to save this information that is not needed for
> something else.

the memory wouldn't be so much. we could move it to another thread.
but: is xlib threadsafe ?


--mtx



More information about the cairo mailing list