Searched refs:mFence (Results 1 – 2 of 2) sorted by relevance
133 mFence = std::make_shared<base::unique_fd>(fenceFd); in setFence()137 int getFence() const { return mFence ? dup(mFence->get()) : -1; } in getFence()141 std::shared_ptr<base::unique_fd> mFence; variable
173 FencedBuffer() : mBuffer(nullptr), mFence(MiniFence::NO_FENCE) {} in FencedBuffer()176 void setFence(int fenceFd) { mFence = new MiniFence(fenceFd); } in setFence()179 int getFence() const { return mFence->dup(); } in getFence()183 sp<MiniFence> mFence; variable