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

Re: [Public WebGL] For review: ANGLE_timer_query extension



On Fri, Apr 12, 2013 at 5:32 PM, Arnaud, Remi <Remi.Arnaud@amd.com> wrote:
The proposed API does not have those limitations, as the callback 'results' can be just a list of timers which have to be queried to get their values. 

Query the first and last to get the overall time, then query more timers if you want more results. 

At that point (in the callback) all the timers are available and ready. 

Each frame has his own new asyncCounters. In fact one single frame can have more than one set of queries and associated callback
The current API already does that, and the differing semantic presents no improvement. It presents a detriment however because now hierarchies of thousands of timers cannot be managed, hence it is unusable.