OLD | NEW |
1 // Copyright 2016 PDFium Authors. All rights reserved. | 1 // Copyright 2016 PDFium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
6 | 6 |
7 #ifndef CORE_FPDFAPI_FPDF_RENDER_CPDF_PAGERENDERCACHE_H_ | 7 #ifndef CORE_FPDFAPI_FPDF_RENDER_CPDF_PAGERENDERCACHE_H_ |
8 #define CORE_FPDFAPI_FPDF_RENDER_CPDF_PAGERENDERCACHE_H_ | 8 #define CORE_FPDFAPI_FPDF_RENDER_CPDF_PAGERENDERCACHE_H_ |
9 | 9 |
10 #include <map> | 10 #include <map> |
11 | 11 |
12 #include "core/fxcrt/include/fx_system.h" | 12 #include "core/fxcrt/fx_system.h" |
13 | 13 |
14 class CPDF_Stream; | 14 class CPDF_Stream; |
15 class CPDF_ImageCacheEntry; | 15 class CPDF_ImageCacheEntry; |
16 class CPDF_Page; | 16 class CPDF_Page; |
17 class CPDF_RenderStatus; | 17 class CPDF_RenderStatus; |
18 class CFX_DIBitmap; | 18 class CFX_DIBitmap; |
19 class CFX_DIBSource; | 19 class CFX_DIBSource; |
20 class IFX_Pause; | 20 class IFX_Pause; |
21 | 21 |
22 class CPDF_PageRenderCache { | 22 class CPDF_PageRenderCache { |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 | 62 |
63 CPDF_Page* const m_pPage; | 63 CPDF_Page* const m_pPage; |
64 CPDF_ImageCacheEntry* m_pCurImageCacheEntry; | 64 CPDF_ImageCacheEntry* m_pCurImageCacheEntry; |
65 std::map<CPDF_Stream*, CPDF_ImageCacheEntry*> m_ImageCache; | 65 std::map<CPDF_Stream*, CPDF_ImageCacheEntry*> m_ImageCache; |
66 uint32_t m_nTimeCount; | 66 uint32_t m_nTimeCount; |
67 uint32_t m_nCacheSize; | 67 uint32_t m_nCacheSize; |
68 FX_BOOL m_bCurFindCache; | 68 FX_BOOL m_bCurFindCache; |
69 }; | 69 }; |
70 | 70 |
71 #endif // CORE_FPDFAPI_FPDF_RENDER_CPDF_PAGERENDERCACHE_H_ | 71 #endif // CORE_FPDFAPI_FPDF_RENDER_CPDF_PAGERENDERCACHE_H_ |
OLD | NEW |