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

Unified Diff: content/renderer/media/android/stream_texture_factory_synchronous_impl.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_synchronous_impl.h
diff --git a/content/renderer/media/android/stream_texture_factory_synchronous_impl.h b/content/renderer/media/android/stream_texture_factory_synchronous_impl.h
index 1e2db8a539cc6bb0906052071fb3f8cbf75b595b..8f1c3c5e5a844460a15a47170d6bf7e117f118bc 100644
--- a/content/renderer/media/android/stream_texture_factory_synchronous_impl.h
+++ b/content/renderer/media/android/stream_texture_factory_synchronous_impl.h
@@ -28,7 +28,7 @@ class StreamTextureFactorySynchronousImpl : public StreamTextureFactory {
class ContextProvider : public base::RefCountedThreadSafe<ContextProvider> {
public:
virtual scoped_refptr<gfx::SurfaceTexture> GetSurfaceTexture(
- uint32 stream_id) = 0;
+ int32 stream_id) = 0;
virtual gpu::gles2::GLES2Interface* ContextGL() = 0;
@@ -49,10 +49,9 @@ class StreamTextureFactorySynchronousImpl : public StreamTextureFactory {
StreamTextureProxy* CreateProxy() override;
void EstablishPeer(int32 stream_id, int player_id) override;
- unsigned CreateStreamTexture(unsigned texture_target,
- unsigned* texture_id,
- gpu::Mailbox* texture_mailbox) override;
- void SetStreamTextureSize(int32 stream_id, const gfx::Size& size) override;
+ int32 CreateStreamTexture(unsigned texture_target,
+ unsigned* texture_id,
+ gpu::Mailbox* texture_mailbox) override;
gpu::gles2::GLES2Interface* ContextGL() override;
void AddObserver(StreamTextureFactoryContextObserver* obs) override;
void RemoveObserver(StreamTextureFactoryContextObserver* obs) override;

Powered by Google App Engine
This is Rietveld 408576698