Re: question about gdk scrolling



Bill Haneman <bill haneman sun com> writes:

> This is functional but somewhat slow; in fact it's slow enough that we
> can even refresh our scaled pixbuf inside the expose handler without
> appreciably slowing things down!  So gdk_pixbuf_render_to_drawable seems
> too slow for snappy panning.

You might want to make sure that the pixbuf you are rendering
doesn't have an alpha channel. An alpha channel will slow things
down a *lot* since GTK+ won't know that your image is fully
opaque.

Regards,
                                        Owen



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]