Home
last modified time | relevance | path

Searched refs:mSerials (Results 1 – 4 of 4) sorted by relevance

/external/angle/src/libANGLE/renderer/vulkan/
DResourceVk.h43 ResourceUse(const Serials &otherSerials) { mSerials = otherSerials; } in ResourceUse()
46 ResourceUse(const ResourceUse &other) : mSerials(other.mSerials) {} in ResourceUse()
49 mSerials = other.mSerials;
54 ResourceUse(ResourceUse &&other) : mSerials(other.mSerials) { other.mSerials.clear(); } in ResourceUse()
57 mSerials = other.mSerials;
58 other.mSerials.clear();
62 bool valid() const { return mSerials.size() > 0; } in valid()
64 void reset() { mSerials.clear(); } in reset()
66 const Serials &getSerials() const { return mSerials; } in getSerials()
71 if (ANGLE_UNLIKELY(mSerials.size() <= index)) in setSerial()
[all …]
Dvk_cache_utils.h1855 ASSERT(kFramebufferDescColorIndexOffset + index < mSerials.size()); in getColorImageViewSerial()
1856 return mSerials[kFramebufferDescColorIndexOffset + index]; in getColorImageViewSerial()
1901 FramebufferAttachmentArray<ImageOrBufferViewSubresourceSerial> mSerials; variable
Dvk_cache_utils.cpp4852 mSerials[index] = serial; in update()
4886 return angle::ComputeGenericHash(&mSerials, sizeof(mSerials[0]) * mMaxIndex) ^ in hash()
4899 memset(&mSerials, 0, sizeof(mSerials)); in reset()
4913 size_t validRegionSize = sizeof(mSerials[0]) * mMaxIndex; in operator ==()
4914 return memcmp(&mSerials, &other.mSerials, validRegionSize) == 0; in operator ==()
4920 for (const ImageOrBufferViewSubresourceSerial &serial : mSerials) in attachmentCount()
/external/angle/src/libANGLE/renderer/
Dserial_utils.h212 void fill(Serial serial) { std::fill(mSerials.begin(), mSerials.end(), serial); } in fill()
213 Serial operator[](SerialIndex index) const { return mSerials[index].getSerial(); }
214 size_t size() const { return mSerials.size(); } in size()
217 std::array<AtomicQueueSerial, kMaxQueueSerialIndexCount> mSerials;
290 ASSERT(index < mSerials.size()); in setQueueSerial()
292 ASSERT(serial > mSerials[index].getSerial()); in setQueueSerial()
293 mSerials[index] = serial; in setQueueSerial()