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

Unified Diff: content/gpu/gpu_child_thread.h

Issue 1231263003: Share SyncPointManager between ipc and in-process (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove forward decl/includes Created 5 years, 5 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/common/gpu/gpu_command_buffer_stub.cc ('k') | 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 a9ed8b956c665d0be7fe80ab72fbc330233be654..242ff8115865623e413c2f7578d98e0302c41980 100644
--- a/content/gpu/gpu_child_thread.h
+++ b/content/gpu/gpu_child_thread.h
@@ -22,6 +22,10 @@
#include "gpu/config/gpu_info.h"
#include "ui/gfx/native_widget_types.h"
+namespace gpu {
+class SyncPointManager;
+}
+
namespace sandbox {
class TargetServices;
}
@@ -42,10 +46,12 @@ class GpuChildThread : public ChildThreadImpl {
bool dead_on_arrival,
const gpu::GPUInfo& gpu_info,
const DeferredMessages& deferred_messages,
- GpuMemoryBufferFactory* gpu_memory_buffer_factory);
+ GpuMemoryBufferFactory* gpu_memory_buffer_factory,
+ gpu::SyncPointManager* sync_point_manager);
GpuChildThread(const InProcessChildThreadParams& params,
- GpuMemoryBufferFactory* gpu_memory_buffer_factory);
+ GpuMemoryBufferFactory* gpu_memory_buffer_factory,
+ gpu::SyncPointManager* sync_point_manager);
~GpuChildThread() override;
@@ -88,6 +94,9 @@ class GpuChildThread : public ChildThreadImpl {
sandbox::TargetServices* target_services_;
#endif
+ // Non-owning.
+ gpu::SyncPointManager* sync_point_manager_;
+
scoped_ptr<GpuChannelManager> gpu_channel_manager_;
// Information about the GPU, such as device and vendor ID.
« no previous file with comments | « content/common/gpu/gpu_command_buffer_stub.cc ('k') | content/gpu/gpu_child_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698