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

Unified Diff: public/platform/WebDisplayList.h

Issue 1238123004: Slimming Paint phase 2 compositing algorithm plumbing & skeleton display list API. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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 | « public/platform/WebContentLayerClient.h ('k') | public/platform/WebLayer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebDisplayList.h
diff --git a/public/platform/WebDisplayList.h b/public/platform/WebDisplayList.h
new file mode 100644
index 0000000000000000000000000000000000000000..4c02836bc21dc69ba5e27521ceb763ff36f84f9e
--- /dev/null
+++ b/public/platform/WebDisplayList.h
@@ -0,0 +1,30 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef WebDisplayList_h
+#define WebDisplayList_h
+
+#include "WebVector.h"
+#include "skia/ext/pixel_ref_utils.h"
+
+namespace blink {
+
+struct WebDisplayListDiff {
+ WebVector<int> diffOffsets;
+};
+
+// This is just a placeholder, we should use the real class.
+class WebDisplayItem {
+};
+
+class WebDisplayList {
+public:
+ virtual ~WebDisplayList() { }
+ virtual const WebVector<WebDisplayItem>& webDisplayItems() const = 0;
chrishtr 2015/07/22 18:23:28 This really should just be ListContainer<DisplayIt
+ virtual const skia::DiscardablePixelRefList& pixelRefs() const = 0;
+};
+
+} // namespace blink
+
+#endif // WebDisplayList_h
« no previous file with comments | « public/platform/WebContentLayerClient.h ('k') | public/platform/WebLayer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698