| Index: third_party/WebKit/Source/platform/graphics/gpu/WebGLImageConversion.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/gpu/WebGLImageConversion.cpp b/third_party/WebKit/Source/platform/graphics/gpu/WebGLImageConversion.cpp
|
| index dd201db7ec2f7a9db99914a50233c31bbbe4735c..15dca38be87fafb4af5eba171a85834b7f2a42f3 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/gpu/WebGLImageConversion.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/gpu/WebGLImageConversion.cpp
|
| @@ -7,6 +7,7 @@
|
| #include "platform/CheckedInt.h"
|
| #include "platform/graphics/ImageObserver.h"
|
| #include "platform/graphics/cpu/arm/WebGLImageConversionNEON.h"
|
| +#include "platform/graphics/cpu/mips/WebGLImageConversionMSA.h"
|
| #include "platform/graphics/cpu/x86/WebGLImageConversionSSE.h"
|
| #include "platform/graphics/skia/SkiaUtils.h"
|
| #include "platform/image-decoders/ImageDecoder.h"
|
| @@ -448,6 +449,10 @@ template<> void unpack<WebGLImageConversion::DataFormatRGBA5551, uint16_t, uint8
|
| #if HAVE(ARM_NEON_INTRINSICS)
|
| SIMD::unpackOneRowOfRGBA5551ToRGBA8(source, destination, pixelsPerRow);
|
| #endif
|
| +#if HAVE(MIPS_MSA_INTRINSICS)
|
| + SIMD::unpackOneRowOfRGBA5551ToRGBA8MSA(source, destination, pixelsPerRow);
|
| +#endif
|
| +
|
| for (unsigned i = 0; i < pixelsPerRow; ++i) {
|
| uint16_t packedValue = source[0];
|
| uint8_t r = packedValue >> 11;
|
|
|