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

Unified Diff: chromecast/media/cma/filters/hole_frame_factory.h

Issue 1223793009: Fixes to Cast use of overlays for video frames (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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: chromecast/media/cma/filters/hole_frame_factory.h
diff --git a/chromecast/media/cma/filters/hole_frame_factory.h b/chromecast/media/cma/filters/hole_frame_factory.h
index 0b08cbf04b7aa4ecc8b514fc3ba141c1dd31a0b4..e817a3e93f3062dcbd6a8465dfb8c4a47e41a69e 100644
--- a/chromecast/media/cma/filters/hole_frame_factory.h
+++ b/chromecast/media/cma/filters/hole_frame_factory.h
@@ -28,8 +28,8 @@ namespace media {
// All calls (including ctor/dtor) must be on media thread.
class HoleFrameFactory {
public:
- HoleFrameFactory(const scoped_refptr<::media::GpuVideoAcceleratorFactories>&
- gpu_factories);
+ explicit HoleFrameFactory(const scoped_refptr<
+ ::media::GpuVideoAcceleratorFactories>& gpu_factories);
~HoleFrameFactory();
scoped_refptr<::media::VideoFrame> CreateHoleFrame(const gfx::Size& size);
@@ -39,6 +39,7 @@ class HoleFrameFactory {
gpu::Mailbox mailbox_;
GLuint texture_;
GLuint image_id_;
+ GLuint sync_point_;
bool use_legacy_hole_punching_;
DISALLOW_COPY_AND_ASSIGN(HoleFrameFactory);

Powered by Google App Engine
This is Rietveld 408576698