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

Unified Diff: content/common/gpu/media/vaapi_video_encode_accelerator.h

Issue 490233002: VaapiVideoAccelerator: make Vaapi accelerator work with ozone (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Don't limit h264_bitstream_buffer_unittest to x11 Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: content/common/gpu/media/vaapi_video_encode_accelerator.h
diff --git a/content/common/gpu/media/vaapi_video_encode_accelerator.h b/content/common/gpu/media/vaapi_video_encode_accelerator.h
index 8a7811a3ec7808fcf3c352550b717591280823f6..cf2f524628f9795566055868ce0d02d25fc0dcb9 100644
--- a/content/common/gpu/media/vaapi_video_encode_accelerator.h
+++ b/content/common/gpu/media/vaapi_video_encode_accelerator.h
@@ -17,6 +17,10 @@
#include "media/filters/h264_bitstream_buffer.h"
#include "media/video/video_encode_accelerator.h"
+namespace gfx {
+class GLContext;
+}; // namespace gfx
Pawel Osciak 2014/09/24 11:27:12 Unused.
llandwerlin-old 2014/10/02 14:14:23 Acknowledged.
+
namespace content {
// A VideoEncodeAccelerator implementation that uses VA-API
@@ -25,7 +29,7 @@ namespace content {
class CONTENT_EXPORT VaapiVideoEncodeAccelerator
: public media::VideoEncodeAccelerator {
public:
- explicit VaapiVideoEncodeAccelerator(Display* x_display);
+ explicit VaapiVideoEncodeAccelerator();
Pawel Osciak 2014/09/24 11:27:12 No need for explicit anymore.
llandwerlin-old 2014/10/02 14:14:23 Acknowledged.
virtual ~VaapiVideoEncodeAccelerator();
// media::VideoEncodeAccelerator implementation.
@@ -179,8 +183,6 @@ class CONTENT_EXPORT VaapiVideoEncodeAccelerator
// Size in bytes required for input bitstream buffers.
size_t output_buffer_byte_size_;
- Display* x_display_;
-
// All of the members below must be accessed on the encoder_thread_,
// while it is running.

Powered by Google App Engine
This is Rietveld 408576698