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

Unified Diff: cc/layers/video_layer_impl.cc

Issue 1848923003: Revert of Make Android StreamTexture implement GLStreamTextureImage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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_unittest.cc ('k') | content/common/gpu/stream_texture_android.h » ('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 8fa674f5afa115299f5bc6f3be5d30951400b9e0..f22860c746c8b050a6e23fb7f4f343e80af9617c 100644
--- a/cc/layers/video_layer_impl.cc
+++ b/cc/layers/video_layer_impl.cc
@@ -319,9 +319,10 @@
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);
+ 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());
ValidateQuadResources(stream_video_quad);
break;
}
« no previous file with comments | « cc/layers/video_frame_provider_client_impl_unittest.cc ('k') | content/common/gpu/stream_texture_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698