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

Side by Side Diff: content/renderer/media/renderer_gpu_video_accelerator_factories.h

Issue 1490333005: Don't require VDAs to return all PictureBuffers at once. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ...because trybots have feelings too. Created 5 years 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef CONTENT_RENDERER_MEDIA_RENDERER_GPU_VIDEO_ACCELERATOR_FACTORIES_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_RENDERER_GPU_VIDEO_ACCELERATOR_FACTORIES_H_
6 #define CONTENT_RENDERER_MEDIA_RENDERER_GPU_VIDEO_ACCELERATOR_FACTORIES_H_ 6 #define CONTENT_RENDERER_MEDIA_RENDERER_GPU_VIDEO_ACCELERATOR_FACTORIES_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 gfx::BufferUsage usage) override; 74 gfx::BufferUsage usage) override;
75 75
76 bool ShouldUseGpuMemoryBuffersForVideoFrames() const override; 76 bool ShouldUseGpuMemoryBuffersForVideoFrames() const override;
77 unsigned ImageTextureTarget() override; 77 unsigned ImageTextureTarget() override;
78 media::VideoPixelFormat VideoFrameOutputFormat() override; 78 media::VideoPixelFormat VideoFrameOutputFormat() override;
79 scoped_ptr<media::GpuVideoAcceleratorFactories::ScopedGLContextLock> 79 scoped_ptr<media::GpuVideoAcceleratorFactories::ScopedGLContextLock>
80 GetGLContextLock() override; 80 GetGLContextLock() override;
81 scoped_ptr<base::SharedMemory> CreateSharedMemory(size_t size) override; 81 scoped_ptr<base::SharedMemory> CreateSharedMemory(size_t size) override;
82 scoped_refptr<base::SingleThreadTaskRunner> GetTaskRunner() override; 82 scoped_refptr<base::SingleThreadTaskRunner> GetTaskRunner() override;
83 83
84 std::vector<media::VideoDecodeAccelerator::SupportedProfile> 84 media::VideoDecodeAccelerator::Capabilities
85 GetVideoDecodeAcceleratorSupportedProfiles() override; 85 GetVideoDecodeAcceleratorCapabilities() override;
Pawel Osciak 2015/12/05 00:18:55 Please indent.
liberato (no reviews please) 2015/12/07 19:04:39 unfortunately, 'git cl format' will just un-indent
Pawel Osciak 2015/12/09 01:31:48 Hm, strange, GetVideoEncodeAcceleratorSupportedPro
86 std::vector<media::VideoEncodeAccelerator::SupportedProfile> 86 std::vector<media::VideoEncodeAccelerator::SupportedProfile>
87 GetVideoEncodeAcceleratorSupportedProfiles() override; 87 GetVideoEncodeAcceleratorSupportedProfiles() override;
88 88
89 void ReleaseContextProvider(); 89 void ReleaseContextProvider();
90 90
91 ~RendererGpuVideoAcceleratorFactories() override; 91 ~RendererGpuVideoAcceleratorFactories() override;
92 92
93 private: 93 private:
94 RendererGpuVideoAcceleratorFactories( 94 RendererGpuVideoAcceleratorFactories(
95 GpuChannelHost* gpu_channel_host, 95 GpuChannelHost* gpu_channel_host,
(...skipping 28 matching lines...) Expand all
124 124
125 // For sending requests to allocate shared memory in the Browser process. 125 // For sending requests to allocate shared memory in the Browser process.
126 scoped_refptr<ThreadSafeSender> thread_safe_sender_; 126 scoped_refptr<ThreadSafeSender> thread_safe_sender_;
127 127
128 DISALLOW_COPY_AND_ASSIGN(RendererGpuVideoAcceleratorFactories); 128 DISALLOW_COPY_AND_ASSIGN(RendererGpuVideoAcceleratorFactories);
129 }; 129 };
130 130
131 } // namespace content 131 } // namespace content
132 132
133 #endif // CONTENT_RENDERER_MEDIA_RENDERER_GPU_VIDEO_ACCELERATOR_FACTORIES_H_ 133 #endif // CONTENT_RENDERER_MEDIA_RENDERER_GPU_VIDEO_ACCELERATOR_FACTORIES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698