OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 bool m_haveAlreadyParsedThisData; | 81 bool m_haveAlreadyParsedThisData; |
82 int m_repetitionCount; | 82 int m_repetitionCount; |
83 int m_decodedHeight; | 83 int m_decodedHeight; |
84 | 84 |
85 typedef void (*AlphaBlendFunction)(ImageFrame&, ImageFrame&, int, int, int); | 85 typedef void (*AlphaBlendFunction)(ImageFrame&, ImageFrame&, int, int, int); |
86 AlphaBlendFunction m_blendFunction; | 86 AlphaBlendFunction m_blendFunction; |
87 | 87 |
88 void clear(); | 88 void clear(); |
89 void clearDecoder(); | 89 void clearDecoder(); |
90 | 90 |
91 // FIXME: Update libwebp's API so it does not require copying the data on each
update. | 91 // FIXME: Update libwebp's API so it does not require copying the data on each |
| 92 // update. |
92 sk_sp<SkData> m_consolidatedData; | 93 sk_sp<SkData> m_consolidatedData; |
93 }; | 94 }; |
94 | 95 |
95 } // namespace blink | 96 } // namespace blink |
96 | 97 |
97 #endif | 98 #endif |
OLD | NEW |