gnash-dev
[Top][All Lists]
Advanced

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

Re: [Gnash-dev] gui wants redraw


From: Martin Guy
Subject: Re: [Gnash-dev] gui wants redraw
Date: Sun, 5 Nov 2006 11:23:17 +0000

wheter the Gui wants redraw on next frame:

The problem with that, in my opinion, is that
gui events should trigger *immediate* redraw,
not redraw on next frame.

Examples of redraw needs are:

        1) resize
        2) expose

We don't want to wait for next frame before refreshing
the view, in both cases.

Yes. That way, when the user can pause the film, the window won't stop
updating itself.

There is a related problem: that gnash keeps rendering its display
window even when minimised or hidden ("burning a hole in the screen"),
and one way to solve that would be for the rendering to be triggered
by resize/expose events from the gui and 'invalidate area' events from
the flash player (every time something moves in an exposed area). -
this should bring a performance boost, as well as opening the door to
automatically dropping frames on slow hardware without affecting the
playing speed of the flash movie.

But that seems rather a large restructuring for the moment.

  M




reply via email to

[Prev in Thread] Current Thread [Next in Thread]