OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 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 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 23 matching lines...) Expand all Loading... |
34 #include "platform/graphics/skia/SkSizeHash.h" | 34 #include "platform/graphics/skia/SkSizeHash.h" |
35 #include "platform/image-decoders/ImageDecoder.h" | 35 #include "platform/image-decoders/ImageDecoder.h" |
36 | 36 |
37 #include "wtf/DoublyLinkedList.h" | 37 #include "wtf/DoublyLinkedList.h" |
38 #include "wtf/HashSet.h" | 38 #include "wtf/HashSet.h" |
39 #include "wtf/OwnPtr.h" | 39 #include "wtf/OwnPtr.h" |
40 #include "wtf/PassOwnPtr.h" | 40 #include "wtf/PassOwnPtr.h" |
41 #include "wtf/ThreadingPrimitives.h" | 41 #include "wtf/ThreadingPrimitives.h" |
42 #include "wtf/Vector.h" | 42 #include "wtf/Vector.h" |
43 | 43 |
44 namespace WebCore { | 44 namespace blink { |
45 | 45 |
46 class ImageFrameGenerator; | 46 class ImageFrameGenerator; |
47 class SharedBuffer; | 47 class SharedBuffer; |
48 | 48 |
49 // FUNCTION | 49 // FUNCTION |
50 // | 50 // |
51 // ImageDecodingStore is a class used to manage image cache objects. There are t
wo | 51 // ImageDecodingStore is a class used to manage image cache objects. There are t
wo |
52 // types of cache objects stored: | 52 // types of cache objects stored: |
53 // | 53 // |
54 // 1. Image objects | 54 // 1. Image objects |
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
317 // m_imageCacheKeyMap | 317 // m_imageCacheKeyMap |
318 // m_decoderCacheKeyMap | 318 // m_decoderCacheKeyMap |
319 // m_heapLimitInBytes | 319 // m_heapLimitInBytes |
320 // m_heapMemoryUsageInBytes | 320 // m_heapMemoryUsageInBytes |
321 // m_discardableMemoryUsageInBytes | 321 // m_discardableMemoryUsageInBytes |
322 // This mutex also protects calls to underlying skBitmap's | 322 // This mutex also protects calls to underlying skBitmap's |
323 // lockPixels()/unlockPixels() as they are not threadsafe. | 323 // lockPixels()/unlockPixels() as they are not threadsafe. |
324 Mutex m_mutex; | 324 Mutex m_mutex; |
325 }; | 325 }; |
326 | 326 |
327 } // namespace WebCore | 327 } // namespace blink |
328 | 328 |
329 #endif | 329 #endif |
OLD | NEW |