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
3 // found in the LICENSE file.
5 #ifndef MEDIA_CAST_TEST_LINUX_OUTPUT_WINDOW_H_
6 #define MEDIA_CAST_TEST_LINUX_OUTPUT_WINDOW_H_
12 #include <X11/extensions/XShm.h>
16 #include "base/memory/ref_counted.h"
17 #include "base/memory/scoped_ptr.h"
27 class LinuxOutputWindow
{
29 LinuxOutputWindow(int x_pos
,
33 const std::string
& name
);
34 virtual ~LinuxOutputWindow();
36 void RenderFrame(const scoped_refptr
<media::VideoFrame
>& video_frame
);
39 void CreateWindow(int x_pos
,
43 const std::string
& name
);
46 XShmSegmentInfo shminfo_
;
55 #endif // MEDIA_CAST_TEST_LINUX_OUTPUT_WINDOW_H_