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

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

Issue 2584363002: gpu: Move ContextProviderCommandBuffer into mus gpu client-lib. (Closed)
Patch Set: tot merge Created 4 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/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 ca3a61302ab6527dc984571350e2caf599e80773..1d90785720474d98bcace05689a76ee20bb021af 100644
--- a/content/renderer/media/android/stream_texture_factory.h
+++ b/content/renderer/media/android/stream_texture_factory.h
@@ -26,9 +26,12 @@ class GLES2Interface;
class GpuChannelHost;
} // namespace gpu
+namespace ui {
+class ContextProviderCommandBuffer;
+}
+
namespace content {
-class ContextProviderCommandBuffer;
class StreamTextureFactory;
// The proxy class for the gpu thread to notify the compositor thread
@@ -90,7 +93,7 @@ class CONTENT_EXPORT StreamTextureFactory
: public base::RefCounted<StreamTextureFactory> {
public:
static scoped_refptr<StreamTextureFactory> Create(
- scoped_refptr<ContextProviderCommandBuffer> context_provider);
+ scoped_refptr<ui::ContextProviderCommandBuffer> context_provider);
// Create the StreamTextureProxy object. This internally calls
// CreateSteamTexture with the recieved arguments. CreateSteamTexture
@@ -109,7 +112,7 @@ class CONTENT_EXPORT StreamTextureFactory
private:
friend class base::RefCounted<StreamTextureFactory>;
StreamTextureFactory(
- scoped_refptr<ContextProviderCommandBuffer> context_provider);
+ scoped_refptr<ui::ContextProviderCommandBuffer> context_provider);
~StreamTextureFactory();
// Creates a gpu::StreamTexture and returns its id. Sets |*texture_id| to the
// client-side id of the gpu::StreamTexture. The texture is produced into
@@ -118,7 +121,7 @@ class CONTENT_EXPORT StreamTextureFactory
unsigned* texture_id,
gpu::Mailbox* texture_mailbox);
- scoped_refptr<ContextProviderCommandBuffer> context_provider_;
+ scoped_refptr<ui::ContextProviderCommandBuffer> context_provider_;
scoped_refptr<gpu::GpuChannelHost> channel_;
DISALLOW_IMPLICIT_CONSTRUCTORS(StreamTextureFactory);
« no previous file with comments | « content/renderer/gpu/renderer_compositor_frame_sink.cc ('k') | content/renderer/media/android/stream_texture_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698