diff options
author | Leon Scroggins III <scroggo@google.com> | 2017-07-12 10:46:35 -0400 |
---|---|---|
committer | Leon Scroggins III <scroggo@google.com> | 2017-07-12 11:27:19 -0400 |
commit | f51a80d2b074d1971b11b19e890c936af5aa57a3 (patch) | |
tree | d45f2acf4d6b458ae3c38fdb18064909acc09c07 /libs/hwui/pipeline/skia/SkiaOpenGLPipeline.cpp | |
parent | 5b3d97a8ab5a9c0b13cacb621dcb4f999623dec7 (diff) |
Remove more references to kIndex_8
Test: Covered by existing tests. No actual change in behavior, since
kIndex_8 is not being used anyway.
Bug: 62483967
Change-Id: I317e3a814dbd102925fe412d2e19111b0af3af38
Diffstat (limited to 'libs/hwui/pipeline/skia/SkiaOpenGLPipeline.cpp')
-rw-r--r-- | libs/hwui/pipeline/skia/SkiaOpenGLPipeline.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libs/hwui/pipeline/skia/SkiaOpenGLPipeline.cpp b/libs/hwui/pipeline/skia/SkiaOpenGLPipeline.cpp index 6d5ef1d4ff1f..edfd9d4f1973 100644 --- a/libs/hwui/pipeline/skia/SkiaOpenGLPipeline.cpp +++ b/libs/hwui/pipeline/skia/SkiaOpenGLPipeline.cpp @@ -270,8 +270,7 @@ sk_sp<Bitmap> SkiaOpenGLPipeline::allocateHardwareBitmap(renderthread::RenderThr switch (info.colorType()) { case kRGBA_8888_SkColorType: isSupported = true; - // ARGB_4444 and Index_8 are both upconverted to RGBA_8888 - case kIndex_8_SkColorType: + // ARGB_4444 is upconverted to RGBA_8888 case kARGB_4444_SkColorType: pixelFormat = PIXEL_FORMAT_RGBA_8888; format = GL_RGBA; |