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

Unified Diff: cc/layers/video_layer_impl.cc

Issue 1818073002: Always apply UniformMatrix4fvStreamTextureMatrixCHROMIUM matrix argument. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase [If you wait by the river long enough, the bodies of your gyp files will float by] Created 4 years, 4 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/layers/video_frame_provider_client_impl.cc ('k') | cc/output/gl_renderer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/video_layer_impl.cc
diff --git a/cc/layers/video_layer_impl.cc b/cc/layers/video_layer_impl.cc
index 17fb3333f0695114c23bcf2f525eb087776c71ff..47fb38b35e6c86efd443b187db99f33284edce2b 100644
--- a/cc/layers/video_layer_impl.cc
+++ b/cc/layers/video_layer_impl.cc
@@ -319,10 +319,9 @@ void VideoLayerImpl::AppendQuads(RenderPass* render_pass,
scale.Scale(tex_width_scale, tex_height_scale);
StreamVideoDrawQuad* stream_video_quad =
render_pass->CreateAndAppendDrawQuad<StreamVideoDrawQuad>();
- stream_video_quad->SetNew(
- shared_quad_state, quad_rect, opaque_rect, visible_quad_rect,
- frame_resources_[0].id, frame_resources_[0].size_in_pixels,
- scale * provider_client_impl_->StreamTextureMatrix());
+ stream_video_quad->SetNew(shared_quad_state, quad_rect, opaque_rect,
+ visible_quad_rect, frame_resources_[0].id,
+ frame_resources_[0].size_in_pixels, scale);
ValidateQuadResources(stream_video_quad);
break;
}
« no previous file with comments | « cc/layers/video_frame_provider_client_impl.cc ('k') | cc/output/gl_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698