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

Unified Diff: content/child/child_thread.cc

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_thread.h ('k') | content/common/child_process_host_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/child_thread.cc
diff --git a/content/child/child_thread.cc b/content/child/child_thread.cc
index e774929465f80b78ef733de54ec2b45cb6a666bd..e8d6591ae75fe364d20cb4ce8b6b966e638c735b 100644
--- a/content/child/child_thread.cc
+++ b/content/child/child_thread.cc
@@ -26,6 +26,7 @@
#include "base/threading/thread_local.h"
#include "base/tracked_objects.h"
#include "components/tracing/child_trace_message_filter.h"
+#include "content/child/child_gpu_memory_buffer_manager.h"
#include "content/child/child_histogram_message_filter.h"
#include "content/child/child_process.h"
#include "content/child/child_resource_message_filter.h"
@@ -360,6 +361,9 @@ void ChildThread::Init(const Options& options) {
shared_bitmap_manager_.reset(
new ChildSharedBitmapManager(thread_safe_sender()));
+
+ gpu_memory_buffer_manager_.reset(
+ new ChildGpuMemoryBufferManager(thread_safe_sender()));
}
ChildThread::~ChildThread() {
« no previous file with comments | « content/child/child_thread.h ('k') | content/common/child_process_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698