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

Side by Side Diff: media/cast/test/fake_gpu_video_accelerator_factories.cc

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: Add WaitSyncPoint in WMPImpl::paint(...) 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "media/cast/test/fake_gpu_video_accelerator_factories.h" 5 #include "media/cast/test/fake_gpu_video_accelerator_factories.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "media/cast/test/fake_video_encode_accelerator.h" 8 #include "media/cast/test/fake_video_encode_accelerator.h"
9 #include "media/video/video_decode_accelerator.h" 9 #include "media/video/video_decode_accelerator.h"
10 10
(...skipping 28 matching lines...) Expand all
39 39
40 uint32 FakeGpuVideoAcceleratorFactories::CreateTextures( 40 uint32 FakeGpuVideoAcceleratorFactories::CreateTextures(
41 int32 count, 41 int32 count,
42 const gfx::Size& size, 42 const gfx::Size& size,
43 std::vector<uint32>* texture_ids, 43 std::vector<uint32>* texture_ids,
44 std::vector<gpu::Mailbox>* texture_mailboxes, 44 std::vector<gpu::Mailbox>* texture_mailboxes,
45 uint32 texture_target) { 45 uint32 texture_target) {
46 return 0; 46 return 0;
47 } 47 }
48 48
49 uint32 FakeGpuVideoAcceleratorFactories::InsertSyncPoint() {
50 return 0;
51 }
52
49 scoped_ptr<VideoDecodeAccelerator> 53 scoped_ptr<VideoDecodeAccelerator>
50 FakeGpuVideoAcceleratorFactories::CreateVideoDecodeAccelerator( 54 FakeGpuVideoAcceleratorFactories::CreateVideoDecodeAccelerator(
51 VideoCodecProfile profile) { 55 VideoCodecProfile profile) {
52 return scoped_ptr<VideoDecodeAccelerator>( 56 return scoped_ptr<VideoDecodeAccelerator>(
53 static_cast<media::VideoDecodeAccelerator*>(NULL)); 57 static_cast<media::VideoDecodeAccelerator*>(NULL));
54 } 58 }
55 59
56 } // namespace test 60 } // namespace test
57 } // namespace cast 61 } // namespace cast
58 } // namespace media 62 } // namespace media
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698