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

Unified Diff: public/platform/WebContentLayerClient.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/DEPS ('k') | public/platform/WebDisplayList.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebContentLayerClient.h
diff --git a/public/platform/WebContentLayerClient.h b/public/platform/WebContentLayerClient.h
index abf25d77dcd1a817a4d3350c7d954628594be8cb..d81421e29a15efacf226a30a3d3772680968658f 100644
--- a/public/platform/WebContentLayerClient.h
+++ b/public/platform/WebContentLayerClient.h
@@ -32,6 +32,8 @@
namespace blink {
class WebDisplayItemList;
+class WebDisplayItemTransformTree;
+class WebDisplayList;
struct WebRect;
class BLINK_PLATFORM_EXPORT WebContentLayerClient {
@@ -69,6 +71,11 @@ public:
// result includes data cached internally during painting.
virtual size_t approximateUnsharedMemoryUsage() const { return 0; }
+ virtual const WebDisplayList* displayList() const { return 0; };
jbroman 2015/07/22 21:20:07 What will cc do with the display list for a layer?
chrishtr 2015/07/22 22:09:58 cc will raster it yeah. This is the representation
+
+ // This is only set on a root graphics layer. Alternatively, this could be set on the layer tree host.
+ virtual const WebDisplayItemTransformTree* transformTree() const { return 0; };
+
protected:
virtual ~WebContentLayerClient() { }
};
« no previous file with comments | « public/platform/DEPS ('k') | public/platform/WebDisplayList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698