Home
last modified time | relevance | path

Searched refs:VsyncThread (Results 1 – 11 of 11) sorted by relevance

/hardware/google/gfxstream/host/
DVsyncThread.cpp20 VsyncThread::VsyncThread(uint64_t vsyncPeriodNs) : in VsyncThread() function in gfxstream::VsyncThread
26 VsyncThread::~VsyncThread() { in ~VsyncThread()
30 void VsyncThread::schedule(VsyncTask task) { in schedule()
34 void VsyncThread::setPeriod(uint64_t newPeriod) { in setPeriod()
38 void VsyncThread::exit() { in exit()
43 void VsyncThread::threadFunc() { in threadFunc()
DVsyncThread.h32 class VsyncThread {
36 VsyncThread(uint64_t vsyncPeriod);
37 ~VsyncThread();
DBUILD.bazel94 "VsyncThread.cpp",
DAndroid.bp114 "VsyncThread.cpp",
DFrameBuffer.h488 void scheduleVsyncTask(VsyncThread::VsyncTask task);
887 std::unique_ptr<VsyncThread> m_vsyncThread = {};
Dmeson.build185 'VsyncThread.cpp',
DCMakeLists.txt30 VsyncThread.cpp
DFrameBuffer.cpp535 fb->m_vsyncThread.reset(new VsyncThread((uint64_t)kOneSecondNs / (uint64_t)fb->m_vsyncHz)); in initialize()
2872 void FrameBuffer::scheduleVsyncTask(VsyncThread::VsyncTask task) { in scheduleVsyncTask()
/hardware/google/gfxstream/host/tests/
DVsyncThread_unittest.cpp27 TEST(VsyncThread, Basic) { in TEST() argument
35 VsyncThread thread(k60HzPeriodNs); in TEST()
49 TEST(VsyncThread, ChangePeriod) { in TEST() argument
58 VsyncThread thread(k60HzPeriodNs); in TEST()
/hardware/interfaces/graphics/composer/2.1/utils/hwc2onfbadapter/include/hwc2onfbadapter/
DHWC2OnFbAdapter.h100 class VsyncThread {
125 VsyncThread mVsyncThread;
/hardware/interfaces/graphics/composer/2.1/utils/hwc2onfbadapter/
DHWC2OnFbAdapter.cpp818 int64_t HWC2OnFbAdapter::VsyncThread::now() { in now()
825 bool HWC2OnFbAdapter::VsyncThread::sleepUntil(int64_t t) { in sleepUntil()
843 void HWC2OnFbAdapter::VsyncThread::start(int64_t firstVsync, int64_t period) { in start()
847 mThread = std::thread(&VsyncThread::vsyncLoop, this); in start()
850 void HWC2OnFbAdapter::VsyncThread::stop() { in stop()
859 void HWC2OnFbAdapter::VsyncThread::setCallback(HWC2_PFN_VSYNC callback, hwc2_callback_data_t data) { in setCallback()
865 void HWC2OnFbAdapter::VsyncThread::enableCallback(bool enable) { in enableCallback()
873 void HWC2OnFbAdapter::VsyncThread::vsyncLoop() { in vsyncLoop()