OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 // This file contains an implementation of picture allocation for the | 5 // This file contains an implementation of picture allocation for the |
6 // X11 window system used by VaapiVideoDecodeAccelerator to produce | 6 // X11 window system used by VaapiVideoDecodeAccelerator to produce |
7 // output pictures. | 7 // output pictures. |
8 | 8 |
9 #ifndef CONTENT_COMMON_GPU_MEDIA_VAAPI_TFP_PICTURE_H_ | 9 #ifndef CONTENT_COMMON_GPU_MEDIA_VAAPI_TFP_PICTURE_H_ |
10 #define CONTENT_COMMON_GPU_MEDIA_VAAPI_TFP_PICTURE_H_ | 10 #define CONTENT_COMMON_GPU_MEDIA_VAAPI_TFP_PICTURE_H_ |
11 | 11 |
12 #include "base/callback.h" | 12 #include "base/callback.h" |
13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
14 #include "content/common/gpu/media/vaapi_picture.h" | 14 #include "content/common/gpu/media/vaapi_picture.h" |
15 #include "ui/gfx/size.h" | 15 #include "ui/gfx/geometry/size.h" |
16 #include "ui/gl/gl_bindings.h" | 16 #include "ui/gl/gl_bindings.h" |
17 | 17 |
18 namespace gfx { | 18 namespace gfx { |
19 class GLImageGLX; | 19 class GLImageGLX; |
20 class GLContextGLX; | 20 class GLContextGLX; |
21 } | 21 } |
22 | 22 |
23 namespace content { | 23 namespace content { |
24 | 24 |
25 class VaapiWrapper; | 25 class VaapiWrapper; |
(...skipping 21 matching lines...) Expand all Loading... |
47 | 47 |
48 Pixmap x_pixmap_; | 48 Pixmap x_pixmap_; |
49 scoped_refptr<gfx::GLImageGLX> glx_image_; | 49 scoped_refptr<gfx::GLImageGLX> glx_image_; |
50 | 50 |
51 DISALLOW_COPY_AND_ASSIGN(VaapiTFPPicture); | 51 DISALLOW_COPY_AND_ASSIGN(VaapiTFPPicture); |
52 }; | 52 }; |
53 | 53 |
54 } // namespace content | 54 } // namespace content |
55 | 55 |
56 #endif // CONTENT_COMMON_GPU_MEDIA_VAAPI_TFP_PICTURE_H_ | 56 #endif // CONTENT_COMMON_GPU_MEDIA_VAAPI_TFP_PICTURE_H_ |
OLD | NEW |