commit | 99d3da56143c24c99ba73b830c9e16a6f9814770 | [log] [tgz] |
---|---|---|
author | Lloyd Pique <lpique@google.com> | Mon Jan 22 17:48:03 2018 -0800 |
committer | Lloyd Pique <lpique@google.com> | Fri Mar 23 18:45:21 2018 -0700 |
tree | fba3f7330a53c27c26c25245651623715293cf45 | |
parent | 1cd9d30e564e30d936034263788cbf7cb3ba3006 [diff] |
SF: Refactor display device creation Move display device creation to its own function which handles all initialization before creating a DisplayDevice instance, which now just simply constructs an instance from the passed values. Also introduces a factory to abstract creating libgui Surface instances, so that can be replaced by the test. Test: Builds Bug: 74827900 Change-Id: Ia80c865dc96b300033c506cc3093e563bcab787b