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

Unified Diff: content/renderer/media/android/stream_texture_factory.h

Issue 1417853006: gpu: introduce glSetStreamTextureSizeCHROMIUM(GLuint texture, GLint stream_id, GLsizei width, GLsiz… Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix android_webview.test failure Created 5 years, 1 month 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/renderer/media/android/stream_texture_factory.h
diff --git a/content/renderer/media/android/stream_texture_factory.h b/content/renderer/media/android/stream_texture_factory.h
index 812fd1ee25a6834506de7536e05b575fa4402a21..8934eccf756ec7b2f22c05bf2c5c034fcc10018d 100644
--- a/content/renderer/media/android/stream_texture_factory.h
+++ b/content/renderer/media/android/stream_texture_factory.h
@@ -65,13 +65,9 @@ class StreamTextureFactory : public base::RefCounted<StreamTextureFactory> {
// Creates a StreamTexture and returns its id. Sets |*texture_id| to the
// client-side id of the StreamTexture. The texture is produced into
// a mailbox so it can be shipped in a VideoFrame.
- virtual unsigned CreateStreamTexture(unsigned texture_target,
- unsigned* texture_id,
- gpu::Mailbox* texture_mailbox) = 0;
-
- // Set the streamTexture size for the given stream Id.
- virtual void SetStreamTextureSize(int32 texture_id,
- const gfx::Size& size) = 0;
+ virtual int32 CreateStreamTexture(unsigned texture_target,
+ unsigned* texture_id,
+ gpu::Mailbox* texture_mailbox) = 0;
virtual gpu::gles2::GLES2Interface* ContextGL() = 0;

Powered by Google App Engine
This is Rietveld 408576698