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

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

Issue 775863005: gpu: Make GPU command decoder know right format of a GPU video texture in Win. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: dxva_video_decode_accelerator.cc to fetch BGRA Created 6 years 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/dxva_video_decode_accelerator.h
diff --git a/content/common/gpu/media/dxva_video_decode_accelerator.h b/content/common/gpu/media/dxva_video_decode_accelerator.h
index c544cf67e4e4dabda5f4b9de532369f5262ed67c..996978fb99674df5874f129bfc4793187be97892 100644
--- a/content/common/gpu/media/dxva_video_decode_accelerator.h
+++ b/content/common/gpu/media/dxva_video_decode_accelerator.h
@@ -65,6 +65,8 @@ class CONTENT_EXPORT DXVAVideoDecodeAccelerator
virtual void Destroy() override;
virtual bool CanDecodeOnIOThread() override;
+ unsigned GetSufaceInternalFormat() const;
Ken Russell (switch to Gerrit) 2014/12/05 20:53:43 typo: should be GetSurfaceInternalFormat
dshwang 2014/12/08 13:47:28 Oops, thx. Done.
+
private:
typedef void* EGLConfig;
typedef void* EGLSurface;

Powered by Google App Engine
This is Rietveld 408576698