Home
last modified time | relevance | path

Searched refs:vsync_period_ns (Results 1 – 10 of 10) sorted by relevance

/frameworks/native/libs/vr/libvrflinger/
Dvsync_service.cpp157 int64_t vsync_period_ns = 0; in OnGetSchedInfo() local
164 vsync_period_ns = 20000000; in OnGetSchedInfo()
169 vsync_period_ns = current_vsync_ - last_vsync_; in OnGetSchedInfo()
173 vsync_period_ns = std::min(vsync_period_ns, INT64_C(20000000)); in OnGetSchedInfo()
174 next_warp = current_vsync_ + vsync_period_ns - compositor_time_ns_; in OnGetSchedInfo()
177 next_warp += vsync_period_ns; in OnGetSchedInfo()
182 return {{vsync_period_ns, next_warp, next_vsync_count}}; in OnGetSchedInfo()
Dhardware_composer.cpp69 inline int64_t GetPosePredictionTimeOffset(int64_t vsync_period_ns) { in GetPosePredictionTimeOffset() argument
70 return (vsync_period_ns * 150) / 100; in GetPosePredictionTimeOffset()
153 native_display_metrics_.vsync_period_ns, native_display_metrics_.dpi.x, in Initialize()
341 &out_metrics->vsync_period_ns); in GetDisplayMetrics()
647 const int64_t ns_per_frame = display_metrics_.vsync_period_ns; in WaitForVSync()
730 const int64_t ns_per_frame = display_metrics_.vsync_period_ns; in PostThread()
Ddisplay_service.cpp96 hardware_composer_.native_display_metrics().vsync_period_ns), in OnGetMetrics()
Dhardware_composer.h45 int vsync_period_ns; member
/frameworks/native/libs/vr/libdisplay/
Dvsync_client.cpp50 int VSyncClient::GetSchedInfo(int64_t* vsync_period_ns, int64_t* timestamp_ns, in GetSchedInfo() argument
52 if (!vsync_period_ns || !timestamp_ns || !next_vsync_count) in GetSchedInfo()
62 *vsync_period_ns = status.get().vsync_period_ns; in GetSchedInfo()
/frameworks/native/libs/vr/libdvr/
Ddvr_vsync.cpp26 int dvrVSyncClientGetSchedInfo(DvrVSyncClient* client, int64_t* vsync_period_ns, in dvrVSyncClientGetSchedInfo() argument
29 return client->client->GetSchedInfo(vsync_period_ns, next_timestamp_ns, in dvrVSyncClientGetSchedInfo()
/frameworks/native/libs/vr/libdisplay/include/private/dvr/
Ddisplay_protocol.h29 uint32_t vsync_period_ns; member
46 display_x_dpi, display_y_dpi, vsync_period_ns,
246 int64_t vsync_period_ns; member
251 PDX_SERIALIZABLE_MEMBERS(VSyncSchedInfo, vsync_period_ns, timestamp_ns,
Dvsync_client.h53 int GetSchedInfo(int64_t* vsync_period_ns, int64_t* next_timestamp_ns,
/frameworks/native/libs/vr/libdvr/include/dvr/
Ddvr_vsync.h20 int dvrVSyncClientGetSchedInfo(DvrVSyncClient* client, int64_t* vsync_period_ns,
Ddvr_api.h172 int64_t* vsync_period_ns,