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

Unified Diff: content/renderer/render_thread_impl.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
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_thread_impl.h
diff --git a/content/renderer/render_thread_impl.h b/content/renderer/render_thread_impl.h
index 0937845ebba63a6a01c9af6558432c6e2e77cde1..508a1dc00840c1e8468225cf72b31eef4b86e161 100644
--- a/content/renderer/render_thread_impl.h
+++ b/content/renderer/render_thread_impl.h
@@ -92,6 +92,7 @@ class GpuVideoAcceleratorFactories;
}
namespace ui {
+class ContextProviderCommandBuffer;
class Gpu;
}
@@ -111,7 +112,6 @@ class BrowserPluginManager;
class CacheStorageDispatcher;
class ChildSharedBitmapManager;
class CompositorForwardingMessageFilter;
-class ContextProviderCommandBuffer;
class DBMessageFilter;
class DevToolsAgentFilter;
class DomStorageDispatcher;
@@ -380,7 +380,7 @@ class CONTENT_EXPORT RenderThreadImpl
// Returns a worker context provider that will be bound on the compositor
// thread.
- scoped_refptr<ContextProviderCommandBuffer>
+ scoped_refptr<ui::ContextProviderCommandBuffer>
SharedCompositorWorkerContextProvider();
// Causes the idle handler to skip sending idle notifications
@@ -390,7 +390,8 @@ class CONTENT_EXPORT RenderThreadImpl
media::GpuVideoAcceleratorFactories* GetGpuFactories();
- scoped_refptr<ContextProviderCommandBuffer> SharedMainThreadContextProvider();
+ scoped_refptr<ui::ContextProviderCommandBuffer>
+ SharedMainThreadContextProvider();
// AudioRendererMixerManager instance which manages renderer side mixer
// instances shared based on configured audio parameters. Lazily created on
@@ -675,11 +676,12 @@ class CONTENT_EXPORT RenderThreadImpl
scoped_refptr<StreamTextureFactory> stream_texture_factory_;
#endif
- scoped_refptr<ContextProviderCommandBuffer> shared_main_thread_contexts_;
+ scoped_refptr<ui::ContextProviderCommandBuffer> shared_main_thread_contexts_;
base::ObserverList<RenderThreadObserver> observers_;
- scoped_refptr<ContextProviderCommandBuffer> shared_worker_context_provider_;
+ scoped_refptr<ui::ContextProviderCommandBuffer>
+ shared_worker_context_provider_;
std::unique_ptr<AudioRendererMixerManager> audio_renderer_mixer_manager_;
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698