2cbf96ca84097b36a7ae58c494b9145877bf956d |
|
23-Feb-2018 |
TianyuJiang <tianyuj@google.com> |
More dvr display test. Refine the single layer single buffer test by displaying all three basic colors, so that the color channels can be visually checked. Add DisplayWithDoubleBuffering, which uses single direct surface, single write buffer queue, two write buffers. Should observe blinking screen: three primary color blocks display in one sequence and in another sequence. Add DisplayWithTwoHardwareLayers, which uses two direct surfaces. Ahould observe three secondary colors. Bug: 69267804 Test: mma, manually push and run dvr_display-test in a rooted 8.1.0 phone Visually check the colors on screen. Change-Id: Idd3458c9a654a7d947c7e2f5797c268a2d9a782b (cherry picked from commit 8ed8c7a0892126b06564c640e64aa6c0d67afbcb)
/frameworks/native/libs/vr/libdvr/tests/dvr_api_test.h
|