Lines Matching defs:pQuery
111 Query *pQuery = CastQuery(hQuery);
112 memset(pQuery, 0, sizeof *pQuery);
114 pQuery->Type = pCreateQuery->Query;
115 pQuery->Flags = pCreateQuery->MiscFlags;
117 pQuery->pipe_type = TranslateQueryType(pCreateQuery->Query);
118 if (pQuery->pipe_type < PIPE_QUERY_TYPES) {
119 pQuery->handle = pipe->create_query(pipe, pQuery->pipe_type, 0);
141 Query *pQuery = CastQuery(hQuery);
143 if (pQuery->handle) {
144 pipe->destroy_query(pipe, pQuery->handle);
170 Query *pQuery = CastQuery(hQuery);
174 assert(pQuery->pipe_type < PIPE_QUERY_TYPES);
200 Query *pQuery = CastQuery(hQuery);
201 struct pipe_query *state = pQuery->handle;
203 pQuery->SeqNo = ++pDevice->LastEmittedQuerySeqNo;
204 pQuery->GetDataCount = 0;
233 Query *pQuery = CastQuery(hQuery);
234 struct pipe_query *state = pQuery->handle;
241 (pQuery->SeqNo - pDevice->LastFinishedQuerySeqNo) > 0 &&
242 (pQuery->GetDataCount++) == 0) {
267 switch (pQuery->Type) {
320 if ((pQuery->SeqNo - pDevice->LastFinishedQuerySeqNo) > 0) {
321 pDevice->LastFinishedQuerySeqNo = pQuery->SeqNo;
323 pQuery->GetDataCount = 0x80000000;
347 Query *pQuery = CastQuery(hQuery);
351 wait = (pQuery && pQuery->Flags & D3D10DDI_QUERY_MISCFLAG_PREDICATEHINT) ?
356 pDevice->pPredicate = pQuery;
374 Query *pQuery = pDevice->pPredicate;
375 if (!pQuery) {
379 assert(pQuery->Type == D3D10DDI_QUERY_OCCLUSIONPREDICATE ||
380 pQuery->Type == D3D10DDI_QUERY_STREAMOVERFLOWPREDICATE);
383 struct pipe_query *query = pQuery->handle;