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

Unified Diff: cc/output/gl_renderer.cc

Issue 2679943004: Don't DCHECK that we didn't lose the GL context (Closed)
Patch Set: Created 3 years, 10 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/gl_renderer.cc
diff --git a/cc/output/gl_renderer.cc b/cc/output/gl_renderer.cc
index 5f0c5f83886b03455a380fee951b7f3e42ef0af4..18609745a2beff33dfd33a2057f9f069839017f8 100644
--- a/cc/output/gl_renderer.cc
+++ b/cc/output/gl_renderer.cc
@@ -2285,7 +2285,6 @@ void GLRenderer::DrawYUVVideoQuad(const DrawingFrame* frame,
gl_->Uniform1f(program->lut_size_location(), lut.size);
gl_->ActiveTexture(GL_TEXTURE0);
}
- DCHECK_NE(program->yuv_and_resource_matrix_location(), -1);
float yuv_to_rgb_matrix[16] = {0};
ComputeYUVToRGBMatrices(quad->color_space, quad->bits_per_channel,
quad->resource_multiplier, quad->resource_offset,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698