Searched refs:mFence (Results 1 – 2 of 2) sorted by relevance
176 FencedBuffer() : mBuffer(nullptr), mFence(MiniFence::NO_FENCE) {} in FencedBuffer()179 void setFence(int fenceFd) { mFence = new MiniFence(fenceFd); } in setFence()182 int getFence() const { return mFence->dup(); } in getFence()186 sp<MiniFence> mFence; variable
156 FencedBuffer() : mBuffer(nullptr), mFence(Fence::NO_FENCE) {} in FencedBuffer()159 void setFence(int fenceFd) { mFence = new Fence(fenceFd); } in setFence()162 int getFence() const { return mFence->dup(); } in getFence()166 sp<Fence> mFence; variable