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

Unified Diff: cc/CCRenderSurface.h

Issue 10916307: Add the ubercomp DelegatedRendererLayer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use OwnPtrVector Created 8 years, 3 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/CCLayerTreeHostImplTest.cpp ('k') | cc/CCRenderSurface.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCRenderSurface.h
diff --git a/cc/CCRenderSurface.h b/cc/CCRenderSurface.h
index 55dc48390041283afbdc16d9ee9bb07739bac38d..107cf67d52c02fe99c4f4893248157ec249feafa 100644
--- a/cc/CCRenderSurface.h
+++ b/cc/CCRenderSurface.h
@@ -18,6 +18,7 @@
namespace cc {
class CCDamageTracker;
+class CCDelegatedRendererLayerImpl;
class CCQuadSink;
class CCRenderPassSink;
class CCLayerImpl;
@@ -72,8 +73,9 @@ public:
void setContentRect(const IntRect&);
const IntRect& contentRect() const { return m_contentRect; }
- void clearLayerList() { m_layerList.clear(); }
Vector<CCLayerImpl*>& layerList() { return m_layerList; }
+ void addContributingDelegatedRenderPassLayer(CCLayerImpl*);
+ void clearLayerLists();
int owningLayerId() const;
@@ -108,6 +110,7 @@ private:
IntRect m_clipRect;
Vector<CCLayerImpl*> m_layerList;
+ Vector<CCDelegatedRendererLayerImpl*> m_contributingDelegatedRenderPassLayerList;
// The nearest ancestor target surface that will contain the contents of this surface, and that is going
// to move pixels within the surface (such as with a blur). This can point to itself.
« no previous file with comments | « cc/CCLayerTreeHostImplTest.cpp ('k') | cc/CCRenderSurface.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698