Home
last modified time | relevance | path

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

/frameworks/native/libs/vr/libvrflinger/
Dvsync_service.h37 class VSyncChannel : public pdx::Channel {
39 VSyncChannel(pdx::Service& service, int pid, int cid) in VSyncChannel() function
50 VSyncChannel(const VSyncChannel&) = delete;
51 void operator=(const VSyncChannel&) = delete;
86 void AddClient(const std::shared_ptr<VSyncChannel>& client);
87 void RemoveClient(const std::shared_ptr<VSyncChannel>& client);
97 std::list<std::shared_ptr<VSyncChannel>> clients_;
Dvsync_service.cpp55 auto client = std::make_shared<VSyncChannel>(*this, info.pid, info.cid); in OnChannelOpen()
63 auto client = std::static_pointer_cast<VSyncChannel>(channel); in OnChannelClose()
78 void VSyncService::AddClient(const std::shared_ptr<VSyncChannel>& client) { in AddClient()
83 void VSyncService::RemoveClient(const std::shared_ptr<VSyncChannel>& client) { in RemoveClient()
139 auto client = std::static_pointer_cast<VSyncChannel>(message.GetChannel()); in OnGetLastTimestamp()
149 auto client = std::static_pointer_cast<VSyncChannel>(message.GetChannel()); in OnGetSchedInfo()
186 auto client = std::static_pointer_cast<VSyncChannel>(message.GetChannel()); in OnAcknowledge()
202 void VSyncChannel::Ack() { in Ack()
207 void VSyncChannel::Signal() { in Signal()