Searched refs:mUse (Results 1 – 8 of 8) sorted by relevance
37 SharedResourceUse() : mUse(nullptr) {} in SharedResourceUse()39 SharedResourceUse(SharedResourceUse &&rhs) : mUse(rhs.mUse) { rhs.mUse = nullptr; } in SharedResourceUse()42 std::swap(mUse, rhs.mUse);46 ANGLE_INLINE bool valid() const { return mUse != nullptr; } in valid()50 ASSERT(!mUse); in init()51 mUse = new ResourceUse; in init()52 mUse->counter++; in init()56 void updateSerialOneOff(Serial serial) { mUse->serial = serial; } in updateSerialOneOff()61 ASSERT(mUse->counter > 0); in release()62 if (--mUse->counter == 0) in release()[all …]
307 SharedResourceUse() : mUse(nullptr) {} in SharedResourceUse()309 SharedResourceUse(SharedResourceUse &&rhs) : mUse(rhs.mUse) { rhs.mUse = nullptr; } in SharedResourceUse()312 std::swap(mUse, rhs.mUse);316 ANGLE_INLINE bool valid() const { return mUse != nullptr; } in valid()320 ASSERT(!mUse); in init()321 mUse = new ResourceUse; in init()322 mUse->counter++; in init()328 ASSERT(mUse->counter > 0); in release()329 if (--mUse->counter == 0) in release()331 delete mUse; in release() local[all …]
21 mUse.init(); in Resource()26 mUse.release(); in ~Resource()31 return contextVk->finishToSerial(mUse.getSerial()); in finishRunningCommands()
24 mUse.init(); in SyncHelper()29 mUse.release(); in ~SyncHelper()34 renderer->collectGarbageAndReinit(&mUse, &mEvent); in releaseToRenderer()58 contextVk->getResourceUseList().add(mUse); in initialize()113 contextVk->getResourceUseList().add(mUse); in serverWait()
53 SharedResourceUse mUse; variable
292 mUse.init(); in CommandGraphResource()297 mUse.release(); in ~CommandGraphResource()302 return contextVk->finishToSerial(mUse.getSerial()); in finishRunningCommands()331 contextVk->getResourceUseList().add(mUse); in recordCommands()
1169 void retain(ResourceUseList *resourceUseList) const { resourceUseList->add(mUse); } in retain()1199 SharedResourceUse mUse;1224 void retain(ResourceUseList *resourceUseList) { resourceUseList->add(mUse); } in retain()1227 SharedResourceUse mUse;
1757 mUse.updateSerialOneOff(serial); in initializeNonZeroMemory()1780 renderer->collectGarbageAndReinit(&mUse, &mBuffer, &mBufferView, &mAllocation); in release()2073 renderer->collectGarbageAndReinit(&mUse, &mImage, &mDeviceMemory); in releaseImage()2122 mUse.updateSerialOneOff(serial); in initializeNonZeroMemory()3819 mUse.init(); in ImageViewHelper()3833 mUse.release(); in ~ImageViewHelper()3876 renderer->collectGarbage(std::move(mUse), std::move(garbage)); in release()3879 mUse.init(); in release()4008 mUse.init(); in SamplerHelper()4013 mUse.release(); in ~SamplerHelper()[all …]