| 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 | |
| 6 #include "config.h" | 5 #include "config.h" |
| 7 | 6 |
| 8 #include "SkPictureCanvasLayerTextureUpdater.h" | 7 #include "cc/skpicture_canvas_layer_texture_updater.h" |
| 9 | 8 |
| 10 #include "CCTextureUpdateQueue.h" | 9 #include "CCTextureUpdateQueue.h" |
| 11 #include "LayerPainterChromium.h" | |
| 12 #include "TraceEvent.h" | 10 #include "TraceEvent.h" |
| 11 #include "cc/layer_painter.h" |
| 13 #include "third_party/skia/include/core/SkCanvas.h" | 12 #include "third_party/skia/include/core/SkCanvas.h" |
| 14 | 13 |
| 15 namespace cc { | 14 namespace cc { |
| 16 | 15 |
| 17 SkPictureCanvasLayerTextureUpdater::SkPictureCanvasLayerTextureUpdater(scoped_pt
r<LayerPainterChromium> painter) | 16 SkPictureCanvasLayerTextureUpdater::SkPictureCanvasLayerTextureUpdater(scoped_pt
r<LayerPainterChromium> painter) |
| 18 : CanvasLayerTextureUpdater(painter.Pass()) | 17 : CanvasLayerTextureUpdater(painter.Pass()) |
| 19 , m_layerIsOpaque(false) | 18 , m_layerIsOpaque(false) |
| 20 { | 19 { |
| 21 } | 20 } |
| 22 | 21 |
| (...skipping 22 matching lines...) Expand all Loading... |
| 45 else | 44 else |
| 46 queue.appendFullUpload(upload); | 45 queue.appendFullUpload(upload); |
| 47 } | 46 } |
| 48 | 47 |
| 49 void SkPictureCanvasLayerTextureUpdater::setOpaque(bool opaque) | 48 void SkPictureCanvasLayerTextureUpdater::setOpaque(bool opaque) |
| 50 { | 49 { |
| 51 m_layerIsOpaque = opaque; | 50 m_layerIsOpaque = opaque; |
| 52 } | 51 } |
| 53 | 52 |
| 54 } // namespace cc | 53 } // namespace cc |
| OLD | NEW |