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

Unified Diff: content/gpu/gpu_child_thread.h

Issue 1221473003: content: Fix single process support for native GpuMemoryBuffers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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 | « no previous file | content/gpu/gpu_child_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/gpu/gpu_child_thread.h
diff --git a/content/gpu/gpu_child_thread.h b/content/gpu/gpu_child_thread.h
index 3993e51e627f8a3bea7688143efb9b4d66657719..a9ed8b956c665d0be7fe80ab72fbc330233be654 100644
--- a/content/gpu/gpu_child_thread.h
+++ b/content/gpu/gpu_child_thread.h
@@ -44,10 +44,13 @@ class GpuChildThread : public ChildThreadImpl {
const DeferredMessages& deferred_messages,
GpuMemoryBufferFactory* gpu_memory_buffer_factory);
- explicit GpuChildThread(const InProcessChildThreadParams& params);
+ GpuChildThread(const InProcessChildThreadParams& params,
+ GpuMemoryBufferFactory* gpu_memory_buffer_factory);
~GpuChildThread() override;
+ static gfx::GpuMemoryBufferType GetGpuMemoryBufferFactoryType();
+
void Shutdown() override;
void Init(const base::Time& process_start_time);
« no previous file with comments | « no previous file | content/gpu/gpu_child_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698