summaryrefslogtreecommitdiffstats
path: root/services/surfaceflinger/DisplayHardware
diff options
context:
space:
mode:
authorAndy McFadden <fadden@android.com>2014-05-20 13:28:50 -0700
committerAndy McFadden <fadden@android.com>2014-05-20 13:28:50 -0700
commitf0058ca0e592485ac9e5a4aedb0dd8fa187625ef (patch)
tree00c123cbf9c7e379fb5a4768f65b29ae13d2f130 /services/surfaceflinger/DisplayHardware
parent2fc72d1c0294fb759380604ea906ce67ebeb5c5f (diff)
downloadframeworks_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/DisplayHardware')
-rw-r--r--services/surfaceflinger/DisplayHardware/HWComposer.cpp2
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);