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

Unified Diff: cc/test/test_web_graphics_context_3d_unittest.cc

Issue 885443002: Roll Chrome into Mojo. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Rebase to ToT mojo Created 5 years, 11 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 | « cc/test/test_web_graphics_context_3d.cc ('k') | cc/trees/layer_tree_host_common.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/test_web_graphics_context_3d_unittest.cc
diff --git a/cc/test/test_web_graphics_context_3d_unittest.cc b/cc/test/test_web_graphics_context_3d_unittest.cc
index 107f15ca3465e59de396b0c2c340be6611552b74..06f53066ec1cc9d35a0a86157132cb8880cefb14 100644
--- a/cc/test/test_web_graphics_context_3d_unittest.cc
+++ b/cc/test/test_web_graphics_context_3d_unittest.cc
@@ -93,5 +93,19 @@ TEST(TestWebGraphicsContext3DTest,
check_parameter_value(context.get(), GL_TEXTURE_MAG_FILTER, GL_NEAREST));
}
+TEST(TestWebGraphicsContext3DTest, UseMultipleRenderAndFramebuffers) {
+ scoped_ptr<TestWebGraphicsContext3D> context(
+ TestWebGraphicsContext3D::Create());
+
+ GLuint ids[2];
+ context->genFramebuffers(2, ids);
+ EXPECT_NE(ids[0], ids[1]);
+ context->deleteFramebuffers(2, ids);
+
+ context->genRenderbuffers(2, ids);
+ EXPECT_NE(ids[0], ids[1]);
+ context->deleteRenderbuffers(2, ids);
+}
+
} // namespace
} // namespace cc
« no previous file with comments | « cc/test/test_web_graphics_context_3d.cc ('k') | cc/trees/layer_tree_host_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698