summaryrefslogtreecommitdiffstats
path: root/include/gui
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2012-06-18 18:06:45 -0700
committerMathias Agopian <mathias@google.com>2012-06-28 15:51:08 -0700
commit3094df359d1e6e2ae8ca4e935cc093f563804c96 (patch)
treee103ad608725652ec640963481151b59432c7475 /include/gui
parent852db07d69352ec5f75e16a6e5059f05faabdaf5 (diff)
downloadframeworks_native-3094df359d1e6e2ae8ca4e935cc093f563804c96.zip
frameworks_native-3094df359d1e6e2ae8ca4e935cc093f563804c96.tar.gz
frameworks_native-3094df359d1e6e2ae8ca4e935cc093f563804c96.tar.bz2
First prototype atttempting to support an external display
both API and implementation will change, this is just a prototype intended to show feasability. SurfaceFlinger is passed an ISurfaceTexture through a new callback, it is in turn used to create an EGLSurface which surfaceflinger will draw into in addition to the main screen. Change-Id: Id0bbb0b854bb7bae44d57246a90b65d4567f9a21
Diffstat (limited to 'include/gui')
-rw-r--r--include/gui/ISurfaceComposer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/gui/ISurfaceComposer.h b/include/gui/ISurfaceComposer.h
index e4e8aa7..4f32146 100644
--- a/include/gui/ISurfaceComposer.h
+++ b/include/gui/ISurfaceComposer.h
@@ -145,6 +145,9 @@ public:
/* triggers screen on and waits for it to complete */
virtual void unblank() = 0;
+
+ /* connects to an external display */
+ virtual void connectDisplay(const sp<ISurfaceTexture> display) = 0;
};
// ----------------------------------------------------------------------------
@@ -168,6 +171,7 @@ public:
CREATE_DISPLAY_EVENT_CONNECTION,
BLANK,
UNBLANK,
+ CONNECT_DISPLAY,
};
virtual status_t onTransact( uint32_t code,