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

Unified Diff: cc/CCAppendQuadsData.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 | « no previous file | cc/CCDamageTrackerTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCAppendQuadsData.h
diff --git a/cc/CCAppendQuadsData.h b/cc/CCAppendQuadsData.h
index 2a199672d707c1a4971d39673dea27d82d2ff322..b086de01a85269bb7a5581a2a6a07da581a3a5f9 100644
--- a/cc/CCAppendQuadsData.h
+++ b/cc/CCAppendQuadsData.h
@@ -5,12 +5,22 @@
#ifndef CCAppendQuadsData_h
#define CCAppendQuadsData_h
+#include "CCRenderPass.h"
+
namespace cc {
struct CCAppendQuadsData {
CCAppendQuadsData()
: hadOcclusionFromOutsideTargetSurface(false)
, hadMissingTiles(false)
+ , renderPassId(0, 0)
+ {
+ }
+
+ explicit CCAppendQuadsData(CCRenderPass::Id renderPassId)
+ : hadOcclusionFromOutsideTargetSurface(false)
+ , hadMissingTiles(false)
+ , renderPassId(renderPassId)
{
}
@@ -18,6 +28,8 @@ struct CCAppendQuadsData {
bool hadOcclusionFromOutsideTargetSurface;
// Set by the layer appending quads.
bool hadMissingTiles;
+ // Given to the layer appending quads.
+ const CCRenderPass::Id renderPassId;
};
}
« no previous file with comments | « no previous file | cc/CCDamageTrackerTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698