diff options
author | Andy McFadden <fadden@android.com> | 2012-09-17 18:27:17 -0700 |
---|---|---|
committer | Andy McFadden <fadden@android.com> | 2012-09-18 09:20:23 -0700 |
commit | 8dfa92fef9759a881e96ee58d59875d35023aab9 (patch) | |
tree | c004a49450a89c5ae204eb1d9d4398e44a4badab /include/gui | |
parent | d870703d5566490cfdfb389d9336b2b8d3c6cc7a (diff) | |
download | frameworks_native-8dfa92fef9759a881e96ee58d59875d35023aab9.zip frameworks_native-8dfa92fef9759a881e96ee58d59875d35023aab9.tar.gz frameworks_native-8dfa92fef9759a881e96ee58d59875d35023aab9.tar.bz2 |
Plumb display name into SurfaceFlinger
The Surface createDisplay() call takes a display name for debugging.
This change carries it through SurfaceFlinger and displays it in
the "dumpsys SurfaceFlinger" output.
Bug 7058158
Change-Id: I79f3474a8656ff1beb7b478e0dbf2c5de666118a
Diffstat (limited to 'include/gui')
-rw-r--r-- | include/gui/ISurfaceComposer.h | 2 | ||||
-rw-r--r-- | include/gui/SurfaceComposerClient.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/gui/ISurfaceComposer.h b/include/gui/ISurfaceComposer.h index f4af705..a20caf9 100644 --- a/include/gui/ISurfaceComposer.h +++ b/include/gui/ISurfaceComposer.h @@ -68,7 +68,7 @@ public: /* create a display * requires ACCESS_SURFACE_FLINGER permission. */ - virtual sp<IBinder> createDisplay() = 0; + virtual sp<IBinder> createDisplay(const String8& displayName) = 0; /* get the token for the existing default displays. possible values * for id are eDisplayIdMain and eDisplayIdHdmi. diff --git a/include/gui/SurfaceComposerClient.h b/include/gui/SurfaceComposerClient.h index 57c72c9..7a14c6a 100644 --- a/include/gui/SurfaceComposerClient.h +++ b/include/gui/SurfaceComposerClient.h @@ -85,7 +85,7 @@ public: ); //! Create a display - static sp<IBinder> createDisplay(); + static sp<IBinder> createDisplay(const String8& displayName); //! Get the token for the existing default displays. //! Possible values for id are eDisplayIdMain and eDisplayIdHdmi. |