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

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

Issue 24152009: Allow rendering from non-stream GL_TEXTURE_EXTERNAL_OES (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@git-svn
Patch Set: 2f43c724 Texture size tracking. Created 7 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/gpu_video_decode_accelerator.h
diff --git a/content/common/gpu/media/gpu_video_decode_accelerator.h b/content/common/gpu/media/gpu_video_decode_accelerator.h
index 77946bc59a2083aac7ef4f4956716fd24d6f74f2..2e63788c62b03d89a8bc891b612d3ec76b5101ec 100644
--- a/content/common/gpu/media/gpu_video_decode_accelerator.h
+++ b/content/common/gpu/media/gpu_video_decode_accelerator.h
@@ -15,6 +15,7 @@
#include "ipc/ipc_listener.h"
#include "ipc/ipc_sender.h"
#include "media/video/video_decode_accelerator.h"
+#include "ui/gfx/size.h"
namespace base {
class MessageLoopProxy;
@@ -101,6 +102,9 @@ class GpuVideoDecodeAccelerator
// Returns false if failed.
base::Callback<bool(void)> make_context_current_;
+ // The texture dimensions as requested by ProvidePictureBuffers().
+ gfx::Size texture_dimensions_;
+
// The texture target as requested by ProvidePictureBuffers().
uint32 texture_target_;

Powered by Google App Engine
This is Rietveld 408576698