summaryrefslogtreecommitdiffstats
path: root/liboverlay/overlayUtils.cpp
diff options
context:
space:
mode:
authorRicardo Cerqueira <cyanogenmod@cerqueira.org>2013-04-04 15:16:50 +0100
committerRicardo Cerqueira <cyanogenmod@cerqueira.org>2013-04-06 00:34:54 +0100
commitc962bf8b8fa4d9a6400811296fb270f47db68cf4 (patch)
treef5e651935cbbf54e6d1488bbe19a6e2a4599a070 /liboverlay/overlayUtils.cpp
parent7a8a513ac8a2b9a76b36cf1341d45b00d88ed45c (diff)
parent6445344dbaf08ec4d8fbf6aeeffdf29faed64e78 (diff)
downloadandroid_hardware_qcom_display-cm-10.1.tar.gz
android_hardware_qcom_display-cm-10.1.tar.bz2
android_hardware_qcom_display-cm-10.1.zip
Change-Id: I44a10eaa285d0521669781a4fafb7641df209186
Diffstat (limited to 'liboverlay/overlayUtils.cpp')
-rw-r--r--liboverlay/overlayUtils.cpp25
1 files changed, 2 insertions, 23 deletions
diff --git a/liboverlay/overlayUtils.cpp b/liboverlay/overlayUtils.cpp
index 1c9c72b3f..207531a09 100644
--- a/liboverlay/overlayUtils.cpp
+++ b/liboverlay/overlayUtils.cpp
@@ -1,5 +1,5 @@
/*
-* Copyright (c) 2011-2012, Code Aurora Forum. All rights reserved.
+* Copyright (c) 2011-2012, The Linux Foundation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
@@ -10,7 +10,7 @@
* copyright notice, this list of conditions and the following
* disclaimer in the documentation and/or other materials provided
* with the distribution.
-* * Neither the name of Code Aurora Forum, Inc. nor the names of its
+* * Neither the name of The Linux Foundation nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
@@ -151,13 +151,6 @@ int FrameBufferInfo::getHeight() const {
return mFBHeight;
}
-bool FrameBufferInfo::supportTrueMirroring() const {
- char value[PROPERTY_VALUE_MAX] = {0};
- property_get("hw.trueMirrorSupported", value, "0");
- int trueMirroringSupported = atoi(value);
- return (trueMirroringSupported && mBorderFillSupported);
-}
-
/* clears any VG pipes allocated to the fb devices */
int initOverlay() {
msmfb_mixer_info_req req;
@@ -253,20 +246,6 @@ int getMdpFormat(int format) {
return -1;
}
-//Set by client as HDMI/WFD
-void setExtType(const int& type) {
- if(type != HDMI && type != WFD) {
- ALOGE("%s: Unrecognized type %d", __func__, type);
- return;
- }
- sExtType = type;
-}
-
-//Return External panel type set by client.
-int getExtType() {
- return sExtType;
-}
-
bool is3DTV() {
char is3DTV = '0';
IOFile fp(Res::edid3dInfoFile, "r");