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 <firstname.lastname@example.org>
Date: Friday, April 12, 2013 2:49 PM
To: Rémi Arnaud <email@example.com>
Cc: Rémi Arnaud <firstname.lastname@example.org>, Ben Vanik <email@example.com>, "firstname.lastname@example.org" <email@example.com>, Kenneth Russell <firstname.lastname@example.org>, Gregg Tavares <email@example.com>, Public Webgl <firstname.lastname@example.org>, Brian Cornell <email@example.com>, Glenn Maynard <firstname.lastname@example.org>
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.