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

Unified Diff: cc/quad_culler.h

Issue 11413106: cc: Make RenderPass into a struct-like class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 1 month 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/layer_tree_host_impl_unittest.cc ('k') | cc/quad_culler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/quad_culler.h
diff --git a/cc/quad_culler.h b/cc/quad_culler.h
index 7381f4b5c3f05903debb8c305f0048aecd4c3493..29db35ea07748d5d6b7b3f82494d7608a2d57ec7 100644
--- a/cc/quad_culler.h
+++ b/cc/quad_culler.h
@@ -17,7 +17,7 @@ class OcclusionTrackerBase;
class CC_EXPORT QuadCuller : public QuadSink {
public:
- QuadCuller(QuadList&, SharedQuadStateList&, const LayerImpl*, const OcclusionTrackerBase<LayerImpl, RenderSurfaceImpl>*, bool showCullingWithDebugBorderQuads, bool forSurface);
+ QuadCuller(QuadList&, SharedQuadStateList&, const LayerImpl*, const OcclusionTrackerBase<LayerImpl, RenderSurfaceImpl>&, bool showCullingWithDebugBorderQuads, bool forSurface);
virtual ~QuadCuller() { }
// QuadSink implementation.
@@ -27,9 +27,10 @@ public:
private:
QuadList& m_quadList;
SharedQuadStateList& m_sharedQuadStateList;
- SharedQuadState* m_currentSharedQuadState;
const LayerImpl* m_layer;
- const OcclusionTrackerBase<LayerImpl, RenderSurfaceImpl>* m_occlusionTracker;
+ const OcclusionTrackerBase<LayerImpl, RenderSurfaceImpl>& m_occlusionTracker;
+
+ SharedQuadState* m_currentSharedQuadState;
bool m_showCullingWithDebugBorderQuads;
bool m_forSurface;
};
« no previous file with comments | « cc/layer_tree_host_impl_unittest.cc ('k') | cc/quad_culler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698