| OLD | NEW |
| 1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 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 | 5 |
| 6 #ifndef SkPictureCanvasLayerTextureUpdater_h | 6 #ifndef SkPictureCanvasLayerTextureUpdater_h |
| 7 #define SkPictureCanvasLayerTextureUpdater_h | 7 #define SkPictureCanvasLayerTextureUpdater_h |
| 8 | 8 |
| 9 #include "CanvasLayerTextureUpdater.h" | 9 #include "cc/canvas_layer_texture_updater.h" |
| 10 #include "third_party/skia/include/core/SkPicture.h" | 10 #include "third_party/skia/include/core/SkPicture.h" |
| 11 | 11 |
| 12 class SkCanvas; | 12 class SkCanvas; |
| 13 | 13 |
| 14 namespace cc { | 14 namespace cc { |
| 15 | 15 |
| 16 class LayerPainterChromium; | 16 class LayerPainterChromium; |
| 17 | 17 |
| 18 // This class records the contentRect into an SkPicture. Subclasses, provide | 18 // This class records the contentRect into an SkPicture. Subclasses, provide |
| 19 // different implementations of tile updating based on this recorded picture. | 19 // different implementations of tile updating based on this recorded picture. |
| (...skipping 17 matching lines...) Expand all Loading... |
| 37 | 37 |
| 38 private: | 38 private: |
| 39 // Recording canvas. | 39 // Recording canvas. |
| 40 SkPicture m_picture; | 40 SkPicture m_picture; |
| 41 // True when it is known that all output pixels will be opaque. | 41 // True when it is known that all output pixels will be opaque. |
| 42 bool m_layerIsOpaque; | 42 bool m_layerIsOpaque; |
| 43 }; | 43 }; |
| 44 | 44 |
| 45 } // namespace cc | 45 } // namespace cc |
| 46 #endif // SkPictureCanvasLayerTextureUpdater_h | 46 #endif // SkPictureCanvasLayerTextureUpdater_h |
| OLD | NEW |