summaryrefslogtreecommitdiffstats
path: root/include/surfaceflinger/ISurfaceComposer.h
diff options
context:
space:
mode:
authorJamie Gennis <jgennis@google.com>2011-03-09 14:47:56 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-03-09 14:47:56 -0800
commit6167a390e34981ea92fc6d5458add2da04ee15bc (patch)
tree23be2cff8bade94fb8206d7b686de72fc44af436 /include/surfaceflinger/ISurfaceComposer.h
parent5c9248f668201a751500f67cc60bd45ff905751a (diff)
parentd2acedf18c9a3527f6e3dc5d578a85fdc0ad4338 (diff)
downloadframeworks_base-6167a390e34981ea92fc6d5458add2da04ee15bc.zip
frameworks_base-6167a390e34981ea92fc6d5458add2da04ee15bc.tar.gz
frameworks_base-6167a390e34981ea92fc6d5458add2da04ee15bc.tar.bz2
Merge "ANativeWindow: add queues-to-window-composer check." into honeycomb-mr1
Diffstat (limited to 'include/surfaceflinger/ISurfaceComposer.h')
-rw-r--r--include/surfaceflinger/ISurfaceComposer.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/surfaceflinger/ISurfaceComposer.h b/include/surfaceflinger/ISurfaceComposer.h
index 361e7dc..dea1b10 100644
--- a/include/surfaceflinger/ISurfaceComposer.h
+++ b/include/surfaceflinger/ISurfaceComposer.h
@@ -138,6 +138,10 @@ public:
* This is an ASYNCHRONOUS call.
*/
virtual void signal() const = 0;
+
+ /* verify that an ISurface was created by SurfaceFlinger.
+ */
+ virtual bool authenticateSurface(const sp<ISurface>& surface) const = 0;
};
// ----------------------------------------------------------------------------
@@ -161,7 +165,8 @@ public:
SIGNAL,
CAPTURE_SCREEN,
TURN_ELECTRON_BEAM_OFF,
- TURN_ELECTRON_BEAM_ON
+ TURN_ELECTRON_BEAM_ON,
+ AUTHENTICATE_SURFACE,
};
virtual status_t onTransact( uint32_t code,