| Index: chrome/browser/android/vr_shell/vr_shell_gl.cc
|
| diff --git a/chrome/browser/android/vr_shell/vr_shell_gl.cc b/chrome/browser/android/vr_shell/vr_shell_gl.cc
|
| index 336d2b0472f4ce8c03bafe98d7629b20023598a8..ae068e4e7b93bc407e1298cacfd1f800272a4653 100644
|
| --- a/chrome/browser/android/vr_shell/vr_shell_gl.cc
|
| +++ b/chrome/browser/android/vr_shell/vr_shell_gl.cc
|
| @@ -1130,10 +1130,10 @@ void VrShellGl::UpdateScene(std::unique_ptr<base::ListValue> commands) {
|
|
|
| void VrShellGl::SendVSync(base::TimeDelta time,
|
| const GetVSyncCallback& callback) {
|
| - TRACE_EVENT0("input", "VrShellGl::SendVSync");
|
| -
|
| uint8_t frame_index = frame_index_++;
|
|
|
| + TRACE_EVENT1("input", "VrShellGl::SendVSync", "frame", frame_index);
|
| +
|
| gvr::ClockTimePoint target_time = gvr::GvrApi::GetTimePointNow();
|
| target_time.monotonic_system_time_nanos += kPredictionTimeWithoutVsyncNanos;
|
|
|
|
|