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

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

Issue 1811113004: Store recording invalidations in DisplayListRecordingSource, save them via Update. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2623
Patch Set: Created 4 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 <stddef.h> 8 #include <stddef.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 const char* LayerTypeAsString() const override; 46 const char* LayerTypeAsString() const override;
47 scoped_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* tree_impl) override; 47 scoped_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* tree_impl) override;
48 void PushPropertiesTo(LayerImpl* layer) override; 48 void PushPropertiesTo(LayerImpl* layer) override;
49 void AppendQuads(RenderPass* render_pass, 49 void AppendQuads(RenderPass* render_pass,
50 AppendQuadsData* append_quads_data) override; 50 AppendQuadsData* append_quads_data) override;
51 void NotifyTileStateChanged(const Tile* tile) override; 51 void NotifyTileStateChanged(const Tile* tile) override;
52 void DidBeginTracing() override; 52 void DidBeginTracing() override;
53 void ReleaseResources() override; 53 void ReleaseResources() override;
54 void RecreateResources() override; 54 void RecreateResources() override;
55 skia::RefPtr<SkPicture> GetPicture() override; 55 skia::RefPtr<SkPicture> GetPicture() override;
56 Region GetInvalidationRegion() override; 56 Region GetInvalidationRegionForDebugging() override;
57 57
58 // PictureLayerTilingClient overrides. 58 // PictureLayerTilingClient overrides.
59 ScopedTilePtr CreateTile(const Tile::CreateInfo& info) override; 59 ScopedTilePtr CreateTile(const Tile::CreateInfo& info) override;
60 gfx::Size CalculateTileSize(const gfx::Size& content_bounds) const override; 60 gfx::Size CalculateTileSize(const gfx::Size& content_bounds) const override;
61 const Region* GetPendingInvalidation() override; 61 const Region* GetPendingInvalidation() override;
62 const PictureLayerTiling* GetPendingOrActiveTwinTiling( 62 const PictureLayerTiling* GetPendingOrActiveTwinTiling(
63 const PictureLayerTiling* tiling) const override; 63 const PictureLayerTiling* tiling) const override;
64 bool HasValidTilePriorities() const override; 64 bool HasValidTilePriorities() const override;
65 bool RequiresHighResToDraw() const override; 65 bool RequiresHighResToDraw() const override;
66 gfx::Rect GetEnclosingRectInTargetSpace() const override; 66 gfx::Rect GetEnclosingRectInTargetSpace() const override;
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 // of comparing pointers, since objects pointed to are not guaranteed to 168 // of comparing pointers, since objects pointed to are not guaranteed to
169 // exist. 169 // exist.
170 std::vector<PictureLayerTiling*> last_append_quads_tilings_; 170 std::vector<PictureLayerTiling*> last_append_quads_tilings_;
171 171
172 DISALLOW_COPY_AND_ASSIGN(PictureLayerImpl); 172 DISALLOW_COPY_AND_ASSIGN(PictureLayerImpl);
173 }; 173 };
174 174
175 } // namespace cc 175 } // namespace cc
176 176
177 #endif // CC_LAYERS_PICTURE_LAYER_IMPL_H_ 177 #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