summaryrefslogtreecommitdiffstats
path: root/include/surfaceflinger
diff options
context:
space:
mode:
Diffstat (limited to 'include/surfaceflinger')
-rw-r--r--include/surfaceflinger/ISurfaceComposer.h10
-rw-r--r--include/surfaceflinger/SurfaceComposerClient.h8
2 files changed, 7 insertions, 11 deletions
diff --git a/include/surfaceflinger/ISurfaceComposer.h b/include/surfaceflinger/ISurfaceComposer.h
index 2c60993..c96f88a 100644
--- a/include/surfaceflinger/ISurfaceComposer.h
+++ b/include/surfaceflinger/ISurfaceComposer.h
@@ -133,10 +133,8 @@ public:
const sp<ISurfaceTexture>& surface) const = 0;
#ifdef QCOM_HDMI_OUT
- //HDMI SPecific functions
- virtual void enableHDMIOutput(int enable) = 0;
- virtual void setActionSafeWidthRatio(float asWidthRatio) = 0;
- virtual void setActionSafeHeightRatio(float asHeightRatio) = 0;
+ //External display specific functions
+ virtual void enableExternalDisplay(int disp_type, int enable) = 0;
#endif
};
@@ -160,9 +158,7 @@ public:
TURN_ELECTRON_BEAM_ON,
AUTHENTICATE_SURFACE,
#ifdef QCOM_HDMI_OUT
- ENABLE_HDMI_OUTPUT,
- SET_ACTIONSAFE_WIDTH_RATIO,
- SET_ACTIONSAFE_HEIGHT_RATIO
+ EXTERNAL_DISPLAY,
#endif
};
diff --git a/include/surfaceflinger/SurfaceComposerClient.h b/include/surfaceflinger/SurfaceComposerClient.h
index 842a86b..3c7a022 100644
--- a/include/surfaceflinger/SurfaceComposerClient.h
+++ b/include/surfaceflinger/SurfaceComposerClient.h
@@ -110,13 +110,13 @@ public:
//! Open a composer transaction on all active SurfaceComposerClients.
static void openGlobalTransaction();
-
+
//! Close a composer transaction on all active SurfaceComposerClients.
static void closeGlobalTransaction(bool synchronous = false);
-
+
//! Freeze the specified display but not transactions.
static status_t freezeDisplay(DisplayID dpy, uint32_t flags = 0);
-
+
//! Resume updates on the specified display.
static status_t unfreezeDisplay(DisplayID dpy, uint32_t flags = 0);
@@ -137,7 +137,7 @@ public:
#ifdef QCOM_HDMI_OUT
//HDMI SPecific functions
- static void enableHDMIOutput(int enable);
+ static void enableExternalDisplay(int disp_type, int enable);
static void setActionSafeWidthRatio(float asWidthRatio);
static void setActionSafeHeightRatio(float asHeightRatio);
#endif