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

Side by Side Diff: content/renderer/render_thread_impl.h

Issue 2386913002: content: Remove gpu memory buffer manager from ChildThreadImpl. (Closed)
Patch Set: restore test Created 4 years, 2 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_RENDER_THREAD_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 namespace content { 98 namespace content {
99 99
100 class AppCacheDispatcher; 100 class AppCacheDispatcher;
101 class AecDumpMessageFilter; 101 class AecDumpMessageFilter;
102 class AudioInputMessageFilter; 102 class AudioInputMessageFilter;
103 class AudioMessageFilter; 103 class AudioMessageFilter;
104 class AudioRendererMixerManager; 104 class AudioRendererMixerManager;
105 class BlobMessageFilter; 105 class BlobMessageFilter;
106 class BrowserPluginManager; 106 class BrowserPluginManager;
107 class CacheStorageDispatcher; 107 class CacheStorageDispatcher;
108 class ChildGpuMemoryBufferManager;
108 class CompositorForwardingMessageFilter; 109 class CompositorForwardingMessageFilter;
109 class ContextProviderCommandBuffer; 110 class ContextProviderCommandBuffer;
110 class DBMessageFilter; 111 class DBMessageFilter;
111 class DevToolsAgentFilter; 112 class DevToolsAgentFilter;
112 class DomStorageDispatcher; 113 class DomStorageDispatcher;
113 class EmbeddedWorkerDispatcher; 114 class EmbeddedWorkerDispatcher;
114 class FrameSwapMessageQueue; 115 class FrameSwapMessageQueue;
115 class IndexedDBDispatcher; 116 class IndexedDBDispatcher;
116 class InputHandlerManager; 117 class InputHandlerManager;
117 class MediaStreamCenter; 118 class MediaStreamCenter;
(...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after
627 // This message loop should be destructed before the RenderThreadImpl 628 // This message loop should be destructed before the RenderThreadImpl
628 // shuts down Blink. 629 // shuts down Blink.
629 std::unique_ptr<base::MessageLoop> main_message_loop_; 630 std::unique_ptr<base::MessageLoop> main_message_loop_;
630 631
631 // A lazily initiated thread on which file operations are run. 632 // A lazily initiated thread on which file operations are run.
632 std::unique_ptr<base::Thread> file_thread_; 633 std::unique_ptr<base::Thread> file_thread_;
633 634
634 // May be null if overridden by ContentRendererClient. 635 // May be null if overridden by ContentRendererClient.
635 std::unique_ptr<blink::scheduler::WebThreadBase> compositor_thread_; 636 std::unique_ptr<blink::scheduler::WebThreadBase> compositor_thread_;
636 637
638 std::unique_ptr<ChildGpuMemoryBufferManager> gpu_memory_buffer_manager_;
639
637 // Utility class to provide GPU functionalities to media. 640 // Utility class to provide GPU functionalities to media.
638 // TODO(dcastagna): This should be just one scoped_ptr once 641 // TODO(dcastagna): This should be just one scoped_ptr once
639 // http://crbug.com/580386 is fixed. 642 // http://crbug.com/580386 is fixed.
640 // NOTE(dcastagna): At worst this accumulates a few bytes per context lost. 643 // NOTE(dcastagna): At worst this accumulates a few bytes per context lost.
641 ScopedVector<content::RendererGpuVideoAcceleratorFactories> gpu_factories_; 644 ScopedVector<content::RendererGpuVideoAcceleratorFactories> gpu_factories_;
642 645
643 // Thread for running multimedia operations (e.g., video decoding). 646 // Thread for running multimedia operations (e.g., video decoding).
644 std::unique_ptr<base::Thread> media_thread_; 647 std::unique_ptr<base::Thread> media_thread_;
645 648
646 // Will point to appropriate task runner after initialization, 649 // Will point to appropriate task runner after initialization,
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
740 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 743 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
741 }; 744 };
742 745
743 #if defined(COMPILER_MSVC) 746 #if defined(COMPILER_MSVC)
744 #pragma warning(pop) 747 #pragma warning(pop)
745 #endif 748 #endif
746 749
747 } // namespace content 750 } // namespace content
748 751
749 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 752 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698