diff options
author | Andy McFadden <fadden@android.com> | 2014-05-20 13:28:50 -0700 |
---|---|---|
committer | Andy McFadden <fadden@android.com> | 2014-05-20 13:28:50 -0700 |
commit | f0058ca0e592485ac9e5a4aedb0dd8fa187625ef (patch) | |
tree | 00c123cbf9c7e379fb5a4768f65b29ae13d2f130 /services/surfaceflinger | |
parent | 2fc72d1c0294fb759380604ea906ce67ebeb5c5f (diff) | |
download | frameworks_native-f0058ca0e592485ac9e5a4aedb0dd8fa187625ef.zip frameworks_native-f0058ca0e592485ac9e5a4aedb0dd8fa187625ef.tar.gz frameworks_native-f0058ca0e592485ac9e5a4aedb0dd8fa187625ef.tar.bz2 |
Add IMPLEMENTATION_DEFINED to dump
The "dumpsys SurfaceFlinger" output shows pixel formats in
human-readable form now. Add IMPLEMENTATION_DEFINED.
Change-Id: If567e34dad4b940fbfb4d0b70c65f6ab8cd5f5e7
Diffstat (limited to 'services/surfaceflinger')
-rw-r--r-- | services/surfaceflinger/DisplayHardware/HWComposer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/services/surfaceflinger/DisplayHardware/HWComposer.cpp b/services/surfaceflinger/DisplayHardware/HWComposer.cpp index 51c7059..c3b2159 100644 --- a/services/surfaceflinger/DisplayHardware/HWComposer.cpp +++ b/services/surfaceflinger/DisplayHardware/HWComposer.cpp @@ -1058,6 +1058,8 @@ static String8 getFormatStr(PixelFormat format) { case PIXEL_FORMAT_BGRA_8888: return String8("BGRA_8888"); case PIXEL_FORMAT_sRGB_A_8888: return String8("sRGB_A_8888"); case PIXEL_FORMAT_sRGB_X_8888: return String8("sRGB_x_8888"); + case HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED: + return String8("ImplDef"); default: String8 result; result.appendFormat("? %08x", format); |