Add IMPLEMENTATION_DEFINED to dump
The "dumpsys SurfaceFlinger" output shows pixel formats in human-readable form now. Add IMPLEMENTATION_DEFINED. Change-Id: If567e34dad4b940fbfb4d0b70c65f6ab8cd5f5e7
This commit is contained in:
parent
2fc72d1c02
commit
f0058ca0e5
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user