I've attached a patch which adds DeleteQueryObject and UpdateQuery hooks to the driver function table. These are necessary to implement GL_ARB_occlusion_query in a sane way from a DRI driver.
Created attachment 8519 [details] [review] Extend the query object interface.
The query object interface has been extended in a manner similar to Ben's patch.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.