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

Unified Diff: cc/playback/recording_source.h

Issue 1982893002: [blimp] Add SkPicture caching support. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments from vmpstr, including adding //cc/blimp Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/playback/float_clip_display_item.cc ('k') | cc/playback/recording_source.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/playback/recording_source.h
diff --git a/cc/playback/recording_source.h b/cc/playback/recording_source.h
index 9e5aa7e95ae50e1ce5ece56f6700b6e7b0c9f0ae..36d0511d358ab2662128f4768900e722e9170d83 100644
--- a/cc/playback/recording_source.h
+++ b/cc/playback/recording_source.h
@@ -23,10 +23,10 @@ namespace proto {
class RecordingSource;
} // namespace proto
+class ClientPictureCache;
class ContentLayerClient;
class DisplayItemList;
class RasterSource;
-class ImageSerializationProcessor;
class Region;
class CC_EXPORT RecordingSource {
@@ -46,11 +46,10 @@ class CC_EXPORT RecordingSource {
RecordingSource();
virtual ~RecordingSource();
- void ToProtobuf(
- proto::RecordingSource* proto,
- ImageSerializationProcessor* image_serialization_processor) const;
+ void ToProtobuf(proto::RecordingSource* proto) const;
void FromProtobuf(const proto::RecordingSource& proto,
- ImageSerializationProcessor* image_serialization_processor);
+ ClientPictureCache* client_picture_cache,
+ std::vector<uint32_t>* used_engine_picture_ids);
bool UpdateAndExpandInvalidation(ContentLayerClient* painter,
Region* invalidation,
@@ -73,6 +72,8 @@ class CC_EXPORT RecordingSource {
gfx::Rect recorded_viewport() const { return recorded_viewport_; }
+ const DisplayItemList* GetDisplayItemList();
+
protected:
void Clear();
« no previous file with comments | « cc/playback/float_clip_display_item.cc ('k') | cc/playback/recording_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698