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

Unified Diff: content/common/cc_messages_unittest.cc

Issue 18432002: Blend TextureLayer background-color at draw time. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: resolved conflicts with TOT Created 7 years, 5 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 | « content/common/cc_messages.h ('k') | webkit/renderer/compositor_bindings/web_external_texture_layer_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/cc_messages_unittest.cc
diff --git a/content/common/cc_messages_unittest.cc b/content/common/cc_messages_unittest.cc
index 8d8b08add432acaa7bc5377d1715adc595cab8b4..0537a5ad0a7e486de29fd1c307ee617f07f4aeba 100644
--- a/content/common/cc_messages_unittest.cc
+++ b/content/common/cc_messages_unittest.cc
@@ -153,6 +153,7 @@ class CCMessagesTest : public testing::Test {
EXPECT_EQ(a->premultiplied_alpha, b->premultiplied_alpha);
EXPECT_EQ(a->uv_top_left, b->uv_top_left);
EXPECT_EQ(a->uv_bottom_right, b->uv_bottom_right);
+ EXPECT_EQ(a->background_color, b->background_color);
EXPECT_EQ(a->vertex_opacity[0], b->vertex_opacity[0]);
EXPECT_EQ(a->vertex_opacity[1], b->vertex_opacity[1]);
EXPECT_EQ(a->vertex_opacity[2], b->vertex_opacity[2]);
@@ -346,6 +347,7 @@ TEST_F(CCMessagesTest, AllQuads) {
arbitrary_bool2,
arbitrary_pointf1,
arbitrary_pointf2,
+ arbitrary_color,
arbitrary_float_array,
arbitrary_bool3);
scoped_ptr<DrawQuad> texture_cmp = texture_in->Copy(
« no previous file with comments | « content/common/cc_messages.h ('k') | webkit/renderer/compositor_bindings/web_external_texture_layer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698