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

Unified Diff: Source/platform/graphics/GraphicsLayer.h

Issue 183103007: Implement will-change-based GPU rasterization hint (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Move hint from WebLayer to WebContentLayer Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/rendering/style/RenderStyle.cpp ('k') | Source/platform/graphics/GraphicsLayer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/GraphicsLayer.h
diff --git a/Source/platform/graphics/GraphicsLayer.h b/Source/platform/graphics/GraphicsLayer.h
index 507ac945f0da6919c75c248aba39a6b7ba8b211c..f98f058e71b38b4789c97f5f9ba02cf746cfc21a 100644
--- a/Source/platform/graphics/GraphicsLayer.h
+++ b/Source/platform/graphics/GraphicsLayer.h
@@ -205,6 +205,9 @@ public:
bool isRootForIsolatedGroup() const { return m_isRootForIsolatedGroup; }
void setIsRootForIsolatedGroup(bool);
+ bool hasGpuRasterizationHint() const { return m_hasGpuRasterizationHint; }
+ void setHasGpuRasterizationHint(bool);
+
const FilterOperations& filters() const { return m_filters; }
// Returns true if filter can be rendered by the compositor
@@ -359,6 +362,7 @@ private:
bool m_drawsContent : 1;
bool m_contentsVisible : 1;
bool m_isRootForIsolatedGroup : 1;
+ bool m_hasGpuRasterizationHint: 1;
bool m_hasScrollParent : 1;
bool m_hasClipParent : 1;
« no previous file with comments | « Source/core/rendering/style/RenderStyle.cpp ('k') | Source/platform/graphics/GraphicsLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698