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

Unified Diff: cc/test/render_pass_test_common.h

Issue 1531403002: Revert "Delete CC." (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years 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/test/pixel_test_utils.cc ('k') | cc/test/render_pass_test_common.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/render_pass_test_common.h
diff --git a/cc/test/render_pass_test_common.h b/cc/test/render_pass_test_common.h
new file mode 100644
index 0000000000000000000000000000000000000000..0fd325f02f39a80748cd1953d21e2638b67dade0
--- /dev/null
+++ b/cc/test/render_pass_test_common.h
@@ -0,0 +1,33 @@
+// 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_TEST_RENDER_PASS_TEST_COMMON_H_
+#define CC_TEST_RENDER_PASS_TEST_COMMON_H_
+
+#include "cc/quads/render_pass.h"
+
+namespace cc {
+class ResourceProvider;
+}
+
+namespace cc {
+
+class TestRenderPass : public RenderPass {
+ public:
+ static scoped_ptr<TestRenderPass> Create() {
+ return make_scoped_ptr(new TestRenderPass);
+ }
+
+ static const unsigned int kSyncPointForMailboxTextureQuad = 30;
+
+ void AppendOneOfEveryQuadType(ResourceProvider* resource_provider,
+ RenderPassId child_pass);
+
+ protected:
+ TestRenderPass() : RenderPass() {}
+};
+
+} // namespace cc
+
+#endif // CC_TEST_RENDER_PASS_TEST_COMMON_H_
« no previous file with comments | « cc/test/pixel_test_utils.cc ('k') | cc/test/render_pass_test_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698