OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "sky/engine/config.h" | |
6 #include "sky/engine/platform/graphics/gpu/WebGLImageConversion.h" | 5 #include "sky/engine/platform/graphics/gpu/WebGLImageConversion.h" |
7 | 6 |
8 #include "platform/image-decoders/ImageDecoder.h" | 7 #include "platform/image-decoders/ImageDecoder.h" |
9 #include "sky/engine/platform/CheckedInt.h" | 8 #include "sky/engine/platform/CheckedInt.h" |
10 #include "sky/engine/platform/graphics/ImageObserver.h" | 9 #include "sky/engine/platform/graphics/ImageObserver.h" |
11 #include "sky/engine/platform/graphics/cpu/arm/WebGLImageConversionNEON.h" | 10 #include "sky/engine/platform/graphics/cpu/arm/WebGLImageConversionNEON.h" |
12 #include "sky/engine/wtf/OwnPtr.h" | 11 #include "sky/engine/wtf/OwnPtr.h" |
13 #include "sky/engine/wtf/PassOwnPtr.h" | 12 #include "sky/engine/wtf/PassOwnPtr.h" |
14 | 13 |
15 namespace blink { | 14 namespace blink { |
(...skipping 1754 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1770 } | 1769 } |
1771 | 1770 |
1772 FormatConverter converter(width, height, sourceData, destinationData, srcStr
ide, dstStride); | 1771 FormatConverter converter(width, height, sourceData, destinationData, srcStr
ide, dstStride); |
1773 converter.convert(sourceDataFormat, dstDataFormat, alphaOp); | 1772 converter.convert(sourceDataFormat, dstDataFormat, alphaOp); |
1774 if (!converter.Success()) | 1773 if (!converter.Success()) |
1775 return false; | 1774 return false; |
1776 return true; | 1775 return true; |
1777 } | 1776 } |
1778 | 1777 |
1779 } // namespace blink | 1778 } // namespace blink |
OLD | NEW |