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

Unified Diff: content/renderer/media/media_stream_video_renderer_sink.h

Issue 1874733002: media: split GpuMemoryBufferVideoFramePool into GpuMemoryBufferVideoFrameCopier/Pool Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add GpuMemoryBufferVideoFramePoolTest Created 4 years, 8 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 | content/renderer/media/media_stream_video_renderer_sink.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/media_stream_video_renderer_sink.h
diff --git a/content/renderer/media/media_stream_video_renderer_sink.h b/content/renderer/media/media_stream_video_renderer_sink.h
index d858062a4536658c95a2fd9c77e4f995bb61d703..a60e3fb66391d0f4b2b0f42cef458496f7c75f3c 100644
--- a/content/renderer/media/media_stream_video_renderer_sink.h
+++ b/content/renderer/media/media_stream_video_renderer_sink.h
@@ -12,7 +12,7 @@
#include "content/common/media/video_capture.h"
#include "content/public/renderer/media_stream_video_sink.h"
#include "content/public/renderer/video_frame_provider.h"
-#include "media/video/gpu_memory_buffer_video_frame_pool.h"
+#include "media/video/gpu_memory_buffer_video_frame_copier.h"
#include "third_party/WebKit/public/platform/WebMediaStreamTrack.h"
#include "ui/gfx/geometry/size.h"
@@ -57,7 +57,7 @@ class CONTENT_EXPORT MediaStreamVideoRendererSink
void Play() override;
void Pause() override;
void SetGpuMemoryBufferVideoForTesting(
- media::GpuMemoryBufferVideoFramePool* gpu_memory_buffer_pool);
+ media::GpuMemoryBufferVideoFrameCopier* gpu_memory_buffer_copier);
protected:
~MediaStreamVideoRendererSink() override;
@@ -89,7 +89,8 @@ class CONTENT_EXPORT MediaStreamVideoRendererSink
const blink::WebMediaStreamTrack video_track_;
// Pool of GpuMemoryBuffers and resources used to create hardware frames.
- std::unique_ptr<media::GpuMemoryBufferVideoFramePool> gpu_memory_buffer_pool_;
+ std::unique_ptr<media::GpuMemoryBufferVideoFrameCopier>
+ gpu_memory_buffer_copier_;
const scoped_refptr<base::SingleThreadTaskRunner> media_task_runner_;
base::WeakPtrFactory<MediaStreamVideoRendererSink> weak_factory_;
« no previous file with comments | « no previous file | content/renderer/media/media_stream_video_renderer_sink.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698