Thanks for reply. Both of the two windows (same layout) are top level windows. And I think the new one will be shown and drawn over the old one, so it seems that it's unavoidable to flicker. But I think there still are some places to be improved. However, I don't know where.
-----Original Message----- From: Denis Oliver Kropp [mailto:[EMAIL PROTECTED] Sent: Monday, November 27, 2006 5:33 PM To: ?? Cc: [email protected] Subject: Re: [directfb-dev] new window flickers when showing on DirectFB ?? schrieb: > Hello, > > When I showed a new window on an existing window, new's widgets > (such as image) flickered. > > And when I hid the new one and went back to the former one, the > widgets would not flicker. > > What's going on? Is the new one a top level window? It could be that GDK first creates the new window, then shows it, but afterwards renders the content. Better render before showing. If it's a sub window, it would be related to artificial exposes or background clearing I guess. There should be no intermediate Flip() done by GDK. -- Best regards, Denis Oliver Kropp .------------------------------------------. | DirectFB - Hardware accelerated graphics | | http://www.directfb.org/ | "------------------------------------------" --------------------------------------- Best Wishes! Zhang Hui Email: [EMAIL PROTECTED] Phone: 86-25-58748787-8215 Samsung Electronics(China) R&D Center --------------------------------------- _______________________________________________ directfb-dev mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
