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

Unified Diff: cc/test/render_pass_test_common.cc

Issue 1131253003: cc: Add support for non-2D texture targets to YUVVideoQuad. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: invert scale Created 5 years, 7 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/render_pass_test_common.cc
diff --git a/cc/test/render_pass_test_common.cc b/cc/test/render_pass_test_common.cc
index 8b479fcc8cba22367c4b85ae8bcd159b73fa2e67..851dc57b9e87fd72f37477c93ea1bcd511b03ca7 100644
--- a/cc/test/render_pass_test_common.cc
+++ b/cc/test/render_pass_test_common.cc
@@ -245,9 +245,10 @@ void TestRenderPass::AppendOneOfEveryQuadType(
YUVVideoDrawQuad* yuv_quad =
this->CreateAndAppendDrawQuad<YUVVideoDrawQuad>();
yuv_quad->SetNew(shared_state2, rect, opaque_rect, visible_rect,
- gfx::RectF(0, 0, 100, 100), gfx::Size(100, 100),
- gfx::Size(50, 50), plane_resources[0], plane_resources[1],
- plane_resources[2], plane_resources[3], color_space);
+ gfx::RectF(0, 0, 100, 100), gfx::RectF(0, 0, 50, 50),
danakj 2015/05/12 16:47:41 float literals should be written with f suffix
reveman 2015/05/12 17:09:36 Done. fyi, this file is not very consistent in th
+ gfx::Size(100, 100), gfx::Size(50, 50), plane_resources[0],
+ plane_resources[1], plane_resources[2], plane_resources[3],
+ color_space);
}
} // namespace cc

Powered by Google App Engine
This is Rietveld 408576698