| OLD | NEW |
| 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 <stdint.h> |
| 9 |
| 8 #include "gpu/command_buffer/common/mailbox.h" | 10 #include "gpu/command_buffer/common/mailbox.h" |
| 9 #include "media/base/media_export.h" | 11 #include "media/base/media_export.h" |
| 10 #include "ui/gfx/geometry/rect.h" | 12 #include "ui/gfx/geometry/rect.h" |
| 11 #include "ui/gfx/geometry/size.h" | 13 #include "ui/gfx/geometry/size.h" |
| 12 | 14 |
| 13 namespace media { | 15 namespace media { |
| 14 | 16 |
| 15 // A picture buffer that is composed of a GLES2 texture. | 17 // A picture buffer that is composed of a GLES2 texture. |
| 16 // This is the media-namespace equivalent of PP_PictureBuffer_Dev. | 18 // This is the media-namespace equivalent of PP_PictureBuffer_Dev. |
| 17 class MEDIA_EXPORT PictureBuffer { | 19 class MEDIA_EXPORT PictureBuffer { |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 private: | 84 private: |
| 83 int32_t picture_buffer_id_; | 85 int32_t picture_buffer_id_; |
| 84 int32_t bitstream_buffer_id_; | 86 int32_t bitstream_buffer_id_; |
| 85 gfx::Rect visible_rect_; | 87 gfx::Rect visible_rect_; |
| 86 bool allow_overlay_; | 88 bool allow_overlay_; |
| 87 }; | 89 }; |
| 88 | 90 |
| 89 } // namespace media | 91 } // namespace media |
| 90 | 92 |
| 91 #endif // MEDIA_VIDEO_PICTURE_H_ | 93 #endif // MEDIA_VIDEO_PICTURE_H_ |
| OLD | NEW |