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

Unified Diff: cc/output/gl_renderer_unittest.cc

Issue 2122573003: media: replace LUMINANCE_F16 by RG_88 for 9/10-bit h264 videos Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase to ToT Created 4 years, 2 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/output/gl_renderer.cc ('k') | cc/output/renderer_pixeltest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/gl_renderer_unittest.cc
diff --git a/cc/output/gl_renderer_unittest.cc b/cc/output/gl_renderer_unittest.cc
index da940bfc57dc06ecff20e0eadca911f457c383a5..e83b9782b75d821e0943e6bce008735dc16fcb2f 100644
--- a/cc/output/gl_renderer_unittest.cc
+++ b/cc/output/gl_renderer_unittest.cc
@@ -180,8 +180,12 @@ class GLRendererShaderPixelTest : public GLRendererPixelTest {
for (int j = 0; j < 2; j++) {
for (int k = 0; k < 2; k++) {
for (int l = 0; l < 2; l++) {
- EXPECT_PROGRAM_VALID(
- renderer()->GetVideoYUVProgram(precision, sampler, j, k, l));
+ for (int m = 0; m < FragmentShaderYUVVideo::LAST_HIGHBIT_TEXTURE;
+ m++) {
+ EXPECT_PROGRAM_VALID(renderer()->GetVideoYUVProgram(
+ precision, sampler, j, k, l,
+ static_cast<FragmentShaderYUVVideo::HighbitTexture>(m)));
+ }
}
}
}
« no previous file with comments | « cc/output/gl_renderer.cc ('k') | cc/output/renderer_pixeltest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698