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

Side by Side Diff: media/tools/player_x11/gl_video_renderer.h

Issue 13243003: Move MessageLoop to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « media/filters/gpu_video_decoder.h ('k') | media/tools/player_x11/x11_video_renderer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 MEDIA_TOOLS_PLAYER_X11_GL_VIDEO_RENDERER_H_ 5 #ifndef MEDIA_TOOLS_PLAYER_X11_GL_VIDEO_RENDERER_H_
6 #define MEDIA_TOOLS_PLAYER_X11_GL_VIDEO_RENDERER_H_ 6 #define MEDIA_TOOLS_PLAYER_X11_GL_VIDEO_RENDERER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "ui/gfx/rect.h" 10 #include "ui/gfx/rect.h"
11 #include "ui/gfx/size.h" 11 #include "ui/gfx/size.h"
12 #include "ui/gl/gl_bindings.h" 12 #include "ui/gl/gl_bindings.h"
13 13
14 class MessageLoop;
15
16 namespace media { 14 namespace media {
17 class VideoFrame; 15 class VideoFrame;
18 } 16 }
19 17
20 class GlVideoRenderer : public base::RefCountedThreadSafe<GlVideoRenderer> { 18 class GlVideoRenderer : public base::RefCountedThreadSafe<GlVideoRenderer> {
21 public: 19 public:
22 GlVideoRenderer(Display* display, Window window); 20 GlVideoRenderer(Display* display, Window window);
23 21
24 void Paint(media::VideoFrame* video_frame); 22 void Paint(media::VideoFrame* video_frame);
25 23
(...skipping 10 matching lines...) Expand all
36 // GL context. 34 // GL context.
37 GLXContext gl_context_; 35 GLXContext gl_context_;
38 36
39 // 3 textures, one for each plane. 37 // 3 textures, one for each plane.
40 GLuint textures_[3]; 38 GLuint textures_[3];
41 39
42 DISALLOW_COPY_AND_ASSIGN(GlVideoRenderer); 40 DISALLOW_COPY_AND_ASSIGN(GlVideoRenderer);
43 }; 41 };
44 42
45 #endif // MEDIA_TOOLS_PLAYER_X11_GL_VIDEO_RENDERER_H_ 43 #endif // MEDIA_TOOLS_PLAYER_X11_GL_VIDEO_RENDERER_H_
OLDNEW
« no previous file with comments | « media/filters/gpu_video_decoder.h ('k') | media/tools/player_x11/x11_video_renderer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698