[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Public WebGL] For review: ANGLE_timer_query extension
Just to restate a few things that everybody seems to forget and more funny ideas come out of the woodwork:
- There is never a need to poll (or receive a callback) for more than one query per frame.
- All queries of a frame are ready for obtaining their value when the last query of a frame is ready.
- Obtaining the query value is expensive in its own right.
- Queries are intentionally individual so that users can organize them in a fashion conductive to their application code.
If the next funny idea about callbacks, futures, sets, lists and whatnot pops into your head and you feel compelled to come out of the woodwork with it. Read this list again. If somehow the idea invalidates any of these points, it's a bad idea.