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

Unified Diff: cc/test/layer_test_common.h

Issue 205503002: cc: Apply occlusion before creating quads in RenderSurfaceImpl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: cc/test/layer_test_common.h
diff --git a/cc/test/layer_test_common.h b/cc/test/layer_test_common.h
index 12b630f1cceb87d01f0b9ccb950a234ada136792..4dca96f020c49d1bd4f921d621abad5efae66e1a 100644
--- a/cc/test/layer_test_common.h
+++ b/cc/test/layer_test_common.h
@@ -28,8 +28,10 @@
namespace gfx { class Rect; }
namespace cc {
+class LayerImpl;
class OutputSurface;
class QuadList;
+class RenderSurfaceImpl;
class ResourceProvider;
class LayerTestCommon {
@@ -69,6 +71,8 @@ class LayerTestCommon {
void CalcDrawProps(const gfx::Size& viewport_size);
void AppendQuadsWithOcclusion(LayerImpl* layer_impl,
const gfx::Rect& occluded);
+ void AppendSurfaceQuadsWithOcclusion(RenderSurfaceImpl* surface_impl,
+ const gfx::Rect& occluded);
OutputSurface* output_surface() const {
return host_->host_impl()->output_surface();

Powered by Google App Engine
This is Rietveld 408576698