OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 <memory> |
5 #include "platform/image-decoders/ImageDecoder.h" | 6 #include "platform/image-decoders/ImageDecoder.h" |
6 #include "wtf/Vector.h" | 7 #include "wtf/Vector.h" |
7 #include <memory> | |
8 | 8 |
9 class SkBitmap; | 9 class SkBitmap; |
10 | 10 |
11 namespace blink { | 11 namespace blink { |
12 class ImageDecoder; | 12 class ImageDecoder; |
13 class SharedBuffer; | 13 class SharedBuffer; |
14 | 14 |
15 const char decodersTestingDir[] = "Source/platform/image-decoders/testing"; | 15 const char decodersTestingDir[] = "Source/platform/image-decoders/testing"; |
16 | 16 |
17 using DecoderCreator = std::unique_ptr<ImageDecoder> (*)(); | 17 using DecoderCreator = std::unique_ptr<ImageDecoder> (*)(); |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 const char* dir, | 98 const char* dir, |
99 const char* file); | 99 const char* file); |
100 void testResumePartialDecodeAfterClearFrameBufferCache(DecoderCreator, | 100 void testResumePartialDecodeAfterClearFrameBufferCache(DecoderCreator, |
101 const char* file); | 101 const char* file); |
102 | 102 |
103 // Verifies that result of alpha blending is similar for AlphaPremultiplied and | 103 // Verifies that result of alpha blending is similar for AlphaPremultiplied and |
104 // AlphaNotPremultiplied cases. | 104 // AlphaNotPremultiplied cases. |
105 void testAlphaBlending(DecoderCreatorWithAlpha, const char*); | 105 void testAlphaBlending(DecoderCreatorWithAlpha, const char*); |
106 | 106 |
107 } // namespace blink | 107 } // namespace blink |
OLD | NEW |