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

Unified Diff: content/child/child_thread.h

Issue 634083002: gpu: Compositor management of GpuMemoryBuffer instances. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cc-pre-chromium-image-refactor
Patch Set: rebase Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/child/child_gpu_memory_buffer_manager.cc ('k') | content/child/child_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/child_thread.h
diff --git a/content/child/child_thread.h b/content/child/child_thread.h
index d7d372d6da6ab6c69b516a834667c7eacd90dbfd..f48c688985045b4d813a2b4fc25a483d4fd0920e 100644
--- a/content/child/child_thread.h
+++ b/content/child/child_thread.h
@@ -36,6 +36,7 @@ class WebFrame;
} // namespace blink
namespace content {
+class ChildGpuMemoryBufferManager;
class ChildHistogramMessageFilter;
class ChildResourceMessageFilter;
class ChildSharedBitmapManager;
@@ -97,6 +98,10 @@ class CONTENT_EXPORT ChildThread : public IPC::Listener, public IPC::Sender {
return shared_bitmap_manager_.get();
}
+ ChildGpuMemoryBufferManager* gpu_memory_buffer_manager() const {
+ return gpu_memory_buffer_manager_.get();
+ }
+
ResourceDispatcher* resource_dispatcher() const {
return resource_dispatcher_.get();
}
@@ -242,6 +247,8 @@ class CONTENT_EXPORT ChildThread : public IPC::Listener, public IPC::Sender {
scoped_ptr<ChildSharedBitmapManager> shared_bitmap_manager_;
+ scoped_ptr<ChildGpuMemoryBufferManager> gpu_memory_buffer_manager_;
+
// Observes the trace event system. When tracing is enabled, optionally
// starts profiling the tcmalloc heap.
scoped_ptr<base::debug::TraceMemoryController> trace_memory_controller_;
« no previous file with comments | « content/child/child_gpu_memory_buffer_manager.cc ('k') | content/child/child_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698