commit | 83ce7c162855742a2d9eeebc0cd70fe48d2cd125 | [log] [tgz] |
---|---|---|
author | Chia-I Wu <olv@google.com> | Thu Oct 19 15:18:55 2017 -0700 |
committer | Chia-I Wu <olv@google.com> | Fri Nov 10 13:06:38 2017 -0800 |
tree | 833e155f283924bce9e33673d1f6a4562c61ed23 | |
parent | d265c4238699ea899cc3b01cc90b643d9692db2a [diff] [blame] |
surfaceflinger: remove USE_HWC2 Remove USE_HWC2 and assume it to be true. Remove all !USE_HWC2 code. This also fixes a compile error in tests/fakehwc, which never defines USE_HWC2. Test: boots taimen and hikey960 Change-Id: Ie6d2fcf884aa6fc715ab0ce19a1e0f7c8acf734c
diff --git a/services/surfaceflinger/tests/fakehwc/FakeComposerClient.h b/services/surfaceflinger/tests/fakehwc/FakeComposerClient.h index 2a5a8ad..b944182 100644 --- a/services/surfaceflinger/tests/fakehwc/FakeComposerClient.h +++ b/services/surfaceflinger/tests/fakehwc/FakeComposerClient.h
@@ -16,7 +16,11 @@ #pragma once +#define HWC2_USE_CPP11 +#define HWC2_INCLUDE_STRINGIFICATION #include "ComposerClient.h" +#undef HWC2_USE_CPP11 +#undef HWC2_INCLUDE_STRINGIFICATION #include "RenderState.h" // Needed for display type/ID enums