summaryrefslogtreecommitdiffstats
path: root/chromium/cc/trees/quad_culler.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/cc/trees/quad_culler.h')
-rw-r--r--chromium/cc/trees/quad_culler.h49
1 files changed, 0 insertions, 49 deletions
diff --git a/chromium/cc/trees/quad_culler.h b/chromium/cc/trees/quad_culler.h
deleted file mode 100644
index be0095f9f41..00000000000
--- a/chromium/cc/trees/quad_culler.h
+++ /dev/null
@@ -1,49 +0,0 @@
-// Copyright 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CC_TREES_QUAD_CULLER_H_
-#define CC_TREES_QUAD_CULLER_H_
-
-#include "cc/base/cc_export.h"
-#include "cc/layers/quad_sink.h"
-#include "cc/quads/render_pass.h"
-
-namespace cc {
-class LayerImpl;
-class RenderSurfaceImpl;
-template <typename LayerType, typename SurfaceType> class OcclusionTrackerBase;
-
-class CC_EXPORT QuadCuller : public QuadSink {
- public:
- QuadCuller(QuadList* quad_list,
- SharedQuadStateList* shared_quad_state_list,
- const LayerImpl* layer,
- const OcclusionTrackerBase<LayerImpl, RenderSurfaceImpl>&
- occlusion_tracker,
- bool show_culling_with_debug_border_quads,
- bool for_surface);
- virtual ~QuadCuller() {}
-
- // QuadSink implementation.
- virtual SharedQuadState* UseSharedQuadState(
- scoped_ptr<SharedQuadState> shared_quad_state) OVERRIDE;
- virtual bool Append(scoped_ptr<DrawQuad> draw_quad,
- AppendQuadsData* append_quads_data) OVERRIDE;
-
- private:
- QuadList* quad_list_;
- SharedQuadStateList* shared_quad_state_list_;
- const LayerImpl* layer_;
- const OcclusionTrackerBase<LayerImpl, RenderSurfaceImpl>& occlusion_tracker_;
-
- SharedQuadState* current_shared_quad_state_;
- bool show_culling_with_debug_border_quads_;
- bool for_surface_;
-
- DISALLOW_COPY_AND_ASSIGN(QuadCuller);
-};
-
-} // namespace cc
-
-#endif // CC_TREES_QUAD_CULLER_H_