Lines Matching refs:mQueryHelper
117 ASSERT(!mQueryHelper.isReferenced()); in allocateQuery()
118 mQueryHelper.setUnreferenced(new vk::RefCounted<vk::QueryHelper>); in allocateQuery()
130 return contextVk->getQueryPool(mType)->allocateQuery(contextVk, &mQueryHelper.get(), in allocateQuery()
136 ASSERT(!mQueryHelper.isReferenced()); in assignSharedQuery()
137 ASSERT(shareQuery->mQueryHelper.isReferenced()); in assignSharedQuery()
138 mQueryHelper.copyUnreferenced(shareQuery->mQueryHelper); in assignSharedQuery()
148 if (mQueryHelper.isReferenced()) in releaseQueries()
151 mQueryHelper.resetAndRelease(&releaseHelper); in releaseQueries()
185 ASSERT(mQueryHelper.isReferenced()); in stashQueryHelper()
186 mStashedQueryHelpers.push_back(std::move(mQueryHelper)); in stashQueryHelper()
187 ASSERT(!mQueryHelper.isReferenced()); in stashQueryHelper()
195 if (mQueryHelper.isReferenced()) in onRenderPassStart()
211 return mQueryHelper.get().beginRenderPassQuery(contextVk); in onRenderPassStart()
217 ASSERT(mQueryHelper.isReferenced()); in onRenderPassEnd()
224 mQueryHelper.get().endRenderPassQuery(contextVk); in onRenderPassEnd()
247 if (mQueryHelper.isReferenced()) in setupBegin()
292 if (!mQueryHelper.isReferenced()) in setupBegin()
326 ANGLE_TRY(mQueryHelper.get().beginQuery(contextVk)); in begin()
379 ASSERT(shareQuery == nullptr || &mQueryHelper.get() == &shareQuery->mQueryHelper.get()); in end()
385 if (shareQuery && shareQuery->mQueryHelper.isReferenced()) in end()
405 ANGLE_TRY(mQueryHelper.get().endQuery(contextVk)); in end()
408 ANGLE_TRY(mQueryHelper.get().flushAndWriteTimestamp(contextVk)); in end()
425 if (!mQueryHelper.isReferenced()) in queryCounter()
430 return mQueryHelper.get().flushAndWriteTimestamp(contextVk); in queryCounter()
435 ASSERT(mQueryHelper.isReferenced()); in isUsedInRecordedCommands()
437 if (mQueryHelper.get().usedInRecordedCommands()) in isUsedInRecordedCommands()
455 ASSERT(mQueryHelper.isReferenced()); in isCurrentlyInUse()
457 if (mQueryHelper.get().isCurrentlyInUse(lastCompletedSerial)) in isCurrentlyInUse()
477 if (mQueryHelper.get().usedInRunningCommands(lastCompletedSerial)) in finishRunningCommands()
479 ANGLE_TRY(mQueryHelper.get().finishRunningCommands(contextVk)); in finishRunningCommands()
508 if (!mQueryHelper.isReferenced()) in getResult()
526 ASSERT(!mQueryHelper.get().usedInRecordedCommands()); in getResult()
554 ASSERT(!IsRenderPassQuery(contextVk, mType) || mQueryHelper.get().hasSubmittedCommands()); in getResult()
560 ANGLE_TRY(mQueryHelper.get().getUint64Result(contextVk, &result)); in getResult()
566 ANGLE_TRY(mQueryHelper.get().getUint64ResultNonBlocking(contextVk, &result, &available)); in getResult()