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

Unified Diff: media/cast/test/fake_gpu_video_accelerator_factories.h

Issue 175223003: HW Video: Make media::VideoFrame handle the sync point of the compositor as well as webgl (Closed) Base URL: https://git.chromium.org/chromium/src.git@master
Patch Set: Make GpuVideoAcceleratorFactories::ReadPixels() receive mailbox, instead of texture Created 6 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
Index: media/cast/test/fake_gpu_video_accelerator_factories.h
diff --git a/media/cast/test/fake_gpu_video_accelerator_factories.h b/media/cast/test/fake_gpu_video_accelerator_factories.h
index 72dfbda0a6e35b79afc76211b936e86965936101..18241712049ffa69d5295e25057f5824883f943a 100644
--- a/media/cast/test/fake_gpu_video_accelerator_factories.h
+++ b/media/cast/test/fake_gpu_video_accelerator_factories.h
@@ -39,9 +39,8 @@ class FakeGpuVideoAcceleratorFactories : public GpuVideoAcceleratorFactories {
virtual void WaitSyncPoint(uint32 sync_point) OVERRIDE {}
- virtual void ReadPixels(uint32 texture_id,
- const gfx::Rect& visible_rect,
- const SkBitmap& pixels) OVERRIDE {};
+ virtual void ReadPixels(const scoped_refptr<VideoFrame>& video_frame,
+ const SkBitmap& pixels) OVERRIDE{};
virtual scoped_ptr<VideoDecodeAccelerator> CreateVideoDecodeAccelerator(
VideoCodecProfile profile) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698