VR: Call KeyboardDelegate::OnBeginFrame every frame regardless of visibility
The gvr keyboard API requires that gvr_keyboard_advance_frame is called every time after the keyboard is initialized. This regressed in the optimization that doesn't call UiElement::OnBeginFrame for invisible elements. We add a special hook to do certain thing every frame. Bug: 831749 Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_vr;master.tryserver.chromium.win:win_optional_gpu_tests_rel Change-Id: I877299165dde517fab90451788de9680700666d9 Reviewed-on: https://chromium-review.googlesource.com/1009042 Commit-Queue: Yash Malik <ymalik@chromium.org> Reviewed-by:Ian Vollick <vollick@chromium.org> Cr-Commit-Position: refs/heads/master@{#550215}
Showing
Please register or sign in to comment