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

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

Issue 10827074: Replace the explicit *VDA::Set{CGL,Egl,Glx}Context() methods with ctor params. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 5 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/omx_video_decode_accelerator.h
diff --git a/content/common/gpu/media/omx_video_decode_accelerator.h b/content/common/gpu/media/omx_video_decode_accelerator.h
index 9bfb8862aa3f9a6a2f8f1c558ebf69ea0ed92fd6..60fc63845a2e2b90edcae9ce8e5779e1569e9478 100644
--- a/content/common/gpu/media/omx_video_decode_accelerator.h
+++ b/content/common/gpu/media/omx_video_decode_accelerator.h
@@ -38,7 +38,8 @@ class CONTENT_EXPORT OmxVideoDecodeAccelerator :
public media::VideoDecodeAccelerator {
public:
// Does not take ownership of |client| which must outlive |*this|.
- OmxVideoDecodeAccelerator(media::VideoDecodeAccelerator::Client* client);
+ OmxVideoDecodeAccelerator(EGLDisplay egl_display, EGLContext egl_context,
+ media::VideoDecodeAccelerator::Client* client);
virtual ~OmxVideoDecodeAccelerator();
// media::VideoDecodeAccelerator implementation.
@@ -51,8 +52,6 @@ class CONTENT_EXPORT OmxVideoDecodeAccelerator :
void Reset() OVERRIDE;
void Destroy() OVERRIDE;
- void SetEglState(EGLDisplay egl_display, EGLContext egl_context);
-
base::WeakPtr<OmxVideoDecodeAccelerator> weak_this() { return weak_this_; }
private:
« no previous file with comments | « content/common/gpu/media/mac_video_decode_accelerator.mm ('k') | content/common/gpu/media/omx_video_decode_accelerator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698