| 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 bool m_haveAlreadyParsedThisData; | 76 bool m_haveAlreadyParsedThisData; |
| 77 int m_repetitionCount; | 77 int m_repetitionCount; |
| 78 int m_decodedHeight; | 78 int m_decodedHeight; |
| 79 | 79 |
| 80 typedef void (*AlphaBlendFunction)(ImageFrame&, ImageFrame&, int, int, int); | 80 typedef void (*AlphaBlendFunction)(ImageFrame&, ImageFrame&, int, int, int); |
| 81 AlphaBlendFunction m_blendFunction; | 81 AlphaBlendFunction m_blendFunction; |
| 82 | 82 |
| 83 void clear(); | 83 void clear(); |
| 84 void clearDecoder(); | 84 void clearDecoder(); |
| 85 | 85 |
| 86 void updateAggressivePurging(size_t index); |
| 87 |
| 88 bool m_purgeAggressively; |
| 89 |
| 86 // FIXME: Update libwebp's API so it does not require copying the data on ea
ch update. | 90 // FIXME: Update libwebp's API so it does not require copying the data on ea
ch update. |
| 87 sk_sp<SkData> m_consolidatedData; | 91 sk_sp<SkData> m_consolidatedData; |
| 88 }; | 92 }; |
| 89 | 93 |
| 90 } // namespace blink | 94 } // namespace blink |
| 91 | 95 |
| 92 #endif | 96 #endif |
| OLD | NEW |