Re: [AD] Expose events in OS X |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On 2009-04-20, Evert Glebbeek <eglebbk@xxxxxxxxxx> wrote:
> On 20 Apr 2009, at 13:04 , Elias Pschernig wrote:
> > Yeah, it's why only some of our example programs would rely on it.
> > The thing is,
> > it makes the code quite a bit simpler, and if our assumption how GLX
> > works
> > breaks, under Windows and OSX it still would work perfectly, and in
> > the X11 port
> > there would be a graphical glitch whenever your Allegro window was
> > obscured by
> > another window (many of our example have that very glitch right now
> > anyway
> > simply because they don't bother to do the complex expose event
> > handling).
>
> Right. And in a practical situation, the problem would be corrected
> after the next graphical update cycle.
> I guess you're right and we can live without this working 100%
> correctly 100% of the time.
Typically (especially in proper programs, not examples) you have enough
information to recreate the screen, so there's not any need for Allegro
to handle expose events. I suppose Allegro could handle it more
efficiently?
Peter