OSDN Git Service

Allow VRWM to show 2D apps
authorAlbert Chaulk <achaulk@google.com>
Fri, 3 Feb 2017 17:05:56 +0000 (12:05 -0500)
committerAlex Vakulenko <avakulenko@google.com>
Sat, 4 Feb 2017 00:04:15 +0000 (16:04 -0800)
commit520fb0e25d9481bc349c1623e4147c246297b66b
tree03e91db69a603393a2ddfd9793cb33f8b0b50270
parente7916f88ab250e9cbd7faa53458491f19b716782
Allow VRWM to show 2D apps

2D apps appear as a single app layer at the front of the stack. We can
distinguish them from VR apps as VR has two layers at the front.
When we detect a 2D app we don't skip the first layers for rendering

Test: launch VR app, launch calculator
Bug: None
Change-Id: Iea8420870852b84ab790b5185ac1a44103c2aae5
services/vr/vr_window_manager/shell_view.cpp
services/vr/vr_window_manager/shell_view.h
services/vr/vr_window_manager/surface_flinger_view.cpp
services/vr/vr_window_manager/surface_flinger_view.h