diff options
author | Jesse Hall <jessehall@google.com> | 2013-08-08 12:15:49 -0700 |
---|---|---|
committer | Jesse Hall <jessehall@google.com> | 2013-08-08 13:12:29 -0700 |
commit | 6c913be9ca95fd6b556d056e165a4ba6dc69795b (patch) | |
tree | e6a1bc9d78a1a7eef75dd736ddf302357cc8987a /include/gui/ISurfaceComposer.h | |
parent | 74020ca133095e1dff635ee74d9e9657d0ceac3b (diff) | |
download | frameworks_native-6c913be9ca95fd6b556d056e165a4ba6dc69795b.zip frameworks_native-6c913be9ca95fd6b556d056e165a4ba6dc69795b.tar.gz frameworks_native-6c913be9ca95fd6b556d056e165a4ba6dc69795b.tar.bz2 |
Add ISurfaceComposer::destroyDisplay
Bug: 10191053
Change-Id: Ia89286f95421344a60ffedaaca5825c4e3cd7f9e
Diffstat (limited to 'include/gui/ISurfaceComposer.h')
-rw-r--r-- | include/gui/ISurfaceComposer.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/gui/ISurfaceComposer.h b/include/gui/ISurfaceComposer.h index 0606aff..5c3c99c 100644 --- a/include/gui/ISurfaceComposer.h +++ b/include/gui/ISurfaceComposer.h @@ -70,12 +70,17 @@ public: /* return an IDisplayEventConnection */ virtual sp<IDisplayEventConnection> createDisplayEventConnection() = 0; - /* create a display + /* create a virtual display * requires ACCESS_SURFACE_FLINGER permission. */ virtual sp<IBinder> createDisplay(const String8& displayName, bool secure) = 0; + /* destroy a virtual display + * requires ACCESS_SURFACE_FLINGER permission. + */ + virtual void destroyDisplay(const sp<IBinder>& display) = 0; + /* get the token for the existing default displays. possible values * for id are eDisplayIdMain and eDisplayIdHdmi. */ @@ -130,6 +135,7 @@ public: CREATE_GRAPHIC_BUFFER_ALLOC, CREATE_DISPLAY_EVENT_CONNECTION, CREATE_DISPLAY, + DESTROY_DISPLAY, GET_BUILT_IN_DISPLAY, SET_TRANSACTION_STATE, AUTHENTICATE_SURFACE, |