Merge "Add IMPLEMENTATION_DEFINED to dump"
This commit is contained in:
commit
f79fcdb19a
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user