summaryrefslogtreecommitdiff
Diffstat
-rw-r--r--hwc2/common/devices/PhysicalDevice.cpp12
-rw-r--r--hwc2/common/utils/Utils.cpp8
-rw-r--r--hwc2/common/utils/Utils.h1
-rw-r--r--hwc2/include/PhysicalDevice.h4
4 files changed, 23 insertions, 2 deletions
diff --git a/hwc2/include/PhysicalDevice.h b/hwc2/include/PhysicalDevice.h
index 66f925c..b4e6858 100644
--- a/hwc2/include/PhysicalDevice.h
+++ b/hwc2/include/PhysicalDevice.h
@@ -32,6 +32,9 @@
#include <binder/IServiceManager.h>
#include <utils/RefBase.h>
+#define DISPLAY_LOGO_INDEX "/sys/module/fb/parameters/osd_logo_index"
+#define DISPLAY_FB0_FREESCALE_SWTICH "/sys/class/graphics/fb0/free_scale_switch"
+
namespace android {
namespace amlogic {
@@ -261,6 +264,7 @@ private:
int mDisplayWidth;
int mDisplayHeight;
+ bool mFirstPostFb;
//omx handle for set omx pts
int32_t mOmxVideoHandle;