Home
last modified time | relevance | path

Searched refs:mReleasedList (Results 1 – 2 of 2) sorted by relevance

/external/angle/src/libANGLE/
DHandleAllocator.cpp47 ASSERT(!mUnallocatedList.empty() || !mReleasedList.empty()); in allocate()
50 if (!mReleasedList.empty()) in allocate()
52 std::pop_heap(mReleasedList.begin(), mReleasedList.end(), std::greater<GLuint>()); in allocate()
53 GLuint reusedHandle = mReleasedList.back(); in allocate()
54 mReleasedList.pop_back(); in allocate()
95 mReleasedList.push_back(handle); in release()
96 std::push_heap(mReleasedList.begin(), mReleasedList.end(), std::greater<GLuint>()); in release()
107 if (!mReleasedList.empty()) in reserve()
109 auto releasedIt = std::find(mReleasedList.begin(), mReleasedList.end(), handle); in reserve()
110 if (releasedIt != mReleasedList.end()) in reserve()
[all …]
DHandleAllocator.h60 std::vector<GLuint> mReleasedList; variable