diff options
author | 2010-06-21 17:45:29 -0700 | |
---|---|---|
committer | 2010-06-21 18:22:09 -0700 | |
commit | 07ccf5ad7edfeeebb79208ad3e8a52917fe038a8 (patch) | |
tree | 9c1f269584648a4c4591ec0b885eb3811952538a /libs/surfaceflinger/TextureManager.cpp | |
parent | 875500b47ac74a164f7792ce89a16d600ea72695 (diff) |
remove unused YUV formats
Change-Id: Id0ae28b1700cf771cdbe0ca27b139d32cab90b2a
Diffstat (limited to 'libs/surfaceflinger/TextureManager.cpp')
-rw-r--r-- | libs/surfaceflinger/TextureManager.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/libs/surfaceflinger/TextureManager.cpp b/libs/surfaceflinger/TextureManager.cpp index 996a683b084e..d9bdc6acec34 100644 --- a/libs/surfaceflinger/TextureManager.cpp +++ b/libs/surfaceflinger/TextureManager.cpp @@ -102,19 +102,6 @@ status_t TextureManager::initTexture(Image* pImage, int32_t format) bool TextureManager::isSupportedYuvFormat(int format) { - // TODO: how to we know which YUV formats are supported by the GPU? - - // Adreno 200 supports these - // YUVY_adreno - // UYVY_adreno - // NV21_adreno - // YV12_adreno - // Adreno 205 adds - // NV12_adreno_tiled - // NV21_adreno_tiled - - // for now pretend we support them all, failure will happen when - // we try to use them. return isYuvFormat(format); } @@ -129,9 +116,7 @@ bool TextureManager::isYuvFormat(int format) case HAL_PIXEL_FORMAT_UYVY: case HAL_PIXEL_FORMAT_NV12: case HAL_PIXEL_FORMAT_NV61: - case HAL_PIXEL_FORMAT_YV12: case HAL_PIXEL_FORMAT_NV12_ADRENO_TILED: - case HAL_PIXEL_FORMAT_NV21_ADRENO_TILED: return true; } return false; |