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

Unified Diff: content/gpu/in_process_gpu_thread.h

Issue 1218783003: Revert of Revert of 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 | « content/gpu/gpu_main.cc ('k') | content/gpu/in_process_gpu_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/gpu/in_process_gpu_thread.h
diff --git a/content/gpu/in_process_gpu_thread.h b/content/gpu/in_process_gpu_thread.h
index 67ba017c54dcf01444c282303c44d4882882e6f1..37167303fd128d3d4fc96d436eb29395040770f0 100644
--- a/content/gpu/in_process_gpu_thread.h
+++ b/content/gpu/in_process_gpu_thread.h
@@ -7,11 +7,11 @@
#include "base/threading/thread.h"
#include "content/common/content_export.h"
-#include "content/common/content_export.h"
#include "content/common/in_process_child_thread_params.h"
namespace content {
+class GpuMemoryBufferFactory;
class GpuProcess;
// This class creates a GPU thread (instead of a GPU process), when running
@@ -31,6 +31,8 @@
// Deleted in CleanUp() on the gpu thread, so don't use smart pointers.
GpuProcess* gpu_process_;
+ scoped_ptr<GpuMemoryBufferFactory> gpu_memory_buffer_factory_;
+
DISALLOW_COPY_AND_ASSIGN(InProcessGpuThread);
};
« no previous file with comments | « content/gpu/gpu_main.cc ('k') | content/gpu/in_process_gpu_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698