Lines Matching refs:Query
32 class GPU_EXPORT Query : public base::RefCounted<Query> {
34 Query(
75 virtual ~Query();
122 friend class base::RefCounted<Query>;
126 // The manager that owns this Query.
129 // The type of query.
132 // The shared memory used with this Query.
157 // Creates a Query for the given query.
158 Query* CreateQuery(
161 // Gets the query info for the given query.
162 Query* GetQuery(GLuint client_id);
164 // Removes a query info for the given query.
167 // Returns false if any query is pointing to invalid shared memory.
168 bool BeginQuery(Query* query);
170 // Returns false if any query is pointing to invalid shared memory.
171 bool EndQuery(Query* query, base::subtle::Atomic32 submit_count);
195 void StartTracking(Query* query);
196 void StopTracking(Query* query);
204 // Returns false if any query is pointing to invalid shared memory.
205 bool AddPendingQuery(Query* query, base::subtle::Atomic32 submit_count);
208 // Returns false if any query is pointing to invalid shared memory.
209 bool AddPendingTransferQuery(Query* query,
212 // Removes a query from the queue of pending queries.
213 // Returns false if any query is pointing to invalid shared memory.
214 bool RemovePendingQuery(Query* query);
217 // used to emulate a query.
227 // Allows checking no Query will outlive this.
230 // Info for each query in the system.
231 typedef base::hash_map<GLuint, scoped_refptr<Query> > QueryMap;
238 typedef std::deque<scoped_refptr<Query> > QueryQueue;