OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium 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 #ifndef RecordingImageBufferSurface_h | 5 #ifndef RecordingImageBufferSurface_h |
6 #define RecordingImageBufferSurface_h | 6 #define RecordingImageBufferSurface_h |
7 | 7 |
8 #include "platform/graphics/GraphicsContext.h" | 8 #include "platform/graphics/GraphicsContext.h" |
9 #include "platform/graphics/ImageBufferSurface.h" | 9 #include "platform/graphics/ImageBufferSurface.h" |
10 #include "public/platform/WebThread.h" | 10 #include "public/platform/WebThread.h" |
11 #include "third_party/skia/include/core/SkCanvas.h" | 11 #include "third_party/skia/include/core/SkCanvas.h" |
12 #include "wtf/LinkedStack.h" | |
13 #include "wtf/OwnPtr.h" | 12 #include "wtf/OwnPtr.h" |
14 #include "wtf/RefPtr.h" | 13 #include "wtf/RefPtr.h" |
15 | 14 |
16 class SkPicture; | 15 class SkPicture; |
17 class SkPictureRecorder; | 16 class SkPictureRecorder; |
18 | 17 |
19 namespace blink { | 18 namespace blink { |
20 | 19 |
21 class ImageBuffer; | 20 class ImageBuffer; |
22 class RecordingImageBufferSurfaceTest; | 21 class RecordingImageBufferSurfaceTest; |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 bool m_frameWasCleared; | 73 bool m_frameWasCleared; |
75 bool m_didRecordDrawCommandsInCurrentFrame; | 74 bool m_didRecordDrawCommandsInCurrentFrame; |
76 bool m_currentFrameHasExpensiveOp; | 75 bool m_currentFrameHasExpensiveOp; |
77 bool m_previousFrameHasExpensiveOp; | 76 bool m_previousFrameHasExpensiveOp; |
78 OwnPtr<RecordingImageBufferFallbackSurfaceFactory> m_fallbackFactory; | 77 OwnPtr<RecordingImageBufferFallbackSurfaceFactory> m_fallbackFactory; |
79 }; | 78 }; |
80 | 79 |
81 } // namespace blink | 80 } // namespace blink |
82 | 81 |
83 #endif | 82 #endif |
OLD | NEW |