Revert "libhwc2.1: Allow forcing CLIENT composition for bootanimation"
This reverts commit c8d290c93281fb9f7889c52b54acc6e12c72b4f4.
Reason for revert: Google finally fixed the issue in skiaglthreaded.
Change-Id: Id07a664e8c74a2d401297865c3b91e239c041abb
diff --git a/base/BoardConfigCFlags.mk b/base/BoardConfigCFlags.mk
index d59bf80..10ccefb 100644
--- a/base/BoardConfigCFlags.mk
+++ b/base/BoardConfigCFlags.mk
@@ -180,10 +180,6 @@
LOCAL_CFLAGS += -DENABLE_FORCE_GPU
endif
-ifeq ($(BOARD_USES_HWC_FORCE_GPU_FOR_BOOTANIM), true)
- LOCAL_CFLAGS += -DENABLE_FORCE_GPU_FOR_BOOTANIM
-endif
-
ifeq ($(BOARD_USES_HWC_OLD_VSYNC_STRUCT), true)
LOCAL_CFLAGS += -DUSE_NOT_RESERVED_FIELD
endif
diff --git a/base/libhwc2.1/device/ExynosResourceManager.cpp b/base/libhwc2.1/device/ExynosResourceManager.cpp
index 3618d66..7f7c657 100644
--- a/base/libhwc2.1/device/ExynosResourceManager.cpp
+++ b/base/libhwc2.1/device/ExynosResourceManager.cpp
@@ -948,19 +948,6 @@
if ((layer == NULL) || (display == NULL))
return eUnknown;
-#ifdef ENABLE_FORCE_GPU_FOR_BOOTANIM
- char value[256];
- int bootanim_exit;
- if (property_get("service.bootanim.progress", value, "")) {
- property_get("service.bootanim.exit", value, "0");
- bootanim_exit = atoi(value);
-
- if (!bootanim_exit) {
- return eForceFbEnabled;
- }
- }
-#endif
-
if (exynosHWCControl.forceGpu == 1) {
return eForceFbEnabled;
}