| 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" | |
| 12 #include "wtf/Allocator.h" | 11 #include "wtf/Allocator.h" |
| 13 #include "wtf/Noncopyable.h" | 12 #include "wtf/Noncopyable.h" |
| 14 #include "wtf/OwnPtr.h" | 13 #include "wtf/OwnPtr.h" |
| 15 #include "wtf/RefPtr.h" | 14 #include "wtf/RefPtr.h" |
| 16 | 15 |
| 16 class SkCanvas; |
| 17 class SkPicture; | 17 class SkPicture; |
| 18 class SkPictureRecorder; | 18 class SkPictureRecorder; |
| 19 | 19 |
| 20 namespace blink { | 20 namespace blink { |
| 21 | 21 |
| 22 class ImageBuffer; | 22 class ImageBuffer; |
| 23 class RecordingImageBufferSurfaceTest; | 23 class RecordingImageBufferSurfaceTest; |
| 24 | 24 |
| 25 class RecordingImageBufferFallbackSurfaceFactory { | 25 class RecordingImageBufferFallbackSurfaceFactory { |
| 26 USING_FAST_MALLOC(RecordingImageBufferFallbackSurfaceFactory); | 26 USING_FAST_MALLOC(RecordingImageBufferFallbackSurfaceFactory); |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 bool m_frameWasCleared; | 104 bool m_frameWasCleared; |
| 105 bool m_didRecordDrawCommandsInCurrentFrame; | 105 bool m_didRecordDrawCommandsInCurrentFrame; |
| 106 bool m_currentFrameHasExpensiveOp; | 106 bool m_currentFrameHasExpensiveOp; |
| 107 bool m_previousFrameHasExpensiveOp; | 107 bool m_previousFrameHasExpensiveOp; |
| 108 OwnPtr<RecordingImageBufferFallbackSurfaceFactory> m_fallbackFactory; | 108 OwnPtr<RecordingImageBufferFallbackSurfaceFactory> m_fallbackFactory; |
| 109 }; | 109 }; |
| 110 | 110 |
| 111 } // namespace blink | 111 } // namespace blink |
| 112 | 112 |
| 113 #endif | 113 #endif |
| OLD | NEW |