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

Unified Diff: media/tools/player_x11/x11_video_renderer.h

Issue 1053113002: Prime the landing pad for the new video rendering pipeline. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix cast. Created 5 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 | « media/tools/player_x11/player_x11.cc ('k') | media/tools/player_x11/x11_video_renderer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/tools/player_x11/x11_video_renderer.h
diff --git a/media/tools/player_x11/x11_video_renderer.h b/media/tools/player_x11/x11_video_renderer.h
deleted file mode 100644
index 11213c3832805c302d1ef0b5c1d5982b81799ef4..0000000000000000000000000000000000000000
--- a/media/tools/player_x11/x11_video_renderer.h
+++ /dev/null
@@ -1,47 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef MEDIA_TOOLS_PLAYER_X11_X11_VIDEO_RENDERER_H_
-#define MEDIA_TOOLS_PLAYER_X11_X11_VIDEO_RENDERER_H_
-
-#include <X11/Xlib.h>
-
-#include "base/basictypes.h"
-#include "base/memory/ref_counted.h"
-#include "ui/gfx/geometry/rect.h"
-#include "ui/gfx/geometry/size.h"
-
-namespace media {
-class VideoFrame;
-}
-
-class X11VideoRenderer : public base::RefCountedThreadSafe<X11VideoRenderer> {
- public:
- X11VideoRenderer(Display* display, Window window);
-
- void Paint(const scoped_refptr<media::VideoFrame>& video_frame);
-
- private:
- friend class base::RefCountedThreadSafe<X11VideoRenderer>;
- ~X11VideoRenderer();
-
- // Initializes X11 rendering for the given dimensions.
- void Initialize(gfx::Size coded_size, gfx::Rect visible_rect);
-
- Display* display_;
- Window window_;
-
- // Image in heap that contains the RGBA data of the video frame.
- XImage* image_;
-
- // Picture represents the paint target. This is a picture located
- // in the server.
- unsigned long picture_;
-
- bool use_render_;
-
- DISALLOW_COPY_AND_ASSIGN(X11VideoRenderer);
-};
-
-#endif // MEDIA_TOOLS_PLAYER_X11_X11_VIDEO_RENDERER_H_
« no previous file with comments | « media/tools/player_x11/player_x11.cc ('k') | media/tools/player_x11/x11_video_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698