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

Side by Side Diff: media/video/picture.h

Issue 7645004: Add gl.dll, compositor.dll, and surface.dll. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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 | « chrome/chrome_dll.gypi ('k') | ui/gfx/compositor/compositor.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_VIDEO_PICTURE_H_ 5 #ifndef MEDIA_VIDEO_PICTURE_H_
6 #define MEDIA_VIDEO_PICTURE_H_ 6 #define MEDIA_VIDEO_PICTURE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "ui/gfx/gl/gl_context.h"
10 #include "ui/gfx/size.h" 9 #include "ui/gfx/size.h"
11 10
12 namespace media { 11 namespace media {
13 12
14 // A picture buffer that is composed of a GLES2 texture. 13 // A picture buffer that is composed of a GLES2 texture.
15 // This is the media-namespace equivalent of PP_PictureBuffer_Dev. 14 // This is the media-namespace equivalent of PP_PictureBuffer_Dev.
16 class PictureBuffer { 15 class PictureBuffer {
17 public: 16 public:
18 PictureBuffer(int32 id, gfx::Size size, uint32 texture_id); 17 PictureBuffer(int32 id, gfx::Size size, uint32 texture_id);
19 18
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 } 60 }
62 61
63 private: 62 private:
64 int32 picture_buffer_id_; 63 int32 picture_buffer_id_;
65 int32 bitstream_buffer_id_; 64 int32 bitstream_buffer_id_;
66 }; 65 };
67 66
68 } // namespace media 67 } // namespace media
69 68
70 #endif // MEDIA_VIDEO_PICTURE_H_ 69 #endif // MEDIA_VIDEO_PICTURE_H_
OLDNEW
« no previous file with comments | « chrome/chrome_dll.gypi ('k') | ui/gfx/compositor/compositor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698