IMHO, the API I proposed prevents 'spinners', allow more than one query to be 'polled' in a single frame (not waiting for glFinish())
This should make both of you happy?
From: Florian Bösch <email@example.com>
Date: Friday, April 12, 2013 2:49 PM
To: Rémi Arnaud <firstname.lastname@example.org>
Cc: Rémi Arnaud <email@example.com>, Ben Vanik <firstname.lastname@example.org>, "email@example.com" <firstname.lastname@example.org>, Kenneth Russell <email@example.com>, Gregg Tavares <firstname.lastname@example.org>, Public Webgl <email@example.com>, Brian Cornell <firstname.lastname@example.org>, Glenn Maynard <email@example.com>
Subject: Re: [Public WebGL] For review: ANGLE_timer_query extension
On Fri, Apr 12, 2013 at 11:42 PM, Arnaud, Remi <Remi.Arnaud@amd.com> wrote:
I think that would be a bad idea. But what Greg wants to achieve with this is to prevent people from writing spinners, which are likely to become deadspinners since queue synchronization would only happen at flip, which can't happen unless JS ends, which means JS hangs. Or it just gets sluggish until the driver queue has cought up.