commit | 9d96de49673cb6c916bfb797aad4f4e024ea73ca | [log] [tgz] |
---|---|---|
author | Fabien Sanglard <sanglardf@google.com> | Tue Oct 11 00:15:18 2016 +0000 |
committer | Fabien Sanglard <sanglardf@google.com> | Tue Oct 11 00:15:18 2016 +0000 |
tree | 99fc88f0e10e7764cd1a5ddf03189c2379dfbbd3 | |
parent | 90f923493fa053655a203c34ea491086aeb07602 [diff] [blame] |
Revert "Delete HWC1" This reverts commit 90f923493fa053655a203c34ea491086aeb07602. Change-Id: If9da49e3bc85f8ff21ac1bd22a6bab97e9aa3103
diff --git a/services/surfaceflinger/DisplayHardware/HWComposer.h b/services/surfaceflinger/DisplayHardware/HWComposer.h index b25f5ad..41671f6 100644 --- a/services/surfaceflinger/DisplayHardware/HWComposer.h +++ b/services/surfaceflinger/DisplayHardware/HWComposer.h
@@ -14,6 +14,10 @@ * limitations under the License. */ +#ifndef USE_HWC2 +#include "HWComposer_hwc1.h" +#else + #ifndef ANDROID_SF_HWCOMPOSER_H #define ANDROID_SF_HWCOMPOSER_H @@ -220,3 +224,5 @@ }; // namespace android #endif // ANDROID_SF_HWCOMPOSER_H + +#endif // #ifdef USE_HWC2