Re: How to detect display speed in custom widget?
On Thu, 2007-09-06 at 20:47 -0700, Daniel Yek wrote: I'm wondering if anybody is experienced in writing smart widget that would react differently depending on whether the current display is local/fast for graphics animation or remote/slow where all animation should be kept to the minimum? What techniques are suitable for drawing speed detection? The cheapest hack is probably to see if the X server supports the MITSHM extension. If it doesn't, odds are you are on a remote display. [This assumption breaks under VNC, but I guess that's pretty hard to detect anyway.] Federico ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list
Re: How to detect display speed in custom widget?
Federico Mena Quintero wrote: On Thu, 2007-09-06 at 20:47 -0700, Daniel Yek wrote: I'm wondering if anybody is experienced in writing smart widget that would react differently depending on whether the current display is local/fast for graphics animation or remote/slow where all animation should be kept to the minimum? What techniques are suitable for drawing speed detection? The cheapest hack is probably to see if the X server supports the MITSHM extension. If it doesn't, odds are you are on a remote display. Hi Federico, Thanks for the tips! That sounds useful! [This assumption breaks under VNC, but I guess that's pretty hard to detect anyway.] I think VNC is not a problem, because it doesn't send every frame over the network, so it won't crawl. Thanks! -- Daniel Yek. Federico ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list
How to detect display speed in custom widget?
Hi, (I didn't get a response at [EMAIL PROTECTED] Technical-wise, gtk-devel-list is the best list for this question...I'm hoping someone would have an answer for me.) I'm wondering if anybody is experienced in writing smart widget that would react differently depending on whether the current display is local/fast for graphics animation or remote/slow where all animation should be kept to the minimum? What techniques are suitable for drawing speed detection? Thanks a bunch. -- Daniel. ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list
How to detect display speed in custom widget?
Hi, I'm wondering if anybody is experienced in writing smart widget that would react differently depending on whether the current display is local/fast for graphics animation or remote/slow where all animation should be kept to the minimum? What techniques are suitable for drawing speed detection? Thanks. -- Daniel. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list