Merge "h/q/d: Add missing ASTC format"

This commit is contained in:
Linux Build Service Account
2014-02-09 19:08:39 -08:00
committed by Gerrit - the friendly Code Review server

View File

@@ -508,6 +508,7 @@ size_t getSize(int format, int width, int height, const int alignedw,
case HAL_PIXEL_FORMAT_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR:
case HAL_PIXEL_FORMAT_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR:
case HAL_PIXEL_FORMAT_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR:
case HAL_PIXEL_FORMAT_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR:
size = alignedw * alignedh * ASTC_BLOCK_SIZE;
break;
default: