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

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

Issue 5091005: FBTF: Remove unneeded headers from base/ (part 9) (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix win build Created 10 years, 1 month 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/tools/player_x11/gl_video_renderer.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_GLES_VIDEO_RENDERER_H_
6 #define MEDIA_TOOLS_PLAYER_X11_GL_VIDEO_RENDERER_H_ 6 #define MEDIA_TOOLS_PLAYER_X11_GLES_VIDEO_RENDERER_H_
7 7
8 #include <EGL/egl.h> 8 #include <EGL/egl.h>
9 #include <EGL/eglext.h> 9 #include <EGL/eglext.h>
10 #include <GLES2/gl2.h> 10 #include <GLES2/gl2.h>
11 #include <GLES2/gl2ext.h> 11 #include <GLES2/gl2ext.h>
12 12
13 #include "base/lock.h" 13 #include <utility>
14 #include <vector>
15
14 #include "base/scoped_ptr.h" 16 #include "base/scoped_ptr.h"
15 #include "media/base/filters.h" 17 #include "media/base/filters.h"
16 #include "media/base/video_frame.h" 18 #include "media/base/video_frame.h"
17 #include "media/filters/video_renderer_base.h" 19 #include "media/filters/video_renderer_base.h"
18 20
19 class GlesVideoRenderer : public media::VideoRendererBase { 21 class GlesVideoRenderer : public media::VideoRendererBase {
20 public: 22 public:
21 GlesVideoRenderer(Display* display, Window window, MessageLoop* message_loop); 23 GlesVideoRenderer(Display* display, Window window, MessageLoop* message_loop);
22 24
23 // This method is called to paint the current video frame to the assigned 25 // This method is called to paint the current video frame to the assigned
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 // 3 textures, one for each plane. 71 // 3 textures, one for each plane.
70 GLuint textures_[3]; 72 GLuint textures_[3];
71 73
72 MessageLoop* glx_thread_message_loop_; 74 MessageLoop* glx_thread_message_loop_;
73 static GlesVideoRenderer* instance_; 75 static GlesVideoRenderer* instance_;
74 76
75 DISALLOW_COPY_AND_ASSIGN(GlesVideoRenderer); 77 DISALLOW_COPY_AND_ASSIGN(GlesVideoRenderer);
76 }; 78 };
77 79
78 #endif // MEDIA_TOOLS_PLAYER_X11_GLES_VIDEO_RENDERER_H_ 80 #endif // MEDIA_TOOLS_PLAYER_X11_GLES_VIDEO_RENDERER_H_
OLDNEW
« no previous file with comments | « media/tools/player_x11/gl_video_renderer.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