| Index: content/browser/gpu/browser_gpu_memory_buffer_manager.h
|
| diff --git a/content/browser/gpu/browser_gpu_memory_buffer_manager.h b/content/browser/gpu/browser_gpu_memory_buffer_manager.h
|
| index 6a3d13bb278f9209811d489e2c020d159e16fd10..f9adb4d33395b11ce8ac5f9d4a7e5bb1f526ecc0 100644
|
| --- a/content/browser/gpu/browser_gpu_memory_buffer_manager.h
|
| +++ b/content/browser/gpu/browser_gpu_memory_buffer_manager.h
|
| @@ -22,7 +22,8 @@ class CONTENT_EXPORT BrowserGpuMemoryBufferManager
|
| typedef base::Callback<void(const gfx::GpuMemoryBufferHandle& handle)>
|
| AllocationCallback;
|
|
|
| - explicit BrowserGpuMemoryBufferManager(int gpu_client_id);
|
| + BrowserGpuMemoryBufferManager(int gpu_client_id,
|
| + uint64_t gpu_client_tracing_id);
|
| ~BrowserGpuMemoryBufferManager() override;
|
|
|
| static BrowserGpuMemoryBufferManager* current();
|
| @@ -121,10 +122,13 @@ class CONTENT_EXPORT BrowserGpuMemoryBufferManager
|
| int client_id,
|
| uint32 sync_point);
|
|
|
| + uint64_t ClientIdToTracingProcessId(int client_id) const;
|
| +
|
| const gfx::GpuMemoryBufferType factory_type_;
|
| const std::vector<GpuMemoryBufferFactory::Configuration>
|
| supported_configurations_;
|
| const int gpu_client_id_;
|
| + const uint64_t gpu_client_tracing_id_;
|
|
|
| // The GPU process host ID. This should only be accessed on the IO thread.
|
| int gpu_host_id_;
|
|
|