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

Unified Diff: cc/layers/video_layer_impl.cc

Issue 2763223003: Reland of cc: Don't use StreamVideoDrawQuad on any platform but Android. (Closed)
Patch Set: Fix tests. Created 3 years, 6 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 | cc/layers/video_layer_impl_unittest.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 6a404fb179fc8e210eaf26ba0792327a006e5f20..33cb6a3816f5dc12530cb960a964e5fed8f386fe 100644
--- a/cc/layers/video_layer_impl.cc
+++ b/cc/layers/video_layer_impl.cc
@@ -101,9 +101,10 @@ bool VideoLayerImpl::WillDraw(DrawMode draw_mode,
return false;
if (!updater_) {
- updater_.reset(
- new VideoResourceUpdater(layer_tree_impl()->context_provider(),
- layer_tree_impl()->resource_provider()));
+ updater_.reset(new VideoResourceUpdater(
+ layer_tree_impl()->context_provider(),
+ layer_tree_impl()->resource_provider(),
+ layer_tree_impl()->settings().use_stream_video_draw_quad));
}
VideoFrameExternalResources external_resources =
« no previous file with comments | « no previous file | cc/layers/video_layer_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698