Merge "Add IMPLEMENTATION_DEFINED to dump"

This commit is contained in:
Andy McFadden 2014-05-20 22:29:48 +00:00 committed by Android (Google) Code Review
commit f79fcdb19a

View File

@ -1058,6 +1058,8 @@ static String8 getFormatStr(PixelFormat format) {
case PIXEL_FORMAT_BGRA_8888: return String8("BGRA_8888"); case PIXEL_FORMAT_BGRA_8888: return String8("BGRA_8888");
case PIXEL_FORMAT_sRGB_A_8888: return String8("sRGB_A_8888"); case PIXEL_FORMAT_sRGB_A_8888: return String8("sRGB_A_8888");
case PIXEL_FORMAT_sRGB_X_8888: return String8("sRGB_x_8888"); case PIXEL_FORMAT_sRGB_X_8888: return String8("sRGB_x_8888");
case HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED:
return String8("ImplDef");
default: default:
String8 result; String8 result;
result.appendFormat("? %08x", format); result.appendFormat("? %08x", format);