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

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: merge origin/master 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
Index: cc/playback/recording_source.h
diff --git a/cc/playback/recording_source.h b/cc/playback/recording_source.h
index 9e5aa7e95ae50e1ce5ece56f6700b6e7b0c9f0ae..31508a08c8a0045bc43061ea42a426b574bd9b1e 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_; }
+ scoped_refptr<const DisplayItemList> GetDisplayItemList();
+
protected:
void Clear();

Powered by Google App Engine
This is Rietveld 408576698