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 24 matching lines...) Expand all Loading... |
35 #include "wtf/DoublyLinkedList.h" | 35 #include "wtf/DoublyLinkedList.h" |
36 #include "wtf/HashSet.h" | 36 #include "wtf/HashSet.h" |
37 #include "wtf/OwnPtr.h" | 37 #include "wtf/OwnPtr.h" |
38 #include "wtf/PassOwnPtr.h" | 38 #include "wtf/PassOwnPtr.h" |
39 #include "wtf/ThreadingPrimitives.h" | 39 #include "wtf/ThreadingPrimitives.h" |
40 #include "wtf/Vector.h" | 40 #include "wtf/Vector.h" |
41 | 41 |
42 namespace blink { | 42 namespace blink { |
43 | 43 |
44 class ImageFrameGenerator; | 44 class ImageFrameGenerator; |
45 class SharedBuffer; | |
46 | 45 |
47 // FUNCTION | 46 // FUNCTION |
48 // | 47 // |
49 // ImageDecodingStore is a class used to manage cached decoder objects. | 48 // ImageDecodingStore is a class used to manage cached decoder objects. |
50 // | 49 // |
51 // EXTERNAL OBJECTS | 50 // EXTERNAL OBJECTS |
52 // | 51 // |
53 // ImageDecoder | 52 // ImageDecoder |
54 // A decoder object. It is used to decode raw data into bitmap images. | 53 // A decoder object. It is used to decode raw data into bitmap images. |
55 // | 54 // |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 // m_heapLimitInBytes | 211 // m_heapLimitInBytes |
213 // m_heapMemoryUsageInBytes | 212 // m_heapMemoryUsageInBytes |
214 // This mutex also protects calls to underlying skBitmap's | 213 // This mutex also protects calls to underlying skBitmap's |
215 // lockPixels()/unlockPixels() as they are not threadsafe. | 214 // lockPixels()/unlockPixels() as they are not threadsafe. |
216 Mutex m_mutex; | 215 Mutex m_mutex; |
217 }; | 216 }; |
218 | 217 |
219 } // namespace blink | 218 } // namespace blink |
220 | 219 |
221 #endif | 220 #endif |
OLD | NEW |