summaryrefslogtreecommitdiffstats
path: root/cc/test/render_pass_test_common.cc
diff options
context:
space:
mode:
authorsheu@chromium.org <sheu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-27 11:43:50 +0000
committersheu@chromium.org <sheu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-27 11:43:50 +0000
commit95052aaa485e20d220db74d88c567268f30a58f1 (patch)
tree08ba10bf93d6edc052c12397a0b9ffa0c887d379 /cc/test/render_pass_test_common.cc
parent037914508b8010d957b8cffe33ca02a1e9692f98 (diff)
downloadchromium_src-95052aaa485e20d220db74d88c567268f30a58f1.zip
chromium_src-95052aaa485e20d220db74d88c567268f30a58f1.tar.gz
chromium_src-95052aaa485e20d220db74d88c567268f30a58f1.tar.bz2
cc: Support texcoord offsets in YUVVideoDrawQuad
YUVVideoDrawQuad currently supports stretching, but not offset, from its source textures. Add support for offset. Also: fix VideoGLRendererPixelTest to upload subsampled chroma planes at the correct (half) size. Use patterned test textures to detect texcoord misalignment. BUG=349450 TEST=local build, run unittests on desktop Linux Review URL: https://codereview.chromium.org/207233002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259831 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/render_pass_test_common.cc')
-rw-r--r--cc/test/render_pass_test_common.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/test/render_pass_test_common.cc b/cc/test/render_pass_test_common.cc
index 70df149..56e2b07 100644
--- a/cc/test/render_pass_test_common.cc
+++ b/cc/test/render_pass_test_common.cc
@@ -230,7 +230,7 @@ void TestRenderPass::AppendOneOfEveryQuadType(
rect,
opaque_rect,
visible_rect,
- gfx::Size(100, 100),
+ gfx::RectF(0, 0, 100, 100),
plane_resources[0],
plane_resources[1],
plane_resources[2],