summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorSantos Cordon <santoscordon@google.com>2017-06-21 16:03:49 -0700
committerSantos Cordon <santoscordon@google.com>2017-06-30 08:51:26 -0700
commitc22c56397636729b3717c3935816b88dc72fac26 (patch)
treeceb2d8b63288f8d89a26691e3aec013329e2b1a2 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent67143a8cfcb6755faa704914efa1b3e3e408bd8b (diff)
Always run Virtual Display when in a BootsToVR device.
This CL: 1) Moved initialization of the virtual display adapter to happen along side the default display. On standalone VR devices, a virtual display is used as the main display for 2D UI so it is necessary that the virtual display system is ready after PHASE_WAIT_FOR_DEFAULT_DISPLAY. 2) Add knowledge of bootsToVr in Vr2dDisplay, indicating that the device is a standalone device that boots into VR. This forces Vr2dDisplay to create the virtualDisplay at PHASE_SYSTEM_SERVICES_READY and never destroy it (so that the activity stack doesn't go away). 3) Add tests to ensure default display and virtual display startup sequence doesn't change. Change-Id: Ie748771abd0b115db3c65a66a4b7a98dd1b28f2e Bug:62842592 Test: Start a polaris device for first time, ensure SUW runs with Virtual display dimentions. Test: DisplayManagerServiceTest.java
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions