diff options
author | Lloyd Pique <lpique@google.com> | 2017-12-20 16:42:57 -0800 |
---|---|---|
committer | Lloyd Pique <lpique@google.com> | 2018-02-07 13:16:40 -0800 |
commit | a822d52f1a7f651bf1056f4b99e7b8dd214c2ebb (patch) | |
tree | 5c560acdb4ccce15aa99683590b91807c1a977f5 /opengl/tests/gl_basic/gl_basic.cpp | |
parent | 989fc50a1a52c57c218c9ccc681847c6c120d892 (diff) |
SF: Separate Hwc2::Composer into interface and impl
This makes the android::Hwc2::Composer substitutable. In this case the
intent is to allow a mock::Composer GMock class to be defined.
Hwc2::Composer now is a pure interface class. Hwc2::impl::Composer is
the normal implementation.
Also included is another minor change to allow HWC2::Device to be
constructed with a Hwc2::Composer (interface) pointer instead of a
service name. This means that now SurfaceFlinger itself constructs the
Hwc2::impl::Composer using the service name, rather than passing it down
a call chain.
Test: Code builds
Bug: None
Change-Id: Ic79f645cee40c534651b9c7b70f05497d98e51dc
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions