Home
last modified time | relevance | path

Searched refs:mCurrIndex (Results 1 – 12 of 12) sorted by relevance

/hardware/qcom/display/msm8994/liboverlay/
DoverlayRotator.cpp112 RotMem::RotMem() : mCurrIndex(0) { in RotMem()
129 if(mRelFence[mCurrIndex] >= 0) { in setCurrBufReleaseFd()
134 ret = sync_wait(mRelFence[mCurrIndex], 1000); in setCurrBufReleaseFd()
139 ::close(mRelFence[mCurrIndex]); in setCurrBufReleaseFd()
141 mRelFence[mCurrIndex] = fence; in setCurrBufReleaseFd()
146 uint32_t prevIndex = (mCurrIndex + numRotBufs - 1) % (numRotBufs); in setPrevBufReleaseFd()
DoverlayMdpRot.cpp243 mMem.mCurrIndex = 0; in reset()
261 mMem.mRotOffset[mMem.mCurrIndex]; in queueBuffer()
271 mMem.mCurrIndex = in queueBuffer()
272 (mMem.mCurrIndex + 1) % mMem.mem.numBufs(); in queueBuffer()
DoverlayMdssRot.cpp201 mMem.mRotOffset[mMem.mCurrIndex]; in queueBuffer()
211 mMem.mCurrIndex = in queueBuffer()
212 (mMem.mCurrIndex + 1) % mMem.mem.numBufs(); in queueBuffer()
295 mMem.mCurrIndex = 0; in reset()
DoverlayRotator.h62 uint32_t mCurrIndex; member
/hardware/qcom/display/msm8226/liboverlay/
DoverlayRotator.cpp76 RotMem::RotMem() : mCurrIndex(0) { in RotMem()
93 if(mRelFence[mCurrIndex] >= 0) { in setReleaseFd()
98 ret = sync_wait(mRelFence[mCurrIndex], 1000); in setReleaseFd()
103 ::close(mRelFence[mCurrIndex]); in setReleaseFd()
105 mRelFence[mCurrIndex] = fence; in setReleaseFd()
DoverlayMdpRot.cpp235 mMem.mCurrIndex = 0; in reset()
250 mMem.mRotOffset[mMem.mCurrIndex]; in queueBuffer()
251 mMem.mCurrIndex = in queueBuffer()
252 (mMem.mCurrIndex + 1) % mMem.mem.numBufs(); in queueBuffer()
DoverlayMdssRot.cpp169 mMem.mRotOffset[mMem.mCurrIndex]; in queueBuffer()
170 mMem.mCurrIndex = in queueBuffer()
171 (mMem.mCurrIndex + 1) % mMem.mem.numBufs(); in queueBuffer()
259 mMem.mCurrIndex = 0; in reset()
DoverlayRotator.h62 uint32_t mCurrIndex; member
/hardware/qcom/display/msm8084/liboverlay/
DoverlayRotator.cpp75 RotMem::RotMem() : mCurrIndex(0) { in RotMem()
92 if(mRelFence[mCurrIndex] >= 0) { in setReleaseFd()
97 ret = sync_wait(mRelFence[mCurrIndex], 1000); in setReleaseFd()
102 ::close(mRelFence[mCurrIndex]); in setReleaseFd()
104 mRelFence[mCurrIndex] = fence; in setReleaseFd()
DoverlayMdpRot.cpp216 mMem.mCurrIndex = 0; in reset()
231 mMem.mRotOffset[mMem.mCurrIndex]; in queueBuffer()
232 mMem.mCurrIndex = in queueBuffer()
233 (mMem.mCurrIndex + 1) % mMem.mem.numBufs(); in queueBuffer()
DoverlayMdssRot.cpp145 mMem.mRotOffset[mMem.mCurrIndex]; in queueBuffer()
146 mMem.mCurrIndex = in queueBuffer()
147 (mMem.mCurrIndex + 1) % mMem.mem.numBufs(); in queueBuffer()
235 mMem.mCurrIndex = 0; in reset()
DoverlayRotator.h62 uint32_t mCurrIndex; member