VR: Add RenderLoopFactory for android
The RenderLoopFactory is responsible of instantiating the delegates that Ui and RenderLoop require. In this CL, we are still instantiating a VrShellGl object, as the split-up has not been completed yet. Also, we make sure that the variables passed to VrGLThread are freed once the RenderLoop has been built. The testapp starts to be prepared to make use of RenderLoop. We simplify the VrTestContext creation (soon to be the RenderLoop) by initializing it once a GL context was set. Bug=767282 Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:linux_vr;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel Change-Id: Ie0f580f77fb109463dc41093919a7c535976e321 Reviewed-on: https://chromium-review.googlesource.com/1175852Reviewed-by:Michael Thiessen <mthiesse@chromium.org> Commit-Queue: Aldo Culquicondor <acondor@chromium.org> Cr-Commit-Position: refs/heads/master@{#583663}
Showing
Please register or sign in to comment