Re: how to improve the speed of GTK pixmap
Hi, magicdhj [EMAIL PROTECTED] writes: I am now trying to use gtk to draw graphic. And I use the double buffer to avoid flicker. you don't need to do any double buffering with gtk+-2.x since the library transparently does it for you. If you implement your own buffering on top of it, you will only slow your app down. Salut, Sven ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Re: how to improve the speed of GTK pixmap
Thanks, Sven Neumann I use the GTK1.2 to develop my program. I have not upgrade it to the 2.0 version. I think you are good at the Gtk2.0 now. Would you please give some suggestion to upgrade my program to the new version? Regards Ding Haijun - Dept. of Technology and Development, Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST) Nanjing, P.R.China PHONE: +86+25-6630566-59 FUJITSU INTERNAL 7995559 FAX: +86+25-3317685 - Original Message - From: Sven Neumann [EMAIL PROTECTED] To: magicdhj [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, January 13, 2003 1:11 AM Subject: Re: how to improve the speed of GTK pixmap Hi, magicdhj [EMAIL PROTECTED] writes: I am now trying to use gtk to draw graphic. And I use the double buffer to avoid flicker. you don't need to do any double buffering with gtk+-2.x since the library transparently does it for you. If you implement your own buffering on top of it, you will only slow your app down. Salut, Sven ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
how to improve the speed of GTK pixmap
Hi,all I am now trying to use gtk to draw graphic. And I use the double buffer to avoid flicker. In the graphic, I will draw hundreds of line and text. So when I redraw the graphic, it will be very slow. Some advice is gived to me as following: 1. don't use pixmap as the buffer. 2. decrease the times of draw line and draw text. I don't konw to do it. It's will be very kind of you that give some suggestion to improve the speed. Thanks! Regards Ding Haijun - Dept. of Technology and Development, Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST) Nanjing, P.R.China PHONE: +86+25-6630566-59 FUJITSU INTERNAL 7995559 FAX: +86+25-3317685 ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list