Re: Re: how to write snappy benchmark?
Mark Vojkovich <[email protected]>
| Newsgroups | gmane.comp.xfree86.forum |
|---|---|
| Message-ID | <[email protected]> |
On Sun, 6 Jul 2003, Allen Akin wrote: > | I don't think most OpenGL apps wait for exposure events... > > Really? That surprises me. (It's been a long while since I had access > to a good chunk of OpenGL app code, so maybe things have changed.) > > What do they do? Poll? Ignore the issue altogether and make the user > request a redraw? Something else? Most OpenGL apps are still games and screensavers. They just render in a loop and there's no need for exposures. As for the professional apps, they have to deal with expose events and generally suck at it. With 2D you at least have a chance of only updating the rects that need to be refreshed. With 3D, the transformations make that unlikely so they end up redrawing everything. It's the same problem. The apps that have to deal with exposures have problems with responsiveness. The ones that are responsive are typically the ones that don't have to deal with them. Mark.