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

Unified Diff: content/browser/gpu/browser_gpu_memory_buffer_manager.h

Issue 1256613002: Add tracing for GL texture objects (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@browser_process_id
Patch Set: Nits + Service_id > client_id relationship in TextureManager 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
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..4eca147aa97c31c955762de2486052bbba41b51c 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);
+ explicit BrowserGpuMemoryBufferManager(int gpu_client_id,
reveman 2015/07/29 21:59:04 nit: 'explicit' is no longer needed
ericrk 2015/07/29 22:50:15 Done.
+ 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_;
« no previous file with comments | « content/browser/gpu/browser_gpu_channel_host_factory.cc ('k') | content/browser/gpu/browser_gpu_memory_buffer_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698