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

Unified Diff: cc/output/gl_renderer.cc

Issue 2632533003: Use skia for transform ... but it didnt work (Closed)
Patch Set: 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/color_lut_cache.cc ('k') | media/base/media_switches.cc » ('j') | 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 8de061772c69d123f20edd11381e924b51ca0f8e..4eebfb6b4f69bef05409aeca11518a9deed0a5cb 100644
--- a/cc/output/gl_renderer.cc
+++ b/cc/output/gl_renderer.cc
@@ -2296,6 +2296,7 @@ void GLRenderer::DrawYUVVideoQuad(const DrawingFrame* frame,
yuv_adjust[i] * adjustment_multiplier / quad->resource_multiplier -
quad->resource_offset;
}
+ printf("%f %f %f\n", adjustment_multiplier, quad->resource_multiplier, quad->resource_offset);
if (lut_texture_location != -1) {
unsigned int lut_texture = color_lut_cache_.GetLUT(
@@ -2304,8 +2305,14 @@ void GLRenderer::DrawYUVVideoQuad(const DrawingFrame* frame,
gl_->BindTexture(GL_TEXTURE_2D, lut_texture);
gl_->Uniform1i(lut_texture_location, 5);
gl_->ActiveTexture(GL_TEXTURE0);
+ printf("Using LUT\n");
}
+ printf("Adj %f %f %f\n",
+ yuv_adjust_with_offset[0],
+ yuv_adjust_with_offset[1],
+ yuv_adjust_with_offset[2]);
+
if (resource_multiplier_location != -1) {
gl_->Uniform1f(resource_multiplier_location, quad->resource_multiplier);
}
« no previous file with comments | « cc/output/color_lut_cache.cc ('k') | media/base/media_switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698