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

Unified Diff: cc/output/gl_renderer_unittest.cc

Issue 2622053005: The great shader refactor: Merge YUV shader class (Closed)
Patch Set: Rebase Created 3 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/output/gl_renderer.cc ('k') | cc/output/program_binding.h » ('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 466d1cb0f0c712ff5201882a6459a23ccc2c3a23..20a5e36de1a035e5d2af91329bc1d1cfe690bf18 100644
--- a/cc/output/gl_renderer_unittest.cc
+++ b/cc/output/gl_renderer_unittest.cc
@@ -185,11 +185,13 @@ class GLRendererShaderPixelTest : public GLRendererPixelTest {
EXPECT_PROGRAM_VALID(renderer()->GetProgram(
ProgramKey::Tile(precision, sampler, NO_AA, DO_SWIZZLE, true)));
+ // Iterate over alpha plane, nv12, and color_lut parameters.
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));
+ const Program* program = renderer()->GetProgram(
+ ProgramKey::YUVVideo(precision, sampler, j, k, l));
+ EXPECT_PROGRAM_VALID(program);
}
}
}
« no previous file with comments | « cc/output/gl_renderer.cc ('k') | cc/output/program_binding.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698