OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006 Apple Computer, Inc. All rights reserved. | 2 * Copyright (C) 2006 Apple Computer, Inc. All rights reserved. |
3 * Copyright (C) Research In Motion Limited 2009-2010. All rights reserved. | 3 * Copyright (C) Research In Motion Limited 2009-2010. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
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 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
269 // frames whose original rect was smaller than the overall image size. | 269 // frames whose original rect was smaller than the overall image size. |
270 IntRect m_originalFrameRect; | 270 IntRect m_originalFrameRect; |
271 Status m_status; | 271 Status m_status; |
272 unsigned m_duration; | 272 unsigned m_duration; |
273 DisposalMethod m_disposalMethod; | 273 DisposalMethod m_disposalMethod; |
274 AlphaBlendSource m_alphaBlendSource; | 274 AlphaBlendSource m_alphaBlendSource; |
275 bool m_premultiplyAlpha; | 275 bool m_premultiplyAlpha; |
276 // True if the pixels changed, but the bitmap has not yet been notified. | 276 // True if the pixels changed, but the bitmap has not yet been notified. |
277 bool m_pixelsChanged; | 277 bool m_pixelsChanged; |
278 | 278 |
279 // The color space of the image. This will never be null. If a color profile | |
280 // was not embedded in the image, this will be set to sRGB. | |
281 sk_sp<SkColorSpace> m_colorSpace; | |
282 | |
283 // The frame that must be decoded before this frame can be decoded. | 279 // The frame that must be decoded before this frame can be decoded. |
284 // WTF::kNotFound if this frame doesn't require any previous frame. | 280 // WTF::kNotFound if this frame doesn't require any previous frame. |
285 // This is used by ImageDecoder::clearCacheExceptFrame(), and will never | 281 // This is used by ImageDecoder::clearCacheExceptFrame(), and will never |
286 // be read for image formats that do not have multiple frames. | 282 // be read for image formats that do not have multiple frames. |
287 size_t m_requiredPreviousFrameIndex; | 283 size_t m_requiredPreviousFrameIndex; |
288 }; | 284 }; |
289 | 285 |
290 } // namespace blink | 286 } // namespace blink |
291 | 287 |
292 #endif | 288 #endif |
OLD | NEW |