[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:

  1. There is never a need to poll (or receive a callback) for more than one query per frame.
  2. All queries of a frame are ready for obtaining their value when the last query of a frame is ready.
  3. Obtaining the query value is expensive in its own right.
  4. 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.