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

Side by Side Diff: content/renderer/media/android/stream_texture_factory_impl.h

Issue 1844843002: android: Remove in-process video path (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove commented out code + rebase again Created 4 years, 8 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_MEDIA_ANDROID_STREAM_TEXTURE_FACTORY_IMPL_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_ANDROID_STREAM_TEXTURE_FACTORY_IMPL_H_
6 #define CONTENT_RENDERER_MEDIA_ANDROID_STREAM_TEXTURE_FACTORY_IMPL_H_ 6 #define CONTENT_RENDERER_MEDIA_ANDROID_STREAM_TEXTURE_FACTORY_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 21 matching lines...) Expand all
32 gpu::GpuChannelHost* channel); 32 gpu::GpuChannelHost* channel);
33 33
34 // StreamTextureFactory implementation. 34 // StreamTextureFactory implementation.
35 StreamTextureProxy* CreateProxy() override; 35 StreamTextureProxy* CreateProxy() override;
36 void EstablishPeer(int32_t stream_id, int player_id, int frame_id) override; 36 void EstablishPeer(int32_t stream_id, int player_id, int frame_id) override;
37 unsigned CreateStreamTexture(unsigned texture_target, 37 unsigned CreateStreamTexture(unsigned texture_target,
38 unsigned* texture_id, 38 unsigned* texture_id,
39 gpu::Mailbox* texture_mailbox) override; 39 gpu::Mailbox* texture_mailbox) override;
40 void SetStreamTextureSize(int32_t texture_id, const gfx::Size& size) override; 40 void SetStreamTextureSize(int32_t texture_id, const gfx::Size& size) override;
41 gpu::gles2::GLES2Interface* ContextGL() override; 41 gpu::gles2::GLES2Interface* ContextGL() override;
42 void AddObserver(StreamTextureFactoryContextObserver* obs) override;
43 void RemoveObserver(StreamTextureFactoryContextObserver* obs) override;
44 42
45 private: 43 private:
46 friend class base::RefCounted<StreamTextureFactoryImpl>; 44 friend class base::RefCounted<StreamTextureFactoryImpl>;
47 StreamTextureFactoryImpl( 45 StreamTextureFactoryImpl(
48 const scoped_refptr<ContextProviderCommandBuffer>& context_provider, 46 const scoped_refptr<ContextProviderCommandBuffer>& context_provider,
49 gpu::GpuChannelHost* channel); 47 gpu::GpuChannelHost* channel);
50 ~StreamTextureFactoryImpl() override; 48 ~StreamTextureFactoryImpl() override;
51 49
52 scoped_refptr<ContextProviderCommandBuffer> context_provider_; 50 scoped_refptr<ContextProviderCommandBuffer> context_provider_;
53 scoped_refptr<gpu::GpuChannelHost> channel_; 51 scoped_refptr<gpu::GpuChannelHost> channel_;
54 52
55 DISALLOW_IMPLICIT_CONSTRUCTORS(StreamTextureFactoryImpl); 53 DISALLOW_IMPLICIT_CONSTRUCTORS(StreamTextureFactoryImpl);
56 }; 54 };
57 55
58 } // namespace content 56 } // namespace content
59 57
60 #endif // CONTENT_RENDERER_MEDIA_ANDROID_STREAM_TEXTURE_FACTORY_IMPL_H_ 58 #endif // CONTENT_RENDERER_MEDIA_ANDROID_STREAM_TEXTURE_FACTORY_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/media/android/stream_texture_factory.h ('k') | content/renderer/media/android/stream_texture_factory_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698