Sluggish graphics
- From: Russell Shaw <rjshaw iprimus com au>
- To: gtk-app-devel-list gnome org
- Subject: Sluggish graphics
- Date: Mon, 08 Dec 2003 13:44:07 +1100
Hi,
In a thread, i call gdk_window_get_pointer(drawing_area->window,x,y,NULL).
If the window is 400x400, the call takes 0.13ms. However, if i make the
window close to full screen size, the call takes 300-350ms. And the mouse
cursor only responds to movement every ~300ms too. It happens about 70%
of the time. The other 30%, the call still takes ~0.15ms for a full window.
I have nothing being drawn in this window, or any others.
(500MHz PIII system, GTK2)
drawing_area created as:
drawing_area=gtk_drawing_area_new();
gtk_widget_set_events(drawing_area,
GDK_EXPOSURE_MASK
| GDK_ENTER_NOTIFY_MASK
| GDK_BUTTON_PRESS_MASK
| GDK_BUTTON_RELEASE_MASK
| GDK_KEY_PRESS_MASK
| GDK_KEY_RELEASE_MASK);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]