diff options
author | Andy McFadden <fadden@android.com> | 2012-10-19 12:53:46 -0700 |
---|---|---|
committer | Andy McFadden <fadden@android.com> | 2012-10-19 12:53:46 -0700 |
commit | 620685c2e684082c82657732d1e35cefd0c79006 (patch) | |
tree | c7dc94dd672723d29f9925b955b8f7ce94ae8039 /opengl/tests/gl_basic/gl_basic.cpp | |
parent | 60393d45207b6548e1f61ca104fa59aecee87d30 (diff) |
Fix emulator vsync
The code that reserves display IDs was only run when a hardware
composer was present. The eventControl() function, which handles
enabling of vsync, was ignoring the request because the primary
display didn't appear in its set of allocated IDs. This moves
reservation of IDs for built-in displays outside the HWC-only block.
Also, added a couple of warnings in eventControl().
Bug 7376568
Change-Id: I185ccdf817a25499b5c2668f8f6d594afb8c1568
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions