Re: Full screen GtkDrawingArea performance sucking - help me!



On Mon, 2007-08-27 at 20:58 +0100, Alex Jones wrote:
> The problem is that the expose handler gets called again before the
> XRender operations from the previous exposes have finished. Hence,
> XRender operations just queue up behind each other at a certain level
> of utilisation. It's the queueing that manifests itself as "lag". As a
> workaround, you can block the expose handler until the drawing is
> actually done, but that's not very nice if you have other things to
> service in the same thread like audio etc.

Isn't that just an after-effect of the drawing being too slow?  Sure you
can gdk_display_sync() to not accumulate updates on the server.

-- 
behdad
http://behdad.org/

"Those who would give up Essential Liberty to purchase a little
 Temporary Safety, deserve neither Liberty nor Safety."
        -- Benjamin Franklin, 1759






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