Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(228)

Side by Side Diff: cc/layers/picture_layer_impl.h

Issue 988693005: Chromium roll (https://codereview.chromium.org/976353002) (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: fixed bad android build patch Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « cc/layers/picture_layer.cc ('k') | cc/layers/picture_layer_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 const char* LayerTypeAsString() const override; 54 const char* LayerTypeAsString() const override;
55 scoped_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* tree_impl) override; 55 scoped_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* tree_impl) override;
56 void PushPropertiesTo(LayerImpl* layer) override; 56 void PushPropertiesTo(LayerImpl* layer) override;
57 void AppendQuads(RenderPass* render_pass, 57 void AppendQuads(RenderPass* render_pass,
58 AppendQuadsData* append_quads_data) override; 58 AppendQuadsData* append_quads_data) override;
59 void NotifyTileStateChanged(const Tile* tile) override; 59 void NotifyTileStateChanged(const Tile* tile) override;
60 void DidBeginTracing() override; 60 void DidBeginTracing() override;
61 void ReleaseResources() override; 61 void ReleaseResources() override;
62 void RecreateResources() override; 62 void RecreateResources() override;
63 skia::RefPtr<SkPicture> GetPicture() override; 63 skia::RefPtr<SkPicture> GetPicture() override;
64 Region GetInvalidationRegion() override;
64 65
65 // PictureLayerTilingClient overrides. 66 // PictureLayerTilingClient overrides.
66 scoped_refptr<Tile> CreateTile(float contents_scale, 67 scoped_refptr<Tile> CreateTile(float contents_scale,
67 const gfx::Rect& content_rect) override; 68 const gfx::Rect& content_rect) override;
68 gfx::Size CalculateTileSize(const gfx::Size& content_bounds) const override; 69 gfx::Size CalculateTileSize(const gfx::Size& content_bounds) const override;
69 const Region* GetPendingInvalidation() override; 70 const Region* GetPendingInvalidation() override;
70 const PictureLayerTiling* GetPendingOrActiveTwinTiling( 71 const PictureLayerTiling* GetPendingOrActiveTwinTiling(
71 const PictureLayerTiling* tiling) const override; 72 const PictureLayerTiling* tiling) const override;
72 PictureLayerTiling* GetRecycledTwinTiling( 73 PictureLayerTiling* GetRecycledTwinTiling(
73 const PictureLayerTiling* tiling) override; 74 const PictureLayerTiling* tiling) override;
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 // of comparing pointers, since objects pointed to are not guaranteed to 177 // of comparing pointers, since objects pointed to are not guaranteed to
177 // exist. 178 // exist.
178 std::vector<PictureLayerTiling*> last_append_quads_tilings_; 179 std::vector<PictureLayerTiling*> last_append_quads_tilings_;
179 180
180 DISALLOW_COPY_AND_ASSIGN(PictureLayerImpl); 181 DISALLOW_COPY_AND_ASSIGN(PictureLayerImpl);
181 }; 182 };
182 183
183 } // namespace cc 184 } // namespace cc
184 185
185 #endif // CC_LAYERS_PICTURE_LAYER_IMPL_H_ 186 #endif // CC_LAYERS_PICTURE_LAYER_IMPL_H_
OLDNEW
« no previous file with comments | « cc/layers/picture_layer.cc ('k') | cc/layers/picture_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698