OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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 CC_LAYERS_PICTURE_LAYER_IMPL_H_ | 5 #ifndef CC_LAYERS_PICTURE_LAYER_IMPL_H_ |
6 #define CC_LAYERS_PICTURE_LAYER_IMPL_H_ | 6 #define CC_LAYERS_PICTURE_LAYER_IMPL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 24 matching lines...) Expand all Loading... |
35 // LayerImpl overrides. | 35 // LayerImpl overrides. |
36 virtual const char* LayerTypeAsString() const OVERRIDE; | 36 virtual const char* LayerTypeAsString() const OVERRIDE; |
37 virtual scoped_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* tree_impl) | 37 virtual scoped_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* tree_impl) |
38 OVERRIDE; | 38 OVERRIDE; |
39 virtual void PushPropertiesTo(LayerImpl* layer) OVERRIDE; | 39 virtual void PushPropertiesTo(LayerImpl* layer) OVERRIDE; |
40 virtual void AppendQuads(QuadSink* quad_sink, | 40 virtual void AppendQuads(QuadSink* quad_sink, |
41 AppendQuadsData* append_quads_data) OVERRIDE; | 41 AppendQuadsData* append_quads_data) OVERRIDE; |
42 virtual void UpdateTilePriorities() OVERRIDE; | 42 virtual void UpdateTilePriorities() OVERRIDE; |
43 virtual void DidBecomeActive() OVERRIDE; | 43 virtual void DidBecomeActive() OVERRIDE; |
44 virtual void DidBeginTracing() OVERRIDE; | 44 virtual void DidBeginTracing() OVERRIDE; |
45 virtual void DidLoseOutputSurface() OVERRIDE; | 45 virtual void ReleaseResources() OVERRIDE; |
46 virtual void CalculateContentsScale(float ideal_contents_scale, | 46 virtual void CalculateContentsScale(float ideal_contents_scale, |
47 float device_scale_factor, | 47 float device_scale_factor, |
48 float page_scale_factor, | 48 float page_scale_factor, |
49 bool animating_transform_to_screen, | 49 bool animating_transform_to_screen, |
50 float* contents_scale_x, | 50 float* contents_scale_x, |
51 float* contents_scale_y, | 51 float* contents_scale_y, |
52 gfx::Size* content_bounds) OVERRIDE; | 52 gfx::Size* content_bounds) OVERRIDE; |
53 virtual skia::RefPtr<SkPicture> GetPicture() OVERRIDE; | 53 virtual skia::RefPtr<SkPicture> GetPicture() OVERRIDE; |
54 | 54 |
55 // PictureLayerTilingClient overrides. | 55 // PictureLayerTilingClient overrides. |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 bool should_update_tile_priorities_; | 147 bool should_update_tile_priorities_; |
148 bool should_use_gpu_rasterization_; | 148 bool should_use_gpu_rasterization_; |
149 | 149 |
150 friend class PictureLayer; | 150 friend class PictureLayer; |
151 DISALLOW_COPY_AND_ASSIGN(PictureLayerImpl); | 151 DISALLOW_COPY_AND_ASSIGN(PictureLayerImpl); |
152 }; | 152 }; |
153 | 153 |
154 } // namespace cc | 154 } // namespace cc |
155 | 155 |
156 #endif // CC_LAYERS_PICTURE_LAYER_IMPL_H_ | 156 #endif // CC_LAYERS_PICTURE_LAYER_IMPL_H_ |
OLD | NEW |