Roundtrip in gdk_flush()
- From: Soeren Sandmann <sandmann daimi au dk>
- To: gtk-devel-list gnome org
- Subject: Roundtrip in gdk_flush()
- Date: 25 Mar 2002 17:29:32 +0100
I had gdk_flush() show up with around 25% in a profile, and I noticed
this in gdkevents-x11.c:
void
gdk_flush (void)
{
XSync (gdk_display, False);
}
XSync() waits for all requests to be completed before returning, ie,
it is a round-trip. Is there any reason this isn't an XFlush() (which
just flushes XLib's buffers and returns)?
Søren
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]