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