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

Unified Diff: cc/trees/layer_tree_host_unittest_context.cc

Issue 850993002: gpu video: optimize HW video to SW canvas and implement it for WebRTC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix android build fail Created 5 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
Index: cc/trees/layer_tree_host_unittest_context.cc
diff --git a/cc/trees/layer_tree_host_unittest_context.cc b/cc/trees/layer_tree_host_unittest_context.cc
index 56e52ad39f4ea237972e3133fd0788e392ab7d04..596adc010d072718be28577f68ea859d630e7ed8 100644
--- a/cc/trees/layer_tree_host_unittest_context.cc
+++ b/cc/trees/layer_tree_host_unittest_context.cc
@@ -1081,14 +1081,12 @@ class LayerTreeHostContextTestDontUseLostResources
make_scoped_ptr(
new gpu::MailboxHolder(mailbox, GL_TEXTURE_2D, sync_point)),
media::VideoFrame::ReleaseMailboxCB(), gfx::Size(4, 4),
- gfx::Rect(0, 0, 4, 4), gfx::Size(4, 4), base::TimeDelta(),
- VideoFrame::ReadPixelsCB(), false);
+ gfx::Rect(0, 0, 4, 4), gfx::Size(4, 4), base::TimeDelta(), false);
scaled_hw_video_frame_ = VideoFrame::WrapNativeTexture(
make_scoped_ptr(
new gpu::MailboxHolder(mailbox, GL_TEXTURE_2D, sync_point)),
media::VideoFrame::ReleaseMailboxCB(), gfx::Size(4, 4),
- gfx::Rect(0, 0, 3, 2), gfx::Size(4, 4), base::TimeDelta(),
- VideoFrame::ReadPixelsCB(), false);
+ gfx::Rect(0, 0, 3, 2), gfx::Size(4, 4), base::TimeDelta(), false);
color_frame_provider_.set_frame(color_video_frame_);
hw_frame_provider_.set_frame(hw_video_frame_);
« no previous file with comments | « cc/resources/video_resource_updater.cc ('k') | content/browser/media/capture/desktop_capture_device_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698